Function at 0x407795
Capabilities:
Create directory

Disassembly:
push 0x220
mov eax, 0x486bee
call fcn.0046c611
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 0x407bc9
lea eax, [edi + 0xe3c]
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 0x4077fe
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov ecx, dword [esi]
mov edx, 0x4a1af8
add ecx, 0x8c
add ecx, edi
call fcn.0040e350
lea ecx, [ebp - 0x40]
test al, al
je 0x4079af
push str.LOCALAPPDATA
call fcn.00404eab
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00430fb8
push 0x4a1524
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.0040e31e
push eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 4
call fcn.004102c0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040f135
lea ecx, [ebp - 0x218]
call fcn.00410512
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.0040f207
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4078ea
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x1e4]
call fcn.00410512
push ecx
push 0x4a1b40
lea ecx, [ebp - 0xa4]
call fcn.00410317
mov ebx, eax
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040f207
lea edx, [eax + 0x18]
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x407935
mov edx, dword [edx]
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e372
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.0040e2f6
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.00410512
lea ecx, [ebp - 0xa4]
call fcn.00410512
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.004037d4
mov ebx, dword [ebp - 0x21c]
jmp 0x407a36
push 0x4a1b44
call fcn.00404eab
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
call fcn.00430fb8
push 0x4a1524
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.0040e2f6
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.00431f5a
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x12
cmp ecx, eax
je 0x407a60
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.004100b9
mov ecx, dword [esi]
mov edx, eax
add ecx, 0xa8
add ecx, edi
call fcn.004114f8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x102], al
call fcn.00410512
mov eax, dword [esi]
lea ecx, [ebp - 0x138]
add eax, 0x24
add eax, edi
cmp ecx, eax
je 0x407ad4
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov edx, 0x272d
lea ecx, [ebp - 0xa4]
call fcn.004100b9
mov ecx, dword [esi]
mov edx, eax
add ecx, 0xdc
add ecx, edi
call fcn.004114f8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x101], al
call fcn.00410512
mov eax, dword [esi]
lea ecx, [ebp - 0x120]
add eax, 0x128
add eax, edi
cmp ecx, eax
je 0x407b23
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 0x407b34
mov eax, dword [eax]
push eax
call fcn.00468eea
mov dword [ebp - 0x100], eax
mov eax, dword [esi]
add eax, 0x1ac
add eax, edi
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x407b52
mov eax, dword [eax]
push eax
call fcn.00468eea
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 0x407b7c
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 0x407b99
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x180]
push eax
call fcn.0040d746
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 0x4077e3
lea ecx, [ebp - 0x180]
call fcn.00407bdc
call fcn.0046c5c0
ret 4