Function at 0x409530
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x497650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea edx, [eax + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x51c]
lea eax, [ecx - 0x10]
lea edi, [edx - 0x10]
cmp eax, edi
je 0x4095cb
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4095bf
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4095bf
call fcn.004026b0
mov dword [ebp - 0x2c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4095b4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
jmp 0x4095cb
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [ebp - 0x10]
call fcn.00401e40
mov eax, esi
add eax, 0x590
mov ebx, 0x10
cmp dword [eax + 0x14], ebx
jb 0x4095de
mov eax, dword [eax]
push eax
push 0x48ad78
lea edi, [ebp - 0x10]
call fcn.0040a280
add esp, 8
lea edi, [ebp - 0x20]
call fcn.00404e90
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
cmp dword [edx - 0xc], 0
je 0x409878
mov edi, dword [ebp + 8]
add edi, 0x520
mov dword [ebp - 0x2c], edi
cmp dword [edi + 0x14], ebx
jb 0x40961d
mov eax, dword [edi]
jmp 0x40961f
mov eax, edi
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.00409d90
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004026b0
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp dword [edi + 0x14], ebx
jb 0x40965e
mov eax, dword [edi]
jmp 0x409660
mov eax, edi
push eax
push 0x48ac48
lea edi, [ebp - 0x1c]
call fcn.0040a280
mov eax, dword [esi + 0x51c]
add esp, 8
sub eax, ebx
call fcn.004026b0
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.game.ico
mov eax, 9
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401cc0
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x51c]
mov edx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00405250
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x51c]
lea ebx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00402640
push str.uninstall.exe
mov eax, 0xe
call fcn.00401cc0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004026b0
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 0x10
jb 0x40970a
mov eax, dword [eax]
push eax
push 0x48ac50
lea edi, [ebp - 0x28]
call fcn.0040a280
mov eax, dword [esi + 0x51c]
add esp, 8
sub eax, 0x10
call fcn.004026b0
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.uninstall.exe
mov eax, 0xe
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401cc0
mov eax, dword [esi + 0x51c]
sub eax, 0x10
call fcn.004026b0
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.uninstall.ico
mov eax, 0xe
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00401cc0
mov esi, dword [esi + 0x51c]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
push edi
push esi
mov esi, dword [ebp - 0x2c]
mov edx, ebx
mov ecx, esi
call fcn.00405250
lea eax, [edi - 0x10]
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40980f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409832
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409855
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40989b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4