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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4360c8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x4360c8]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0xf
pop edi
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ebx
push ebx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x38], esi
mov dword [esp + 0xe0], edi
call fcn.00403203
mov dword [esp + 0x228], ebx
push ebx
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], edi
call fcn.00403203
push ebx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], edi
call fcn.00403203
lea eax, [esp + 0xa8]
push eax
lea edi, [esp + 0xc8]
mov ecx, esi
mov byte [esp + 0x22c], 2
call fcn.0040b5dc
pop ecx
test al, al
jne 0x40b0db
push ebx
push 1
lea ecx, [esp + 0xe8]
call fcn.0040313e
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.0040313e
push ebx
push 1
jmp 0x40b5a0
mov dword [esp + 0x24], vtable.NekoGameSDK4th::Base::File::CNormalFile.0
mov dword [esp + 0x28], vtable.NekoGameSDK4th::Base::File::CFileWin32.0
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x22c], 3
call fcn.0040ad67
test eax, eax
jne 0x40b11f
lea ecx, [esp + 0x24]
call fcn.0040ad32
jmp 0x40b0b5
lea eax, [esp + 0xa8]
push eax
lea esi, [esp + 0x3c]
call fcn.004013f2
pop ecx
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x230], 4
call fcn.0040148e
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0x234], 5
call fcn.00401320
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x234], 6
call fcn.00402f3b
xor edi, edi
push ebx
inc edi
push edi
mov ecx, esi
call fcn.0040313e
push ebx
push edi
lea ecx, [esp + 0x78]
call fcn.0040313e
push ebx
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x230], 3
call fcn.0040313e
lea eax, [esp + 0xa8]
push eax
lea esi, [esp + 0x3c]
call fcn.00401440
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x234], 7
call fcn.00402f3b
push ebx
push edi
mov ecx, esi
mov byte [esp + 0x230], 3
call fcn.0040313e
push edi
push 0xe
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x30]
call fcn.0040ad8a
test eax, eax
je 0x40b579
cmp byte [esp + 0xfc], 0x4e
jne 0x40b579
cmp byte [esp + 0xfd], 0x45
jne 0x40b579
cmp byte [esp + 0xfe], 0x4b
jne 0x40b579
cmp byte [esp + 0xff], 0x4f
jne 0x40b579
cmp byte [esp + 0x100], 0x50
jne 0x40b579
cmp byte [esp + 0x101], 0x41
jne 0x40b579
cmp byte [esp + 0x102], 0x43
jne 0x40b579
cmp byte [esp + 0x103], 0x4b
jne 0x40b579
cmp byte [esp + 0x104], 0x34
jne 0x40b579
cmp byte [esp + 0x105], 0x41
jne 0x40b579
push dword [esp + 0x106]
call fcn.00407ae6
pop ecx
push edi
push dword [esp + 0x10a]
mov esi, eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], esi
call fcn.0040ad8a
test eax, eax
jne 0x40b2ed
xor esi, esi
push dword [esp + 0x18]
call fcn.00407b41
pop ecx
lea ecx, [esp + 0x24]
call fcn.0040ad32
push ebx
push edi
lea ecx, [esp + 0xe8]
call fcn.0040313e
push ebx
push edi
lea ecx, [esp + 0xb0]
call fcn.0040313e
push ebx
push edi
lea ecx, [esp + 0xcc]
call fcn.0040313e
mov eax, esi
jmp 0x40b5ae
mov esi, dword [esi]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
jmp 0x40b436
push esi
lea eax, [esp + 0x110]
push edi
push eax
call fcn.0041b060
add esp, 0xc
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x58]
add edi, esi
call fcn.004032b4
lea eax, [esp + 0x54]
mov byte [esp + 0x228], 8
or dword [esp + 0x10], 1
push eax
lea esi, [esp + 0x90]
call fcn.00401320
pop ecx
mov ecx, eax
mov dword [esp + 0x228], 9
or dword [esp + 0x10], 2
lea eax, [esp + 0xa8]
call fcn.00402ccc
test al, al
jne 0x40b3b8
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x74]
call fcn.004032b4
lea eax, [esp + 0x70]
mov dword [esp + 0x228], 0xa
or dword [esp + 0x10], 4
push eax
lea esi, [esp + 0x3c]
call fcn.00401320
pop ecx
mov ecx, eax
mov dword [esp + 0x228], 0xb
or dword [esp + 0x10], 8
lea eax, [esp + 0xe0]
call fcn.00402ccc
mov byte [esp + 0x17], bl
test al, al
je 0x40b3bd
mov byte [esp + 0x17], 1
test byte [esp + 0x10], 8
je 0x40b3d5
and dword [esp + 0x10], 0xfffffff7
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0040313e
test byte [esp + 0x10], 4
je 0x40b3ed
and dword [esp + 0x10], 0xfffffffb
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.0040313e
test byte [esp + 0x10], 2
je 0x40b408
and dword [esp + 0x10], 0xfffffffd
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0040313e
mov dword [esp + 0x228], 3
test byte [esp + 0x10], 1
je 0x40b42b
and dword [esp + 0x10], 0xfffffffe
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.0040313e
cmp byte [esp + 0x17], bl
jne 0x40b44c
add edi, 8
mov esi, dword [edi]
add edi, 4
cmp esi, ebx
jne 0x40b2fc
xor edi, edi
or esi, 0xffffffff
inc edi
jmp 0x40b2a9
mov cl, byte [esp + 0x10c]
cmp cl, bl
je 0x40b46c
lea eax, [esp + 0x10c]
movsx ecx, cl
add dword [esp + 0x1c], ecx
inc eax
mov cl, byte [eax]
cmp cl, bl
jne 0x40b45e
mov esi, dword [edi]
mov edi, dword [edi + 4]
push dword [esp + 0x18]
xor esi, dword [esp + 0x20]
xor edi, dword [esp + 0x20]
call fcn.00407b41
pop ecx
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.004075b9
cmp al, bl
jne 0x40b49d
or esi, 0xffffffff
xor edi, edi
inc edi
jmp 0x40b2b3
lea eax, [edi + 8]
push eax
call fcn.00407ae6
pop ecx
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x40b4d6
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x18], 0x10
jb 0x40b4be
mov eax, dword [eax + 4]
jmp 0x40b4c1
add eax, 4
push edi
push eax
push str.CZipArchiveFile::_Load__
call fcn.0040114f
mov esi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x40b513
push 1
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.0040ad8a
mov esi, dword [esp + 0x20]
test eax, eax
je 0x40b509
lea eax, [esi + 0x14]
call fcn.0040e861
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x14]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], edi
call fcn.0040e7e0
test al, al
jne 0x40b555
push dword [esp + 0x18]
call fcn.00407b41
pop ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea ecx, [esp + 0x24]
call fcn.0040ad32
push ebx
push 1
lea ecx, [esp + 0xe8]
call fcn.0040313e
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.0040313e
push ebx
push 1
lea ecx, [esp + 0xcc]
call fcn.0040313e
or eax, 0xffffffff
jmp 0x40b5ae
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x34]
push dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
call fcn.00407b41
xor esi, esi
pop ecx
inc esi
jmp 0x40b495
lea ecx, [esp + 0x24]
call fcn.0040ad32
push ebx
push edi
lea ecx, [esp + 0xe8]
call fcn.0040313e
push ebx
push edi
lea ecx, [esp + 0xb0]
call fcn.0040313e
push ebx
push edi
lea ecx, [esp + 0xcc]
call fcn.0040313e
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004197af
mov esp, ebp
pop ebp
ret 4