Function at 0x437540
Capabilities:
Copy file
Create directory
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push 0x104
push 0
push eax
call fcn.004cacb0
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
movaps xmm0, xmmword [0x51e6a0]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x5c], 0xef
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0x6c]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x6c], al
inc ecx
cmp ecx, 0x11
jb 0x4375b0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4375e0
sub ecx, edx
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402aa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x434]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437603
push esi
sub ecx, edx
lea eax, [ebp - 0x434]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00461260
mov dword [ebp - 0xa8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
mov esi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4376a4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43769a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438483
push ecx
push edx
call fcn.004b2a81
add esp, 8
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x48], 0
cmovae ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0040b8c0
test al, al
je 0x438450
mov dword [ebp - 0x18], 0xfefbebc3
xor ecx, ecx
mov word [ebp - 0x14], 0xfeeb
mov byte [ebp - 0x12], 0
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0x18]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 6
jb 0x4376f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437710
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xa8]
sub eax, edx
cmp eax, ecx
jb 0x438488
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
push ecx
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x18]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0xa0]
call fcn.00460300
mov esi, 0xc
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x8c], 0x10
cmovae ecx, dword [ebp - 0xa0]
call fcn.0040b8c0
test al, al
je 0x43843b
mov byte [ebp - 0x11], 0
xor ecx, ecx
mov word [ebp - 0x20], 0xfded
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp + ecx - 0x20]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 2
jb 0x437791
mov dword [ebp - 0x1c], 0xe6faf4c3
xor ecx, ecx
mov dword [ebp - 0x18], 0xebfefbc0
mov word [ebp - 0x14], 0xecfe
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp + ecx - 0x1c]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x4377c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4377e0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x90]
sub eax, edx
cmp eax, ecx
jb 0x43848d
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push edi
cmovae eax, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0xd0]
call fcn.00460300
cmp dword [ebp - 0xbc], 0x10
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x10], 0x4c
cmovae eax, dword [ebp - 0xd0]
push ecx
push eax
call fcn.004ceb20
mov esi, 0x4c
add esp, 8
mov dword [ebp - 0x10], esi
mov edi, eax
and esi, 0xffffffbf
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.00402890
test edi, edi
je 0x437881
push edi
call fcn.004d23a8
add esp, 4
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x28], 0xb5b1b5c3
mov byte [ebp - 0x24], 0
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0x28]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 4
jb 0x4378b0
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x130]
call fcn.0045c3b0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x330]
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push ecx
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x437bfe
nop
cmp byte [ebp - 0x304], 0x2e
je 0x437bdd
test byte [ebp - 0x330], 0x10
je 0x437bdd
mov word [ebp - 0x20], 0xfded
xor ecx, ecx
mov byte [ebp - 0x1e], 0
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0x20]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 2
jb 0x437940
mov dword [ebp - 0x2e], 0xeffef2c3
xor ecx, ecx
mov word [ebp - 0x2a], 0xec
movzx eax, byte [ebp + ecx - 0x2e]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x2e], al
inc ecx
cmp ecx, 5
jb 0x437964
push 0xffffffffffffffc3
mov byte [ebp - 0x30], 0
call fcn.00459470
mov byte [ebp - 0x31], al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x31]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437991
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x90]
sub eax, edx
cmp eax, ecx
jb 0x438488
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x31]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0x100]
call fcn.00460300
or dword [ebp - 0x10], 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x304]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4379f0
sub ecx, edx
lea eax, [ebp - 0x304]
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.0045a730
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x118]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
or dword [ebp - 0x10], 0x20
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2e]
push eax
call fcn.0045c440
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x437a68
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004ceb20
add esp, 8
mov esi, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x118]
call fcn.00402890
mov eax, dword [ebp - 0x10]
and eax, 0xffffffdf
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x437aca
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x437abd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438483
push ecx
push edx
call fcn.004b2a81
mov eax, dword [ebp - 0x10]
add esp, 8
and eax, 0xffffffef
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
call fcn.00402890
test esi, esi
je 0x437bdd
push esi
call fcn.004d23a8
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x70], 0
add esp, 4
lea edx, [ecx + 1]
movups xmmword [ebp - 0x84], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437b23
sub ecx, edx
lea eax, [ebp - 0x304]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00402aa0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x60]
je 0x437b7b
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x74]
movq qword [eax + 0x10], xmm0
mov eax, 0xf
mov dword [ebp - 0x70], eax
add dword [ebp - 0x64], 0x18
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
jmp 0x437b8e
lea ecx, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00465480
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x437bc8
mov edx, dword [ebp - 0x84]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x437bbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438483
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x330]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x437910
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x10]
cmp byte [ebp - 0x11], 0
jne 0x437c21
mov ecx, dword [ebp - 0x64]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x68]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43841f
mov dword [ebp - 0x1b], 0xf3facbc3
xor ecx, ecx
mov dword [ebp - 0x17], 0xfeedf8fa
mov word [ebp - 0x13], 0xf2
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0x1b]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 9
jb 0x437c40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1b]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437c60
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x438492
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x1b]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0xe8]
call fcn.00460300
or esi, 0x1000
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0xd4], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmovae eax, dword [ebp - 0xe8]
push 0
push eax
call edi
test eax, eax
je 0x438407
mov dword [ebp - 0x18], 0xfefbebc3
xor ecx, ecx
mov word [ebp - 0x14], 0xfeeb
mov byte [ebp - 0x12], 0
nop
movzx eax, byte [ebp + ecx - 0x18]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 6
jb 0x437ce0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437d00
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xd8]
sub eax, edx
cmp eax, ecx
jb 0x438497
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
push ecx
cmovae eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0x18]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0x84]
call fcn.00460300
or esi, 0x4000
lea eax, [ebp - 0x84]
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x70], 0x10
push 0
cmovae eax, dword [ebp - 0x84]
push eax
call edi
test eax, eax
je 0x4383db
cmp byte [ebp - 0x11], 0
je 0x437e44
mov dword [ebp - 0x1c], 0xe6faf4c3
xor ecx, ecx
mov dword [ebp - 0x18], 0xebfefbc0
mov word [ebp - 0x14], 0xecfe
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp + ecx - 0x1c]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x437d93
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x148]
call fcn.0045c3b0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xe
or esi, 1
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x437dd4
mov edi, dword [edi]
mov dword [ebp - 0x1c], 0xe6faf4c3
xor ecx, ecx
mov dword [ebp - 0x18], 0xebfefbc0
mov word [ebp - 0x14], 0xecfe
mov byte [ebp - 0x12], 0
nop
movzx eax, byte [ebp + ecx - 0x1c]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x437df0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x118]
call fcn.0045c3b0
add esp, 4
mov dword [ebp - 4], 0xf
or esi, 2
mov dword [ebp - 0x10], esi
cmp dword [eax + 0x14], 0x10
jb 0x437e32
mov eax, dword [eax]
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 0x1d], 1
test eax, eax
jne 0x437e48
mov byte [ebp - 0x1d], 0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
test al, 2
je 0x437e6a
and eax, 0xfffffffd
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x10], eax
call fcn.00402890
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xd
test al, 1
je 0x437e86
and eax, 0xfffffffe
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x10], eax
call fcn.00402890
mov esi, dword [ebp - 0x68]
xor ecx, ecx
mov dword [ebp - 0x88], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x64]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4383c3
mov al, byte [ebp - 0x1d]
push 0xffffffffffffffc3
mov byte [ebp - 0x1d], al
call fcn.00459470
xor edi, edi
mov byte [ebp - 0x11], al
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x2f], 0
add esi, edi
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x33], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x33]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437ee0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x74]
sub eax, edx
cmp eax, ecx
jb 0x438488
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
push ecx
cmovae eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x33]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0x160]
call fcn.00460300
or dword [ebp - 0x10], 0x200
lea edx, [ebp - 0x160]
push esi
lea ecx, [ebp - 0x58]
call fcn.0045c610
add esp, 4
mov byte [ebp - 4], 0x11
and dword [ebp - 0x10], 0xfffffdff
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x160]
call fcn.00402890
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
call fcn.0040b8c0
test al, al
jne 0x437f7d
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x2e], 0xeffef2c3
xor ecx, ecx
mov word [ebp - 0x2a], 0xec
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x2e]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x2e], al
inc ecx
cmp ecx, 5
jb 0x437f90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2e]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437fb0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x48]
sub eax, edx
cmp eax, ecx
jb 0x438488
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x2e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0x100]
call fcn.00460300
or dword [ebp - 0x10], 0x400
lea esi, [ebp - 0x100]
cmp dword [ebp - 0xec], 0x10
mov dword [ebp - 0x17], 0xeffef2c3
cmovae esi, dword [ebp - 0x100]
xor ecx, ecx
mov word [ebp - 0x13], 0xec
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0x17]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 5
jb 0x438020
mov al, byte [ebp - 0x11]
add edi, dword [ebp - 0x68]
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x35], al
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x35]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438050
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x90]
sub eax, edx
cmp eax, ecx
jb 0x438488
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x35]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0x178]
call fcn.00460300
or dword [ebp - 0x10], 0x800
lea edx, [ebp - 0x178]
push edi
lea ecx, [ebp - 0x1a8]
call fcn.0045c610
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x17]
push ecx
mov edx, eax
lea ecx, [ebp - 0x190]
call fcn.0045c440
add esp, 8
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 0x10
jb 0x4380d5
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x190]
call fcn.00402890
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a8]
call fcn.00402890
and dword [ebp - 0x10], 0xfffff7ff
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x178]
call fcn.00402890
and dword [ebp - 0x10], 0xfffffbff
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x100]
call fcn.00402890
test esi, esi
je 0x438137
mov byte [ebp - 0x2f], 1
mov byte [ebp - 0x1d], 1
push 0xffffffffffffffec
mov byte [ebp - 0x3d], 0
call fcn.00459470
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x28]
add esi, edi
mov byte [ebp - 0x30], al
mov byte [ebp - 0x3e], al
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x37], al
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438164
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x90]
sub eax, edx
cmp eax, ecx
jb 0x438488
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x37]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0x148]
call fcn.00460300
or dword [ebp - 0x10], 0x100
lea edx, [ebp - 0x148]
push esi
lea ecx, [ebp - 0x1c0]
call fcn.0045c610
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x3e]
push ecx
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.0045c440
add esp, 8
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1c0]
call fcn.00402890
and dword [ebp - 0x10], 0xfffffeff
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x148]
call fcn.00402890
mov word [ebp - 0x3c], 0xfded
xor ecx, ecx
mov byte [ebp - 0x3a], 0
nop
movzx eax, byte [ebp + ecx - 0x3c]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 2
jb 0x438210
cmp dword [ebp - 0xbc], 0x10
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push ecx
push eax
call fcn.004ceb20
add esp, 8
test eax, eax
je 0x43835f
push eax
call fcn.004d23a8
mov al, byte [ebp - 0x30]
add esp, 4
mov esi, dword [ebp - 0x68]
mov byte [ebp - 0x1f], al
add esi, edi
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x39], al
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x39]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438280
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x74]
sub eax, edx
cmp eax, ecx
jb 0x438488
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
push ecx
cmovae eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x39]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x27]
lea ecx, [ebp - 0x118]
call fcn.00460300
or dword [ebp - 0x10], 0x2000
lea edx, [ebp - 0x118]
push esi
lea ecx, [ebp - 0x1f0]
call fcn.0045c610
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1f]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1d8]
call fcn.0045c440
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0x1e
cmp dword [ecx + 0x14], 0x10
jb 0x438301
mov ecx, dword [ecx]
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
push 0
cmovae eax, dword [ebp - 0xd0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1d8]
call fcn.00402890
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1f0]
call fcn.00402890
and dword [ebp - 0x10], 0xffffdfff
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x118]
call fcn.00402890
test esi, esi
je 0x43835f
mov byte [ebp - 0x1d], 1
jmp 0x438371
cmp byte [ebp - 0x2f], 0
jne 0x438371
push ecx
lea ecx, [ebp - 0x58]
call fcn.0040b910
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xd0]
call fcn.00402890
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
call fcn.00402890
mov ecx, dword [ebp - 0x64]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x68]
add edi, 0x18
inc dword [ebp - 0x88]
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0x88]
sar edx, 2
mov eax, edx
mov dword [ebp - 0x28], edi
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x4383c3
mov al, byte [ebp - 0x11]
jmp 0x437ec2
cmp byte [ebp - 0x1d], 0
jne 0x4383ec
push ecx
lea ecx, [ebp - 0x84]
call fcn.0040b910
mov esi, dword [ebp - 0x10]
add esp, 4
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0040b910
add esp, 4
jmp 0x4383ef
mov esi, dword [ebp - 0x10]
and esi, 0xffffbfff
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x84]
call fcn.00402890
and esi, 0xffffefff
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.00402890
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x130]
call fcn.00402890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0045a080
pop edi
and esi, 0xfffffff7
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00402890
and esi, 0xfffffffb
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004cdf70
call fcn.00402210
call fcn.00402210
call fcn.00402210
call fcn.00402210
int3