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

Disassembly:
push 0xffffffffffffffff
push 0x59f60b
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x691844]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x6c]
call fcn.00521330
xor ebx, ebx
push ebx
push 0x5af344
push str.Resource_StaticNpc.bin
lea ecx, [esp + 0x78]
mov dword [esp + 0x4a0], ebx
call fcn.00521580
lea ecx, [esp + 0x6c]
call fcn.00520400
test eax, eax
je 0x473691
push 0x7f
lea eax, [esp + 0x40d]
push ebx
push eax
mov byte [esp + 0x414], bl
call sub.MSVCR90.dll_memset
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.00521290
test eax, eax
jne 0x473688
nop
lea ecx, [esp + 0x6c]
call fcn.00521800
lea ecx, [esp + 0x6c]
call fcn.00521820
lea ecx, [esp + 0x408]
push ecx
lea ecx, [esp + 0x70]
call fcn.00520e10
lea ecx, [esp + 0x6c]
call fcn.00521820
lea ecx, [esp + 0x6c]
movzx ebp, ax
call fcn.00521800
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.00521800
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
call fcn.005217d0
fstp st(0)
cmp ebp, 0x7d0
jbe 0x473677
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + eax*4 + 0x24], ebp
jne 0x473669
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 + 0x408]
mov byte [esp + eax + 0x50], cl
inc eax
cmp cl, bl
jne 0x4735e0
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.00599902
add esp, 4
cmp eax, ebx
je 0x47363c
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 0x47363e
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 + 0x2bc]
call fcn.00594150
mov ecx, esi
call fcn.00472ef0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x4735a6
lea ecx, [esp + 0x6c]
call fcn.00521290
test eax, eax
je 0x473540
lea ecx, [esp + 0x6c]
call fcn.00520350
lea ecx, [esp + 0x6c]
mov dword [esp + 0x494], 0xffffffff
call fcn.005207d0
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.005997a8
add esp, 0x484
ret
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x621
call edx
mov dword [esi + 0x29c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x622
mov ecx, esi
call edx
mov dword [esi + 0x2d8], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x623
mov ecx, esi
call edx
mov dword [esi + 0x2dc], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x624
mov ecx, esi
call edx
mov dword [esi + 0x2e0], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x625
mov ecx, esi
call edx
mov dword [esi + 0x2e4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x626
mov ecx, esi
call edx
mov ecx, dword [esi + 0x2e4]
mov dword [esi + 0x2e8], eax
test ecx, ecx
je 0x4737bc
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
mov ecx, dword [esi + 0x2e8]
test ecx, ecx
je 0x4737cf
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
mov ecx, esi
pop esi
jmp 0x473460