Function at 0x4063c0
Capabilities:
Create directory
Get file attributes
Terminate process

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 0x4cbf4d
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1218
call fcn.0049fde0
mov eax, dword [0x4f6440]
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 - 0x1228], edx
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x121c], edi
mov dword [ebp - 0x1224], eax
jbe 0x406425
mov ecx, dword [ecx]
push ecx
call fcn.00482860
mov esi, eax
add esp, 4
mov dword [ebp - 0x1214], esi
test esi, esi
je 0x406e57
push esi
call fcn.00482750
add esp, 4
test eax, eax
jne 0x406e4e
mov edx, edi
lea ecx, [ebp - 0x11c0]
call fcn.00404680
cmp dword [eax + 0x14], 7
jbe 0x406464
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x11ac]
mov edi, eax
cmp ecx, 7
jbe 0x4064ad
mov edx, dword [ebp - 0x11c0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4064a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e77
push ecx
push edx
call fcn.0049f19c
add esp, 8
cmp edi, 0xffffffff
jne 0x406540
mov ecx, dword [ebp - 0x121c]
mov eax, ecx
cmp dword [ecx + 0x14], 0xf
jbe 0x4064c6
mov eax, dword [ecx]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov dword [ebp - 0x1220], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f202
mov ecx, dword [ebp - 0x121c]
add esp, 4
mov edi, eax
mov eax, ecx
cmp dword [ecx + 0x14], 0xf
jbe 0x40650b
mov eax, dword [ecx]
push dword [ebp - 0x1220]
push edi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x406535
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.0049f1fd
add esp, 4
nop
push 0
push 0
push 0
push 0
push 0x100
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x1210]
push eax
push esi
call fcn.00482690
add esp, 0x20
test eax, eax
jne 0x406e4e
xorps xmm0, xmm0
mov dword [ebp - 0x1150], eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x114c], eax
movups xmmword [ebp - 0x1160], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406590
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1160]
call fcn.0041f3b0
mov edx, dword [ebp - 0x121c]
mov eax, closesocket
mov dword [ebp - 4], 0
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x406e81
cmp dword [edx + 0x14], 0xf
mov eax, edx
jbe 0x4065d6
mov eax, dword [edx]
push 1
push 0x4ea93c
push ecx
push eax
push ecx
push dword [ebp - 0x1218]
lea ecx, [ebp - 0x1190]
call fcn.004209d0
lea eax, [ebp - 0x1160]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1190]
push eax
push dword [ebp - 0x1218]
lea ecx, [ebp - 0x1130]
call fcn.004207e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x117c]
cmp ecx, 0xf
jbe 0x406652
mov edx, dword [ebp - 0x1190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406648
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
push ecx
push edx
call fcn.0049f19c
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0xf
jbe 0x406690
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406686
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
push ecx
push edx
call fcn.0049f19c
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1198], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x1194], 0
movups xmmword [ebp - 0x11a8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4066b7
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x11a8]
call fcn.0041f3b0
mov edi, dword [ebp - 0x1224]
lea eax, [ebp - 0x11a8]
cmp edi, eax
je 0x40673b
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x406716
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x40670c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
mov eax, edx
push ecx
push eax
call fcn.0049f19c
add esp, 8
movups xmm0, xmmword [ebp - 0x11a8]
mov ecx, 0xf
mov byte [ebp - 0x11a8], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1198]
movq qword [edi + 0x10], xmm0
jmp 0x406741
mov ecx, dword [ebp - 0x1194]
cmp ecx, 0xf
jbe 0x406775
mov edx, dword [ebp - 0x11a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40676b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
push ecx
push edx
call fcn.0049f19c
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1168], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x1164], 0
movups xmmword [ebp - 0x1178], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4067a0
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1178]
call fcn.0041f3b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1178]
cmp dword [ebp - 0x1164], 0xf
mov edi, dword [ebp - 0x1178]
mov eax, dword [ebp - 0x1168]
cmova ecx, edi
mov dword [ebp - 0x1218], edi
cmp byte [ecx + eax - 1], 0x2f
jne 0x4069fb
xorps xmm0, xmm0
mov dword [ebp - 0x1180], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x117c], 0
movups xmmword [ebp - 0x1190], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406814
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1190]
call fcn.0041f3b0
mov edx, dword [ebp - 0x121c]
mov eax, closesocket
mov byte [ebp - 4], 6
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x406e81
cmp dword [edx + 0x14], 0xf
mov eax, edx
jbe 0x406857
mov eax, dword [edx]
push 1
push 0x4ea93c
push ecx
push eax
push ecx
push dword [ebp - 0x1218]
lea ecx, [ebp - 0x11c0]
call fcn.004209d0
lea eax, [ebp - 0x1190]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x11c0]
push eax
push dword [ebp - 0x1218]
lea ecx, [ebp - 0x1160]
call fcn.004207e0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x11ac]
cmp ecx, 0xf
jbe 0x4068d3
mov edx, dword [ebp - 0x11c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4068c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e7c
push ecx
push edx
call fcn.0049f19c
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x117c]
cmp ecx, 0xf
jbe 0x406911
mov edx, dword [ebp - 0x1190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406907
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e7c
push ecx
push edx
call fcn.0049f19c
add esp, 8
lea ecx, [ebp - 0x1160]
call fcn.00406320
test al, al
je 0x406d2e
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0xf
jbe 0x406962
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406958
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e7c
push ecx
push edx
call fcn.0049f19c
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1164]
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 0xf
mov byte [ebp - 0x1160], 0
cmp eax, 0xf
jbe 0x4069b7
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4069ad
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e7c
push ecx
push edi
call fcn.0049f19c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x111c]
cmp ecx, 0xf
jbe 0x406d0d
mov edx, dword [ebp - 0x1130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406d03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e7c
jmp 0x406d03
mov ecx, dword [ebp - 0x1228]
mov eax, ecx
cmp dword [ecx + 0x14], 0xf
jbe 0x406a0b
mov eax, dword [ecx]
push eax
push esi
call fcn.00482cc0
add esp, 8
test eax, eax
jne 0x406ddb
mov esi, dword [ebp - 0x111c]
lea edx, [ebp - 0x1130]
mov eax, dword [ebp - 0x1120]
cmp esi, 0xf
cmova edx, dword [ebp - 0x1130]
test eax, eax
je 0x406a5e
lea ecx, [eax - 1]
or eax, 0xffffffff
cmp ecx, eax
cmovb eax, ecx
add eax, edx
cmp byte [eax], 0x2f
je 0x406a5a
nop
cmp eax, edx
je 0x406a5e
dec eax
cmp byte [eax], 0x2f
jne 0x406a50
sub eax, edx
jmp 0x406a61
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x406ba7
cmp dword [ebp - 0x1120], eax
lea ecx, [ebp - 0x1130]
xorps xmm0, xmm0
mov dword [ebp - 0x1138], 0
cmovb eax, dword [ebp - 0x1120]
cmp esi, 0xf
push eax
cmova ecx, dword [ebp - 0x1130]
push ecx
lea ecx, [ebp - 0x1148]
mov dword [ebp - 0x1134], 0
movups xmmword [ebp - 0x1148], xmm0
call fcn.0041f3b0
push 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1148]
cmp dword [ebp - 0x1134], 0xf
push 0
cmova eax, dword [ebp - 0x1148]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f202
add esp, 4
mov dword [ebp - 0x1220], eax
cmp dword [ebp - 0x1134], 0xf
lea ecx, [ebp - 0x1148]
cmova ecx, dword [ebp - 0x1148]
push esi
mov esi, eax
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x406b3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406d6d
push esi
call fcn.0049f1fd
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x1134]
cmp ecx, 0xf
jbe 0x406b86
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406b7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e77
push ecx
push edx
call fcn.0049f19c
add esp, 8
mov esi, dword [ebp - 0x111c]
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0xf
mov byte [ebp - 0x1148], 0
cmp esi, 0xf
lea eax, [ebp - 0x1130]
push 0x4ea940
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004af411
mov esi, eax
add esp, 8
test esi, esi
jne 0x406c22
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406dc4
cmp dword [ebp - 0x111c], 0xf
lea eax, [ebp - 0x1130]
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004af433
cmp dword [ebp - 0x111c], 0xf
lea eax, [ebp - 0x1130]
push 0x4ea940
cmova eax, dword [ebp - 0x1130]
push eax
call fcn.004af411
mov esi, eax
add esp, 0xc
test esi, esi
je 0x406dc4
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push dword [ebp - 0x1214]
call fcn.004832f0
add esp, 0xc
test eax, eax
jle 0x406c75
mov edi, dword [ebp - 0x1214]
push esi
push 1
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.004af762
push 0x1000
lea eax, [ebp - 0x1118]
push eax
push edi
call fcn.004832f0
add esp, 0x1c
test eax, eax
jg 0x406c46
mov edi, dword [ebp - 0x1218]
push esi
call fcn.004af8c1
mov esi, dword [ebp - 0x1214]
push esi
call fcn.00482600
add esp, 8
test eax, eax
jne 0x406ddb
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1164]
cmp eax, 0xf
jbe 0x406ccc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x406cc2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
push ecx
push edi
call fcn.0049f19c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x111c]
cmp ecx, 0xf
jbe 0x406d0d
mov edx, dword [ebp - 0x1130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406d03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
push ecx
push edx
call fcn.0049f19c
add esp, 8
push esi
call fcn.004827b0
add esp, 4
test eax, eax
je 0x406540
push esi
call fcn.004825c0
add esp, 4
mov al, 1
jmp 0x406e59
push esi
call fcn.004825c0
mov ecx, dword [ebp - 0x114c]
add esp, 4
cmp ecx, 0xf
jbe 0x406de4
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406db8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e7c
jmp 0x406db8
push esi
call fcn.0049f1fd
mov esi, dword [ebp - 0x1214]
push esi
call fcn.00482600
push esi
call fcn.004825c0
mov ecx, dword [ebp - 0x1134]
add esp, 0xc
cmp ecx, 0xf
jbe 0x406de4
mov edx, dword [ebp - 0x1148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406db8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e77
push ecx
push edx
call fcn.0049f19c
add esp, 8
jmp 0x406de4
mov esi, dword [ebp - 0x1214]
push esi
call fcn.00482600
push esi
call fcn.004825c0
add esp, 8
jmp 0x406de4
push esi
call fcn.004825c0
add esp, 4
mov eax, dword [ebp - 0x1164]
cmp eax, 0xf
jbe 0x406e16
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x406e0c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
push ecx
push edi
call fcn.0049f19c
add esp, 8
mov ecx, dword [ebp - 0x111c]
cmp ecx, 0xf
jbe 0x406e57
mov edx, dword [ebp - 0x1130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406e42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e86
push ecx
push edx
call fcn.0049f19c
add esp, 8
jmp 0x406e57
push esi
call fcn.004825c0
add esp, 4
xor al, al
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.0049f18e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004a47f6
call fcn.004a47f6
call fcn.00401360
call fcn.004a47f6
int3