Function at 0x4033d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444490
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x453ac0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push str.C:Naiky_
lea ecx, [esp + 0x30]
call fcn.00408e70
mov esi, dword [ebp + 8]
mov dword [esp + 0x80], 0
cmp dword [esi + 0x98], 0
je 0x4039db
test byte [0x459090], 1
jne 0x403435
or dword [0x459090], 1
call fcn.00415640
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40344f
push 0x80004005
call fcn.00401ef0
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call fcn.00425545
add esp, 8
test eax, eax
setne al
test al, al
jne 0x4039db
call fcn.00415820
push eax
lea ecx, [esp + 0x2c]
call fcn.00408e70
push 7
push str.config_
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 1
call fcn.00407ed0
mov eax, dword [esi + 0xa0]
sub eax, 0x10
push eax
call fcn.00408e00
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
push 4
push str..
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 2
call fcn.00407ed0
lea ecx, [esp + 0x44]
call fcn.00420200
mov byte [esp + 0x80], 3
mov ecx, dword [0x458af8]
mov eax, dword [ecx*4 + 0x455948]
push eax
lea ecx, [esp + 0x14]
call fcn.00408e70
mov byte [esp + 0x80], 4
mov edx, dword [esp + 0x24]
push 0
push edx
lea ecx, [esp + 0x4c]
call fcn.0042028c
test eax, eax
je 0x4038e1
lea ecx, [esp + 0x44]
call fcn.0041ff19
mov dword [esp + 0x40], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
call fcn.004204bb
push 0x449e9c
push str._amend.dat
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x8c], 5
call fcn.00406820
test eax, eax
jne 0x403568
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4038c7
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00406cf0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 6
call fcn.00409230
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00408e00
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
push 0x44a250
push 0x449e9c
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x8c], 7
call fcn.00406820
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x48]
call fcn.0042042b
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 8
call fcn.00420200
mov byte [esp + 0x80], 9
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.0042028c
test eax, eax
je 0x403841
test byte [0x4593b4], 1
jne 0x40363b
or dword [0x4593b4], 1
test byte [0x459090], 1
jne 0x40364b
or dword [0x459090], 1
call fcn.00415640
push eax
push str.C:Naiky_
push 0x4592a8
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0x4592a8
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x4592a8
lea ecx, [esp + 0x20]
call fcn.00408e70
push 0xc
push str.ncstudio.fmt
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 0xa
call fcn.00407ed0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405410
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.00408e00
lea esi, [eax + 0x10]
add esp, 0xc
mov dword [esp + 0x18], esi
push 0x5c
push esi
mov byte [esp + 0x88], 0xb
call fcn.00425cb4
add esp, 8
test eax, eax
jne 0x4036d8
or eax, 0xffffffff
jmp 0x4036da
sub eax, esi
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
call fcn.00406c70
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0xc
call fcn.00409230
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403723
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.00425cb4
add esp, 8
test eax, eax
jne 0x40373b
or ecx, 0xffffffff
jmp 0x40373f
sub eax, esi
mov ecx, eax
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.00406bf0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0xd
call fcn.00409230
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40378d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x18]
call fcn.00406b40
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00407ed0
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x4037d1
push esi
lea ecx, [esp + 0x14]
call fcn.00401f70
mov edx, dword [esp + 0x10]
test esi, esi
mov byte [edi + edx], 0xa
jl 0x40391b
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40391b
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x10]
add ebx, 0xfffffff0
mov byte [esi + ecx], 0
mov byte [esp + 0x80], 0xa
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x403819
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0x80], 9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
call fcn.0041fe49
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 8
call fcn.00420224
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403883
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], 0
jne 0x40350c
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x44]
call fcn.0041fe49
mov eax, dword [esi + 0xa0]
push eax
call fcn.00404830
mov ecx, dword [0x458af8]
mov eax, dword [ecx*4 + 0x455948]
xor ecx, ecx
add esp, 4
test eax, eax
setne cl
test ecx, ecx
jne 0x403925
push 0x80004005
call fcn.00401ef0
push 0x80070057
call fcn.00401ef0
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.00425545
add esp, 8
test eax, eax
setne al
test al, al
je 0x403952
mov eax, dword [0x458af8]
mov eax, dword [eax*4 + 0x455940]
push eax
lea ecx, [esp + 0x14]
call fcn.004067e0
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40397a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 2
call fcn.00420224
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4039b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4039db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4