Function at 0x442270
Capabilities:
Create thread
Delete file
Get file size
Hash data using sha1
Move file
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4741e3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov edx, dword [ebx + 8]
mov ecx, edx
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x110], eax
xor eax, eax
mov dword [ebp - 0xf0], 0
lea edi, [ecx + 2]
mov byte [ebp - 0xfd], 1
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442300
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xf0]
call fcn.00411b40
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442350
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.00411b40
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 1
test esi, esi
je 0x44239b
cmp byte [esi + 0x28], 0
mov dword [esi + 0x2c], 1
jne 0x44239b
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x20]
call fcn.00444920
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
push 0xc
call fcn.004511c8
add esp, 4
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov byte [eax + 4], 0
add eax, 8
push 0x18
mov dword [ebp - 0x138], eax
mov dword [eax], 0
call fcn.004511c8
mov edi, eax
add esp, 4
mov dword [ebp - 0x124], edi
mov byte [ebp - 4], 3
lea esi, [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x134], esi
movups xmmword [edi], xmm0
push 8
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004511c8
add esp, 4
mov dword [eax + 4], 0
push 0
push 1
push 1
mov dword [esi], eax
push 0
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ecx, dword [ebp - 0x138]
mov dword [edi], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x120]
mov dword [eax], edi
mov byte [eax + 4], 0
xor eax, eax
xchg dword [ecx], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 8
push 0x10
call fcn.004511c8
add esp, 4
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x120]
mov dword [eax + 4], str.CloseHandleWorker
push 0
push 0
push eax
push 0x4191d0
push 0
push 0
mov dword [eax], vtable.Util::MethodThreadAdapter_struct_AsyncCloseHandle__unsigned_char____cdecl_AsyncCloseHandle::__int__void__.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x441f80
call edi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x138]
mov eax, 1
lock xadd dword [ecx], eax
sub esi, 1
jne 0x442464
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 8
cmovae ecx, dword [ebp - 0x90]
call fcn.00418b20
mov edi, dword [ebp - 0x104]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xfc], esi
mov eax, dword [edi]
test eax, eax
je 0x442509
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0xfc]
push 1
push ecx
mov dword [eax + 8], esi
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
call fcn.00419d10
mov dword [ebp - 0x78], eax
jmp 0x442524
push 0
lea eax, [ebp - 0x78]
push eax
push 1
lea eax, [ebp - 0xfc]
push eax
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x442553
mov dword [0x4d2eac], 0x20
mov dword [0x4d1a44], 0x4ca050
mov dword [0x4d2eb0], 0x14b
mov byte [ebp - 0xfd], 0
jmp 0x443745
push 0x40
call fcn.004511c8
add esp, 4
mov esi, eax
mov dword [ebp - 0x124], esi
push 0x40
push 0
push esi
call fcn.00452b60
add esp, 0xc
mov ecx, esi
push dword [ebp - 0xfc]
call fcn.00448b30
mov esi, eax
mov dword [ebp - 0x130], esi
cmp dword [esi + 0x10], 1
jne 0x4425c6
movq xmm0, qword [0x4a973c]
sub esp, 0xc
mov eax, dword [0x4a9744]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.00449c10
add esp, 0xc
mov dword [esi + 0x18], eax
test eax, eax
je 0x4425cf
mov ecx, eax
call fcn.0044cae0
mov dword [esi + 0x1c], eax
cmp eax, 0xffffff88
ja 0x4425cf
jmp 0x4425cb
mov eax, dword [esi]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x14], 0
mov eax, dword [edi + 0x20]
mov byte [ebp - 0x139], 0
mov esi, dword [eax]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x4436f9
nop word [eax + eax]
mov ecx, dword [esi + 0x14]
cmp dword [ecx + 0x2c], 8
lea edi, [ecx + 0x18]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x128], eax
mov eax, edi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x118], edi
jb 0x442615
mov eax, dword [edi]
cmp dword [ebp - 0xdc], 8
lea edx, [ebp - 0xf0]
push eax
cmovae edx, dword [ebp - 0xf0]
lea ecx, [ebp - 0x74]
call fcn.004185a0
add esp, 4
mov byte [ebp - 4], 4
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x442643
mov eax, dword [edi]
cmp dword [ebp - 0x7c], 8
lea edx, [ebp - 0x90]
push eax
cmovae edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x5c]
call fcn.004185a0
add esp, 4
mov ecx, dword [ebp - 0x10c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x108], 0
mov eax, dword [ecx + 0x58]
dec eax
cmp eax, 5
ja case.0x442681.4
jmp dword [eax*4 + 0x44393c]
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x170]
cmovae edx, dword [ebp - 0x5c]
call fcn.00418480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x170]
cmp dword [ebp - 0x15c], 8
cmovae ecx, dword [ebp - 0x170]
call fcn.00418b20
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x15c]
cmp edx, 8
jb 0x4426ff
mov ecx, dword [ebp - 0x170]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4426f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0x160], 0
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x15c], 7
mov word [ebp - 0x170], ax
jb 0x44272c
mov eax, dword [ebp - 0x5c]
mov ecx, eax
jmp 0x44272f
lea eax, [ebp - 0x5c]
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push 0x40000000
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x118], eax
cmp eax, 0xffffffff
je 0x443833
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x5c]
sub eax, 0
je 0x442956
sub eax, 1
jne 0x442b49
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
test eax, eax
jne 0x4427c6
push 0xc
call fcn.004511c8
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x108], ecx
mov eax, dword [eax + 0x24]
mov dword [ecx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 8], 0
jmp 0x4427d0
mov eax, dword [eax + 0xc]
mov dword [eax + 8], 0
push 0x24
call fcn.004511c8
mov ecx, dword [ebp - 0x118]
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x12c], eax
mov dword [eax + 0x20], 0
push 0
push 0
mov dword [eax + 4], 0
mov dword [eax], ecx
mov dword [eax + 8], 0
push 0
movups xmmword [eax + 0xc], xmm0
push 0
mov dword [eax + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x12c]
push 0x5c
push 1
mov dword [ecx + 0x1c], eax
call fcn.00454560
mov ecx, dword [ebp - 0x12c]
mov edx, 0x419bd0
push dword [ebp - 0x110]
mov dword [ecx + 0x20], eax
mov ecx, 0x419b60
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
test eax, eax
cmovne ecx, edx
mov edx, dword [ebp - 0x108]
cmovne edx, eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 0x419de0
push dword [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.00449360
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x1a0]
add esp, 0x20
push eax
call fcn.00419eb0
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
push eax
call fcn.00432530
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb 0x44290e
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442904
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x12c]
push dword [eax + 0x20]
call fcn.004605b8
add esp, 4
push 0x24
push dword [ebp - 0x12c]
jmp 0x442b21
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
test eax, eax
jne 0x442997
push 0xc
call fcn.004511c8
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x108], ecx
mov eax, dword [eax + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [ecx], 0
mov dword [ecx + 8], eax
jmp 0x4429a3
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x110]
mov dword [eax + 8], ecx
push 0x24
call fcn.004511c8
mov ecx, dword [ebp - 0x118]
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x11c], eax
mov dword [eax], ecx
mov ecx, dword [ebp - 0x110]
push 0
push 0
mov dword [eax + 0x20], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
push 0
movups xmmword [eax + 0xc], xmm0
push 0
mov dword [eax + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x11c]
push 0x5c
push 1
mov dword [ecx + 0x1c], eax
call fcn.00454560
mov ecx, dword [ebp - 0x11c]
add esp, 8
mov edx, 0x419b60
mov dword [ecx + 0x20], eax
mov ecx, 0x419bd0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
test eax, eax
cmovne edx, ecx
mov ecx, dword [ebp - 0x108]
cmovne ecx, eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 0x419de0
push dword [ebp - 0x11c]
push edx
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.00448bf0
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x1b8]
push eax
call fcn.00419eb0
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
call fcn.00432530
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1a4]
cmp edx, 0x10
jb 0x442ade
mov ecx, dword [ebp - 0x1b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442ad4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x11c]
push dword [eax + 0x20]
call fcn.004605b8
add esp, 4
push 0x24
push dword [ebp - 0x11c]
call fcn.00451449
mov eax, dword [ebp - 0x104]
add esp, 8
cmp dword [eax], 0
jne 0x442b49
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x442b49
push 0xc
push eax
call fcn.00451449
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x124], esp
push 0
push 0x47c32c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00411b40
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push 0
push 0x47c32c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00411b40
push dword [ebp - 0x118]
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 4], 5
call fcn.00441de0
cmp dword [edi + 0x14], 8
jb 0x442bba
mov edi, dword [edi]
mov ecx, 0x46
jmp 0x443612
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
call fcn.00418b20
cmp dword [edi + 0x14], 8
jb 0x442bdc
mov edi, dword [edi]
mov ecx, 0x44
jmp 0x443612
push dword [ecx + 0x50]
push 1
call fcn.00454560
mov edi, dword [ebp - 0x104]
add esp, 8
mov dword [ebp - 0x114], eax
mov eax, dword [edi]
test eax, eax
jne 0x442c34
push 0xc
call fcn.004511c8
mov ecx, eax
add esp, 4
mov dword [ebp - 0x124], ecx
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x108], ecx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [ecx], 0
mov dword [ecx + 8], eax
jmp 0x442c40
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x110]
mov dword [eax + 8], ecx
push 0x1c
call fcn.004511c8
mov ecx, dword [ebp - 0x114]
mov edi, eax
mov eax, dword [ebp - 0x10c]
add esp, 4
mov dword [ebp - 0x124], edi
mov edx, 0x419b60
mov eax, dword [eax + 0x50]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [edi + 4], ecx
mov ecx, 0x419bd0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov eax, dword [eax]
test eax, eax
cmovne edx, ecx
mov ecx, dword [ebp - 0x108]
cmovne ecx, eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 0x419f50
push edi
push edx
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.00448bf0
push 0x1c
push edi
call fcn.00451449
mov eax, dword [ebp - 0x104]
add esp, 8
cmp dword [eax], 0
jne 0x442cf3
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x442cf3
push 0xc
push eax
call fcn.00451449
add esp, 8
cmp byte [ebx + 0x10], 0
je 0x442d3d
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x442d3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
push eax
call fcn.00411b40
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x74]
mov edi, dword [ebp - 0x114]
lea ecx, [ebp - 0x1d0]
add edi, 0xffffffd8
mov eax, dword [eax + 0x50]
add edi, eax
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x44]
push eax
cmovae edx, dword [ebp - 0x74]
mov dword [ebp - 0x108], edi
call fcn.0041d2b0
mov edx, dword [ebp - 0x1bc]
add esp, 4
cmp edx, 0x10
jb 0x442dae
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442da4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, edi
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0xf
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x1d0], 0
mov edi, 0x10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x442de8
add ecx, 4
add edx, 4
sub edi, 4
jae 0x442dd3
mov al, 1
jmp 0x442dea
xor al, al
mov byte [ebp - 0xfd], al
test al, al
jne 0x442e4e
mov ecx, dword [ebp - 0x114]
call fcn.004449b0
mov edi, dword [ebp - 0x110]
mov ecx, eax
test edi, edi
je 0x442e1a
mov eax, dword [edi]
push 0
push edx
push ecx
push 0
push 0
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x118]
cmp dword [edi + 0x14], 8
jb 0x442e28
mov edi, dword [edi]
mov edx, edi
mov ecx, 0x70
call fcn.00441530
push dword [ebp - 0x114]
call fcn.004605b8
add esp, 4
mov byte [ebp - 0xfd], 1
jmp case.0x442681.4
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0xc0]
cmovae edx, dword [ebp - 0x5c]
call fcn.00418480
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
cmovae ecx, dword [ebp - 0xc0]
call fcn.00418b20
mov ecx, dword [ebp - 0x4c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0xc
jb 0x443935
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0xc
cmovae eax, dword [ebp - 0x5c]
push str..patched.tmp
push ecx
push eax
push ecx
push dword [ebp - 0x124]
lea ecx, [ebp - 0xa8]
call fcn.00413db0
push 0
push 0
push 3
push 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
push 3
cmovae eax, dword [ebp - 0x74]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x124], edi
cmp edi, 0xffffffff
jne 0x442fb7
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x442f34
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442f2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
cmp edx, 8
jb 0x442f95
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442f8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
jmp case.0x442681.4
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push 0
cmovae eax, dword [ebp - 0xa8]
push 0
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10c], eax
cmp eax, 0xffffffff
je 0x4431bd
lea eax, [ebp - 0xf8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x443022
cmp dword [ebp - 0xf4], 0
jl 0x443022
jg 0x443019
cmp dword [ebp - 0xf8], 0x6400000
jb 0x443022
mov byte [ebp - 0x134], 0
jmp 0x443029
mov byte [ebp - 0x134], 1
push dword [ebp - 0x110]
mov eax, dword [ebp - 0x114]
push dword [ebp - 0x134]
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x158]
mov ecx, edi
push eax
call fcn.00448300
mov edx, dword [ebp - 0x108]
lea ecx, [ebp - 0x2c]
add esp, 0x14
mov byte [ebp - 0xfd], al
add edx, 0x14
mov edi, 0x10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x443087
add ecx, 4
add edx, 4
sub edi, 4
jae 0x443074
jmp 0x44308e
mov byte [ebp - 0xfd], 0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1e8]
call fcn.0041d430
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
push eax
call fcn.00432530
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x1d4]
cmp edx, 0x10
jb 0x4430e8
mov ecx, dword [ebp - 0x1e8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4430de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
push dword [ebp - 0x124]
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0xf
mov byte [ebp - 0x1e8], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
cmp byte [ebp - 0xfd], 0
mov ecx, esp
mov dword [ebp - 0x124], esp
je 0x443143
lea eax, [ebp - 0x5c]
push eax
call fcn.00411780
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xa8]
mov ecx, esp
push eax
call fcn.00411780
jmp 0x44318c
push 0
push 0x47c32c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00411b40
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
push 0
push 0x47c32c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00411b40
push dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 4], 0xb
call fcn.00441de0
mov edi, dword [ebp - 0x118]
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x4431b1
mov edx, dword [edi]
mov ecx, 0x50
call fcn.00441530
jmp 0x4431d1
push edi
mov byte [ebp - 0xfd], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x118]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x443215
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44320b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
cmp edx, 8
jb 0x443276
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44326c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
cmp byte [ebp - 0xfd], al
jne 0x442e34
jmp 0x442e20
push dword [ecx + 0x50]
push 1
call fcn.00454560
mov edi, dword [ebp - 0x104]
add esp, 8
mov dword [ebp - 0x114], eax
mov eax, dword [edi]
test eax, eax
jne 0x4432f2
push 0xc
call fcn.004511c8
mov ecx, eax
add esp, 4
mov dword [ebp - 0x124], ecx
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x108], ecx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [ecx], 0
mov dword [ecx + 8], eax
jmp 0x4432fe
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x110]
mov dword [eax + 8], ecx
push 0x1c
call fcn.004511c8
mov ecx, dword [ebp - 0x114]
mov edi, eax
mov eax, dword [ebp - 0x10c]
add esp, 4
mov dword [ebp - 0x124], edi
mov edx, 0x419b60
mov eax, dword [eax + 0x50]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x104]
mov dword [edi + 4], ecx
mov ecx, 0x419bd0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov eax, dword [eax]
test eax, eax
cmovne edx, ecx
mov ecx, dword [ebp - 0x108]
cmovne ecx, eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 0x419f50
push edi
push edx
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.00448bf0
push 0x1c
push edi
call fcn.00451449
mov eax, dword [ebp - 0x104]
add esp, 8
cmp dword [eax], 0
jne 0x4433b1
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4433b1
push 0xc
push eax
call fcn.00451449
add esp, 8
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
push dword [eax + 0x50]
mov byte [ebp - 0x154], 0
push dword [ebp - 0x114]
call fcn.00411c40
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x154]
cmp dword [ebp - 0x140], 0x10
lea ecx, [ebp - 0x188]
cmovae edx, dword [ebp - 0x154]
call fcn.00417b40
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x188]
cmp dword [ebp - 0x174], 8
lea ecx, [ebp - 0xd8]
cmovae edx, dword [ebp - 0x188]
call fcn.00418090
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x174]
cmp edx, 8
jb 0x44347a
mov ecx, dword [ebp - 0x188]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443470
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x140]
cmp edx, 0x10
jb 0x4434d5
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4434cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
cmp dword [ebp - 0xc4], 8
lea ecx, [ebp - 0xd8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateSymbolicLinkW]
lea eax, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0xd8]
cmp dword [ebp - 0x48], 8
push 0
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
call edi
test al, al
jne 0x443556
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc4], 8
lea ecx, [ebp - 0xd8]
push 0
cmovae ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call edi
mov edi, dword [ebp - 0x118]
cmp dword [edi + 0x14], 8
jb 0x443564
mov edi, dword [edi]
mov edx, edi
mov ecx, 0x53
call fcn.00441530
push dword [ebp - 0x114]
call fcn.004605b8
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x4435c2
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4435b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
jmp case.0x442681.4
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
jb 0x44360d
mov edi, dword [edi]
mov ecx, 0x58
mov edx, edi
call fcn.00441530
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x443657
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44364d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
mov edx, dword [ebp - 0x60]
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], eax
cmp edx, 8
jb 0x4436a5
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44369b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4436db
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4436d7
cmp esi, dword [eax + 8]
jne 0x4436d7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4436c7
mov esi, eax
jmp 0x4436ef
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4436ef
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4436e5
cmp byte [esi + 0xd], 0
je 0x4425f0
mov esi, dword [ebp - 0x130]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x44370b
call fcn.00449ce0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x44371b
push eax
call fcn.004605b8
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x44372b
push eax
call fcn.004605b8
add esp, 4
push 0x40
push esi
call fcn.00451449
mov ecx, dword [ebp - 0x110]
add esp, 8
test ecx, ecx
je 0x443745
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 0x120]
mov byte [edi + 4], 1
mov eax, dword [edi + 8]
test eax, eax
je 0x443772
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x138]
push 1
call esi
mov eax, dword [edi]
test eax, eax
jne 0x443762
mov edi, dword [ebp - 0x120]
mov esi, dword [edi]
test esi, esi
je 0x44378b
lea ecx, [esi + 4]
call fcn.00444060
push 0x18
push esi
call fcn.00451449
add esp, 8
push 0xc
push edi
mov dword [edi], 0
call fcn.00451449
mov edx, dword [ebp - 0x7c]
add esp, 8
cmp edx, 8
jb 0x4437d9
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4437cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
cmp edx, 8
jb 0x44390a
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443900
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
jmp 0x443900
mov dword [0x4d2eac], 0x1d
mov dword [0x4d1a44], 0x4ca050
mov dword [0x4d2eb0], 0x16f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x48]
mov dword [0x4d2ea8], eax
mov byte [ebp - 0xfd], 0
cmp edx, 8
jb 0x44389d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443893
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x4438e7
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4438dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443930
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
jmp 0x443745
push edx
push ecx
call fcn.00451449
add esp, 8
mov al, byte [ebp - 0xfd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00460976
call fcn.00401630
nop
mov byte [esi], ah
inc esp
add ah, al
sub eax, dword [eax + eax - 0x1a]
sub eax, dword [eax + eax + 0x19]
inc esp
add byte [edx + esi + 0x35e10044], ah
inc esp
add ah, cl
int3