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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x492ffa
sub esp, 0x70
call fcn.00462400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp]
mov dword [esp + 0x58], edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x492e01
mov eax, dword [esp + 0x6c]
add eax, 0xc
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
cmp ebx, ecx
jge 0x492e4f
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x6c], eax
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov edx, dword [edx + ebx*4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
jmp 0x492e81
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x68]
jmp 0x492deb
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], esi
add esp, 0x70
ret
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x34]
cmp eax, ebx
jle 0x492f1a
mov dword [esp + 0x38], eax
sub eax, ebx
sar eax, 1
mov dword [esp + 0x48], eax
lea esi, [eax + ebx]
mov dword [esp + 0x44], esi
mov edi, dword [ecx + esi*4]
mov dword [esp], edx
mov dword [esp + 4], edi
call fcn.00492d60
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00492080
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
call fcn.00403270
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x492ef4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
jmp 0x492e65
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
lea ecx, [edx + ecx + 1]
mov eax, dword [esp + 0x38]
jmp 0x492e65
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov edx, dword [esp + 0x5c]
mov ebp, ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jge 0x492deb
mov dword [esp + 0x34], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov eax, dword [ecx + ebx*4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00492d60
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov dword [esp], eax
call fcn.00492080
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
cmp dword [esp + 8], ecx
jne 0x492e41
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00403360
movzx eax, byte [esp + 0xc]
test al, al
je 0x492e3d
mov ecx, dword [esp + 0x40]
inc ecx
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x492f99
mov edi, dword [esp + 0x68]
mov esi, edx
jmp 0x492fcb
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x500a40]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [0x60b520]
lea ebx, [edi + ecx*4 - 4]
test edx, edx
jne 0x492fe6
mov eax, dword [esp + 0x54]
mov dword [edi + ecx*4 - 4], eax
jmp 0x492f09
mov eax, dword [esp + 0x54]
mov edx, edi
mov edi, ebx
call fcn.00465480
mov edi, edx
jmp 0x492f09
call fcn.00464070
jmp fcn.00492db0