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

Disassembly:
sub esp, 0x70
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], 0x4f3760
mov dword [esp + 0x4c], 2
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.00499a98
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
cmp dword [esp + 0x74], 0
je 0x4926b2
push dword [esp + 0x78]
xor eax, eax
push dword [esp + 0x78]
call fcn.00499aac
mov ecx, dword [esp + 0x74]
mov ebx, 0x4f3770
mov dword [esp + 0x44], eax
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
push dword [esp + 0x60]
push dword [esp + 0x60]
push ebx
push 4
call fcn.004081c8
test al, al
je 0x4923eb
mov dword [esp + 0x7c], ebp
mov edi, dword [esp + 0x7c]
movzx ecx, byte [edi + 1]
mov dword [esp + 8], ecx
movzx edx, byte [edi]
mov dword [esp + 4], edx
mov dword [esp], 0x50f4c0
call fcn.004ab600
mov esi, dword [0x510b40]
mov eax, dword [0x510b44]
mov dword [esp + 0x54], esi
xor ebx, ebx
mov dword [esp + 0x58], eax
cmp dword [esp + 0x54], ebx
je 0x49236a
mov ebp, dword [0x510b44]
mov esi, ebp
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ebx, ebx
je 0x492344
mov dword [esp], 0x50f584
call fcn.004ab600
mov dword [esp], 0x50f588
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.004ab600
add ebp, 0xc
inc ebx
cmp ebx, dword [esp + 0x54]
jb 0x49232b
mov eax, dword [esp + 0x7c]
fld dword [eax + 0x20]
xor ecx, ecx
xor edx, edx
fstp qword [esp + 0x2c]
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov esi, dword [eax + 0x18]
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x1c], esi
mov edi, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], edi
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], 0x50f590
call fcn.004ab600
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00499a98
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
cmp dword [esp + 0x74], 0
jne 0x49229f
jmp 0x4926b2
mov esi, 1
cmp dword [esp + 0x44], esi
jbe 0x4923ff
mov eax, dword [esp + 0x48]
cmp byte [eax], 0x20
jne 0x49245b
mov dword [esp + 0x14], 0x4f3760
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x4f3780
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0x50f78c
mov dword [esp], 0x4f5598
call fcn.004a9fd8
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add esp, 0x70
xor eax, eax
ret 0xc
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
lea edi, [ecx - 1]
mov dword [esp + 0x44], edi
inc edx
mov dword [esp + 0x48], edx
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499b64
mov ebx, eax
cmp eax, 9
ja case.default.0x492487
jmp dword [ebx*4 + 0x4f3730]
push dword [esp + 0x60]
push dword [esp + 0x60]
lea edx, [esp + 0x4c]
push edx
push ebp
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.0046547c
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea esi, [ebp + 1]
push dword [esp + 0x60]
lea ecx, [esp + 0x4c]
push ecx
push esi
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499b7c
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea eax, [ebp + 4]
push dword [esp + 0x60]
lea ebx, [esp + 0x4c]
push ebx
push eax
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499cfc
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea edx, [ebp + 0xc]
push dword [esp + 0x60]
lea esi, [esp + 0x4c]
push esi
push edx
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499dd4
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea ecx, [ebp + 0x10]
push dword [esp + 0x60]
lea eax, [esp + 0x4c]
push eax
push ecx
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499dd4
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea ebx, [ebp + 0x14]
push dword [esp + 0x60]
lea edx, [esp + 0x4c]
push edx
push ebx
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499dd4
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea esi, [ebp + 0x18]
push dword [esp + 0x60]
lea ecx, [esp + 0x4c]
push ecx
push esi
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499dd4
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea eax, [ebp + 0x1c]
push dword [esp + 0x60]
lea ebx, [esp + 0x4c]
push ebx
push eax
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499dd4
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea edx, [ebp + 0x20]
push dword [esp + 0x60]
lea esi, [esp + 0x4c]
push esi
push edx
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499f34
xor al, 1
jne 0x492624
jmp 0x492698
push dword [esp + 0x60]
lea ecx, [ebp + 0x24]
push dword [esp + 0x60]
lea eax, [esp + 0x4c]
push eax
push ecx
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.00499cfc
xor al, 1
je 0x492698
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add esp, 0x70
xor eax, eax
ret 0xc
mov dword [esp + 0x14], 0x4f3760
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x4f37a0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x50f78c
mov dword [esp], 0x4f5598
call fcn.004a9fd8
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add esp, 0x70
xor eax, eax
ret 0xc
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00499a98
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
jmp 0x4923db
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add esp, 0x70
mov eax, 1
ret 0xc