Function at 0x40bf80
Capabilities:
Create directory
Get geographical location
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
cmp dword [ecx + 4], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x40bf9a
call fcn.00403690
mov edi, dword [ebp + 8]
test edi, edi
jne 0x40bfa8
mov esi, 0x66ea64
jmp 0x40bfd3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x40bfbb
xor esi, esi
jmp 0x40bfd3
lea esi, [eax + eax]
mov eax, esi
call fcn.006123b0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00403a80
mov esi, eax
mov eax, dword [ebp - 4]
push esi
add eax, 0x10
push 0x66ea5c
push eax
call fcn.00405ab0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x30e]
push edx
mov word [ebp - 0x310], cx
call fcn.006100a0
mov edi, dword [sym.imp.WS2_32.dll_gethostbyname]
add esp, 0x18
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x40c11b
test esi, esi
jne 0x40c01e
xor eax, eax
jmp 0x40c048
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x40c034
xor eax, eax
jmp 0x40c048
lea eax, [edi + edi]
call fcn.006123b0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00403a40
push eax
push 0x104
lea eax, [ebp - 0x310]
push eax
call fcn.00611c28
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x310]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c070
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x310]
push eax
lea ecx, [edi + 0xc]
call fcn.00401670
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
movzx edx, byte [eax + 3]
movzx ecx, byte [eax + 2]
push edx
movzx edx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push edx
push eax
lea ecx, [ebp - 0x518]
push 0x66ea44
push ecx
call fcn.006122bd
mov eax, dword [edi + 0xc]
add esp, 0x18
cmp dword [eax - 4], 1
jle 0x40c0d0
mov edx, dword [eax - 0xc]
push edx
lea ecx, [edi + 0xc]
call fcn.00401370
mov esi, dword [edi + 0xc]
push esi
call fcn.005b2700
movzx eax, ax
add esp, 4
test ax, ax
jne 0x40c0eb
movzx eax, word [edi + 0x2d0c]
add edi, 0x4c
push edi
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.004036b0
add esp, 0xc
test eax, eax
jne 0x40c208
mov eax, 0x35
lea esp, [ebp - 0x524]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xfe
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.006100a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0xff
lea edx, [ebp - 0x108]
push edx
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
call fcn.0040ac40
add esp, 4
test al, al
je 0x40c1f4
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [ebp - 8], eax
push 4
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x40c1f4
mov ecx, dword [eax]
push ecx
call edi
mov ebx, eax
test ebx, ebx
je 0x40c1f4
mov edi, dword [ebx]
test edi, edi
jne 0x40c1a8
xor eax, eax
push eax
push 0x104
lea edx, [ebp - 0x310]
push edx
jmp 0x40c055
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40c1ce
xor eax, eax
push eax
push 0x104
lea edx, [ebp - 0x310]
push edx
jmp 0x40c055
lea eax, [esi + esi]
call fcn.006123b0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00403a40
push eax
push 0x104
lea edx, [ebp - 0x310]
push edx
jmp 0x40c055
mov eax, 0x31
lea esp, [ebp - 0x524]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 4]
lea eax, [ebx + 0x5c]
lea edx, [ebx + 0x264]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40c216
mov eax, dword [ebp + 8]
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c230
sub eax, edx
lea edi, [ebx + 0x262]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c243
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x262]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c265
mov ecx, dword [0x66ea40]
mov dword [edi], ecx
mov esi, ebx
mov edx, dword [esi + 0x14]
cmp dword [edx - 0xc], 0
jle 0x40c2e9
mov eax, edx
cmp dword [eax - 4], 1
jle 0x40c298
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esi + 0x14]
call fcn.00401370
mov eax, dword [esi + 0x14]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c2a0
sub eax, edx
lea edi, [ebx + 0x262]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c2b3
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x262]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c2d5
mov ecx, dword [0x66ea40]
mov dword [edi], ecx
mov eax, 0x66e210
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c2f0
sub eax, esi
lea edi, [ebx + 0x262]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c303
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebx + 0x5c]
lea edx, [ebx + 0x46c]
rep movsb byte es:[edi], byte [esi]
sub edx, eax
jmp 0x40c330
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40c330
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c344
sub eax, edx
lea edi, [ebx + 0x46a]
jmp 0x40c360
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c360
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x46a]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c382
mov edx, dword [0x66ea40]
mov dword [edi], edx
mov esi, ebx
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
jle 0x40c409
cmp dword [eax - 4], 1
jle 0x40c3b3
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esi + 0x14]
call fcn.00401370
mov eax, dword [esi + 0x14]
mov edx, eax
jmp 0x40c3c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c3c0
sub eax, edx
lea edi, [ebx + 0x46a]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c3d3
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x46a]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c3f5
mov edx, dword [0x66ea40]
mov dword [edi], edx
mov eax, 0x66e32c
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c410
sub eax, esi
lea edi, [ebx + 0x46a]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c423
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebx + 0x5c]
lea edx, [ebx + 0x674]
rep movsb byte es:[edi], byte [esi]
sub edx, eax
jmp 0x40c450
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40c450
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c464
sub eax, edx
lea edi, [ebx + 0x672]
jmp 0x40c480
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c480
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x672]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c4a2
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov esi, ebx
mov ecx, dword [esi + 0x14]
cmp dword [ecx - 0xc], 0
jle 0x40c528
mov eax, ecx
cmp dword [eax - 4], 1
jle 0x40c4d4
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esi + 0x14]
call fcn.00401370
mov eax, dword [esi + 0x14]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c4e0
sub eax, edx
lea edi, [ebx + 0x672]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c4f3
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x672]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c515
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, 0x66e23c
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c530
sub eax, esi
lea edi, [ebx + 0x672]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c543
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + 0x5c]
add ebx, 0x87c
and ecx, 3
mov edx, ebx
rep movsb byte es:[edi], byte [esi]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40c570
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c584
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c594
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c5c0
mov ecx, dword [0x66ea40]
mov eax, str.Processes
mov dword [edi], ecx
mov esi, eax
jmp 0x40c5e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c5e0
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c5f0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
lea ebx, [ecx + 0xa84]
lea eax, [ecx + 0x5c]
mov ecx, ebx
sub ecx, eax
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, 2
test dx, dx
jne 0x40c623
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c637
sub eax, edx
lea edi, [ebx - 2]
jmp 0x40c650
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c650
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c670
mov edx, dword [0x66ea40]
mov dword [edi], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
cmp dword [eax - 0xc], 0
lea esi, [edx + 0x14]
jle 0x40c6f3
cmp dword [eax - 4], 1
jle 0x40c6a7
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00401370
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov esi, eax
jmp 0x40c6b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c6b0
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c6c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c6e0
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, 0x66e248
mov esi, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c700
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c710
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [edx + 0x5c]
lea esi, [edx + 0x18bc]
sub esi, eax
movzx ecx, word [eax]
mov word [eax + esi], cx
add eax, 2
test cx, cx
jne 0x40c735
mov eax, dword [ebp + 8]
mov esi, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c750
sub eax, esi
lea edi, [edx + 0x18ba]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c763
mov ebx, dword [ebp - 4]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea edi, [ebx + 0x18bc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c792
mov ecx, dword [0x66ea40]
mov eax, 0x66e30c
mov dword [edi], ecx
mov esi, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c7b0
sub eax, esi
lea edi, [ebx + 0x18ba]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c7c3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
push 0
lea eax, [esi + 0x18bc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ebx, [esi + 0x109c]
lea eax, [esi + 0x5c]
mov ecx, ebx
sub ecx, eax
jmp 0x40c800
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, 2
test dx, dx
jne 0x40c800
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c814
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c824
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c843
mov edx, dword [0x66ea40]
mov esi, dword [ebp - 4]
mov dword [edi], edx
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
jle 0x40c8c4
cmp dword [eax - 4], 1
jle 0x40c875
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esi + 0x14]
call fcn.00401370
mov eax, dword [esi + 0x14]
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c880
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c890
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c8b0
mov edx, dword [0x66ea40]
mov dword [edi], edx
mov eax, 0x66e318
mov esi, eax
jmp 0x40c8d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c8d0
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c8e0
mov ebx, dword [ebp - 4]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + 0x5c]
add ebx, 0xc8c
and ecx, 3
mov edx, ebx
rep movsb byte es:[edi], byte [esi]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40c910
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c924
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c934
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c960
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, 0x66e268
mov esi, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c980
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c990
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
lea ebx, [ecx + 0xe94]
lea eax, [ecx + 0x5c]
mov ecx, ebx
sub ecx, eax
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, 2
test dx, dx
jne 0x40c9c3
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c9d7
sub eax, edx
lea edi, [ebx - 2]
jmp 0x40c9f0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c9f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ca10
mov edx, dword [ebp - 4]
mov ecx, dword [0x66ea40]
mov dword [edi], ecx
mov eax, dword [edx + 0x14]
cmp dword [eax - 0xc], 0
lea esi, [edx + 0x14]
jle 0x40ca93
cmp dword [eax - 4], 1
jle 0x40ca47
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00401370
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov esi, eax
jmp 0x40ca50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ca50
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40ca60
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ca80
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, 0x66e258
mov esi, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40caa0
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cab0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [edx + 0x12a4]
lea eax, [edx + 0x5c]
mov esi, ebx
sub esi, eax
jmp 0x40cae0
movzx ecx, word [eax]
mov word [eax + esi], cx
add eax, 2
test cx, cx
jne 0x40cae0
mov eax, dword [ebp + 8]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40caf4
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cb04
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40cb21
mov ecx, dword [0x66ea40]
mov dword [edi], ecx
mov eax, dword [edx + 0x14]
cmp dword [eax - 0xc], 0
lea esi, [edx + 0x14]
jle 0x40cba3
cmp dword [eax - 4], 1
jle 0x40cb55
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00401370
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov esi, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cb60
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cb70
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40cb90
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, 0x66e34c
mov esi, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cbb0
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cbc0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [edx + 0x14ac]
lea eax, [edx + 0x5c]
mov esi, ebx
sub esi, eax
jmp 0x40cbf0
movzx ecx, word [eax]
mov word [eax + esi], cx
add eax, 2
test cx, cx
jne 0x40cbf0
mov eax, dword [ebp + 8]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cc04
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cc14
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40cc31
mov ecx, dword [0x66ea40]
lea esi, [edx + 0x14]
mov dword [edi], ecx
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
jle 0x40ccb4
mov eax, edx
cmp dword [eax - 4], 1
jle 0x40cc63
mov eax, dword [eax - 0xc]
push eax
mov ecx, esi
call fcn.00401370
mov eax, dword [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cc67
sub eax, edx
lea edi, [ebx - 2]
jmp 0x40cc80
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cc80
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40cca0
mov ecx, dword [0x66ea40]
mov dword [edi], ecx
mov eax, 0x66e35c
mov esi, eax
jmp 0x40ccc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ccc0
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40ccd0
mov ebx, dword [ebp - 4]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + 0x5c]
add ebx, 0x16b4
and ecx, 3
mov edx, ebx
rep movsb byte es:[edi], byte [esi]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40cd00
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cd14
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cd24
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40cd50
mov edx, dword [0x66ea40]
mov eax, 0x66e278
mov dword [edi], edx
mov esi, eax
jmp 0x40cd70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cd70
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cd80
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [ebp - 4]
lea eax, [ebx + 0x5c]
add ebx, 0x1ac4
mov ecx, ebx
sub ecx, eax
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, 2
test dx, dx
jne 0x40cdb3
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cdc7
sub eax, edx
lea edi, [ebx - 2]
jmp 0x40cde0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cde0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx - 2]
jmp 0x40ce10
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ce10
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, 0x66e290
mov esi, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ce30
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40ce40
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [ebp - 4]
lea eax, [ebx + 0x5c]
add ebx, 0x1ccc
mov ecx, ebx
sub ecx, eax
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, 2
test dx, dx
jne 0x40ce73
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ce87
sub eax, edx
lea edi, [ebx - 2]
jmp 0x40cea0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cea0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx - 2]
jmp 0x40ced0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ced0
mov ecx, dword [0x66ea40]
mov eax, 0x66e2a8
mov dword [edi], ecx
mov esi, eax
jmp 0x40cef0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cef0
sub eax, esi
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cf00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
lea ebx, [ecx + 0x20dc]
lea eax, [ecx + 0x5c]
mov ecx, ebx
sub ecx, eax
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, 2
test dx, dx
jne 0x40cf33
mov eax, dword [ebp + 8]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cf47
sub eax, edx
lea edi, [ebx - 2]
jmp 0x40cf60
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40cf60
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40cf80