Function at 0x407970
Capabilities:
Create directory

Disassembly:
push 0x220
mov eax, 0x488207
call fcn.0046dbc1
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x180]
call fcn.00405f9a
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 0x407da4
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 0x4079d9
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov ecx, dword [esi]
mov edx, 0x4a2ae0
add ecx, 0x8c
add ecx, edi
call fcn.0040ebb8
lea ecx, [ebp - 0x40]
test al, al
je 0x407b8a
push str.LOCALAPPDATA
call fcn.00404eab
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004325b0
push 0x4a2524
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b0]
call fcn.00405703
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
mov edx, eax
mov dword [esp], str.PCBooster
call fcn.0040eb86
push eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 4
call fcn.00410be3
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040fa07
lea ecx, [ebp - 0x218]
call fcn.00410e35
xor ebx, ebx
lea ecx, [ebp - 0x198]
push ebx
push 1
call fcn.00405131
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00405131
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00405131
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.00405131
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040fad9
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x407ac5
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x1e4]
call fcn.00410e35
push ecx
push 0x4a2b28
lea ecx, [ebp - 0xa4]
call fcn.00410c3a
mov ebx, eax
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040fad9
lea edx, [eax + 0x18]
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x407b10
mov edx, dword [edx]
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ebda
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.0040eb5e
pop ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00404f01
xor ebx, ebx
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.00405131
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00405131
lea ecx, [ebp - 0x1e4]
call fcn.00410e35
lea ecx, [ebp - 0xa4]
call fcn.00410e35
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.004037d4
mov ebx, dword [ebp - 0x21c]
jmp 0x407c11
push 0x4a2b2c
call fcn.00404eab
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
call fcn.004325b0
push 0x4a2524
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.00405703
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.0040eb5e
pop ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00404f01
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00405131
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00405131
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00405131
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00405131
mov edx, dword [esi]
lea ecx, [ebp - 0x28]
add edx, 0x248
add edx, edi
call fcn.00433552
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x12
cmp ecx, eax
je 0x407c3b
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405131
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.004109dc
mov ecx, dword [esi]
mov edx, eax
add ecx, 0xa8
add ecx, edi
call fcn.00411daa
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x102], al
call fcn.00410e35
mov eax, dword [esi]
lea ecx, [ebp - 0x138]
add eax, 0x24
add eax, edi
cmp ecx, eax
je 0x407caf
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov edx, 0x272d
lea ecx, [ebp - 0xa4]
call fcn.004109dc
mov ecx, dword [esi]
mov edx, eax
add ecx, 0xdc
add ecx, edi
call fcn.00411daa
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x101], al
call fcn.00410e35
mov eax, dword [esi]
lea ecx, [ebp - 0x120]
add eax, 0x128
add eax, edi
cmp ecx, eax
je 0x407cfe
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov eax, dword [esi]
add eax, 0x178
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x407d0f
mov eax, dword [eax]
push eax
call fcn.0046a49a
mov dword [ebp - 0x100], eax
mov eax, dword [esi]
add eax, 0x1ac
add eax, edi
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x407d2d
mov eax, dword [eax]
push eax
call fcn.0046a49a
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 0x407d57
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
add eax, 0x22c
add eax, edi
cmp ecx, eax
je 0x407d74
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x180]
push eax
call fcn.0040df60
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 0x4079be
lea ecx, [ebp - 0x180]
call fcn.00407db7
call fcn.0046db70
ret 4