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

Disassembly:
push 0xffffffffffffffff
push 0x574ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x648]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x6c]
call fcn.00509be0
xor ebx, ebx
push ebx
push 0x57e610
push str.Resource_StaticNpc.bin
lea ecx, [esp + 0x78]
mov dword [esp + 0x65c], ebx
call fcn.0050a6f0
lea ecx, [esp + 0x6c]
call fcn.00509d60
test eax, eax
je 0x46dc21
push 0x7f
lea eax, [esp + 0x5c9]
push ebx
push eax
mov byte [esp + 0x5d0], bl
call fcn.0055a690
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], 0x7d6
mov dword [esp + 0x28], 0x7d7
mov dword [esp + 0x2c], 0x7dc
mov dword [esp + 0x30], 0x7e1
mov dword [esp + 0x34], 0x7d1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00509d10
test eax, eax
jne 0x46dc18
nop
lea ecx, [esp + 0x6c]
call fcn.0050a900
lea ecx, [esp + 0x6c]
call fcn.0050a900
lea ecx, [esp + 0x5c4]
push ecx
lea ecx, [esp + 0x70]
call fcn.00509f40
lea ecx, [esp + 0x6c]
call fcn.0050a900
lea ecx, [esp + 0x6c]
movzx ebp, ax
call fcn.0050a900
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.0050a900
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
call fcn.0050a920
fstp st(0)
cmp ebp, 0x7d0
jbe 0x46dc07
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + eax*4 + 0x24], ebp
jne 0x46dbf9
xor eax, eax
lea edx, [ebp - 0x7d0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x64], al
mov dword [esp + 0x4c], ebx
mov word [esp + 0x65], dx
lea esp, [esp]
mov cl, byte [esp + eax + 0x5c4]
mov byte [esp + eax + 0x50], cl
inc eax
cmp cl, bl
jne 0x46db70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add eax, 0x32
movzx eax, ax
add ecx, 0x32
movzx ecx, cx
shl eax, 0x10
or eax, ecx
push 0x1f
mov dword [esp + 0x6b], eax
call fcn.0055a781
add esp, 4
cmp eax, ebx
je 0x46dbcc
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [eax + 0x18], cl
xor edx, edx
mov word [eax + 0x19], dx
mov dword [eax + 0x1b], ebx
jmp 0x46dbce
xor eax, eax
mov edi, eax
mov ecx, 7
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x238]
call fcn.005584f0
mov ecx, esi
call fcn.0046d4a0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x46db36
lea ecx, [esp + 0x6c]
call fcn.00509d10
test eax, eax
je 0x46dad0
lea ecx, [esp + 0x6c]
call fcn.00509cb0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x650], 0xffffffff
call fcn.00509ee0
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.0055a677
add esp, 0x640
ret
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x61f
call edx
mov dword [esi + 0x218], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x621
mov ecx, esi
call edx
mov dword [esi + 0x254], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x623
mov ecx, esi
call edx
mov dword [esi + 0x258], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x624
mov ecx, esi
call edx
mov ecx, dword [esi + 0x258]
mov dword [esi + 0x25c], eax
test ecx, ecx
je 0x46dd24
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
mov ecx, dword [esi + 0x25c]
test ecx, ecx
je 0x46dd37
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
mov ecx, esi
pop esi
jmp 0x46d9f0