Function at 0x4079f3
Capabilities:
Create directory

Disassembly:
push 0x220
mov eax, 0x488ed7
call fcn.0046e891
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x180]
call fcn.0040601d
and dword [ebp - 4], 0
mov ecx, 0x26c
mov eax, dword [esi + 4]
xor ebx, ebx
sub eax, dword [esi]
cdq
idiv ecx
mov dword [ebp - 0x21c], ebx
test eax, eax
je 0x407e27
lea eax, [edi + 0x1010]
xor edi, edi
mov dword [ebp - 0x220], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x180]
add eax, 0x58
add eax, edi
cmp ecx, eax
je 0x407a5c
push 0xffffffffffffffff
push 0
push eax
call fcn.004050ae
mov ecx, dword [esi]
mov edx, 0x4a3aa0
add ecx, 0x8c
add ecx, edi
call fcn.0040edbe
lea ecx, [ebp - 0x40]
test al, al
je 0x407c0d
push str.LOCALAPPDATA
call fcn.00404ebb
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00432f60
push 0x4a3524
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b0]
call fcn.00405713
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
mov edx, eax
mov dword [esp], str.PCBooster
call fcn.0040ed8c
push eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 4
call fcn.00411308
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040ff22
lea ecx, [ebp - 0x218]
call fcn.0041155a
xor ebx, ebx
lea ecx, [ebp - 0x198]
push ebx
push 1
call fcn.00405141
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00405141
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00405141
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.00405141
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040fff4
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x407b48
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x1e4]
call fcn.0041155a
push ecx
push 0x4a3ae8
lea ecx, [ebp - 0xa4]
call fcn.0041135f
mov ebx, eax
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040fff4
lea edx, [eax + 0x18]
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x407b93
mov edx, dword [edx]
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ede0
pop ecx
mov byte [ebp - 4], 0xe
mov edx, eax
mov ecx, dword [esi]
add ecx, 0x8c
add ecx, edi
push ecx
lea ecx, [ebp - 0x70]
call fcn.0040ed64
pop ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00404f11
xor ebx, ebx
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.00405141
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00405141
lea ecx, [ebp - 0x1e4]
call fcn.0041155a
lea ecx, [ebp - 0xa4]
call fcn.0041155a
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.004037d4
mov ebx, dword [ebp - 0x21c]
jmp 0x407c94
push 0x4a3aec
call fcn.00404ebb
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
call fcn.00432f60
push 0x4a3524
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.00405713
pop ecx
mov byte [ebp - 4], 0x11
mov edx, eax
mov ecx, dword [esi]
add ecx, 0x8c
add ecx, edi
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040ed64
pop ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00404f11
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00405141
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00405141
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00405141
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00405141
mov edx, dword [esi]
lea ecx, [ebp - 0x28]
add edx, 0x248
add edx, edi
call fcn.00433efc
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x12
cmp ecx, eax
je 0x407cbe
push 0xffffffffffffffff
push 0
push eax
call fcn.004050ae
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405141
mov ecx, dword [esi]
mov edx, 0x272d
mov eax, dword [ecx + edi + 0x254]
cmp eax, dword [ecx + edi + 0x258]
lea ecx, [ebp - 0xa4]
setne byte [ebp - 0x103]
call fcn.00411101
mov ecx, dword [esi]
mov edx, eax
add ecx, 0xa8
add ecx, edi
call fcn.0041247f
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x102], al
call fcn.0041155a
mov eax, dword [esi]
lea ecx, [ebp - 0x138]
add eax, 0x24
add eax, edi
cmp ecx, eax
je 0x407d32
push 0xffffffffffffffff
push 0
push eax
call fcn.004050ae
mov edx, 0x272d
lea ecx, [ebp - 0xa4]
call fcn.00411101
mov ecx, dword [esi]
mov edx, eax
add ecx, 0xdc
add ecx, edi
call fcn.0041247f
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x101], al
call fcn.0041155a
mov eax, dword [esi]
lea ecx, [ebp - 0x120]
add eax, 0x128
add eax, edi
cmp ecx, eax
je 0x407d81
push 0xffffffffffffffff
push 0
push eax
call fcn.004050ae
mov eax, dword [esi]
add eax, 0x178
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x407d92
mov eax, dword [eax]
push eax
call fcn.0046b17a
mov dword [ebp - 0x100], eax
mov eax, dword [esi]
add eax, 0x1ac
add eax, edi
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x407db0
mov eax, dword [eax]
push eax
call fcn.0046b17a
mov dword [ebp - 0xfc], eax
mov eax, dword [esi]
add eax, 0x1f8
pop ecx
add eax, edi
lea ecx, [ebp - 0xf8]
cmp ecx, eax
je 0x407dda
push 0xffffffffffffffff
push 0
push eax
call fcn.004050ae
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
add eax, 0x22c
add eax, edi
cmp ecx, eax
je 0x407df7
push 0xffffffffffffffff
push 0
push eax
call fcn.004050ae
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x180]
push eax
call fcn.0040e0e7
mov eax, dword [esi + 4]
mov ecx, 0x26c
sub eax, dword [esi]
inc ebx
cdq
add edi, ecx
idiv ecx
mov dword [ebp - 0x21c], ebx
cmp ebx, eax
jb 0x407a41
lea ecx, [ebp - 0x180]
call fcn.00407e3a
call fcn.0046e840
ret 4