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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x492c7a
sub esp, 0x70
call fcn.00462360
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 0x492a81
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 0x492acf
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 0x492b01
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x68]
jmp 0x492a6b
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 0x492b9a
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.004929e0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00491d00
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 0x492b74
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
jmp 0x492ae5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
lea ecx, [edx + ecx + 1]
mov eax, dword [esp + 0x38]
jmp 0x492ae5
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 0x492a6b
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.004929e0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov dword [esp], eax
call fcn.00491d00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
cmp dword [esp + 8], ecx
jne 0x492ac1
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 0x492abd
mov ecx, dword [esp + 0x40]
inc ecx
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x492c19
mov edi, dword [esp + 0x68]
mov esi, edx
jmp 0x492c4b
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, [0x5009c0]
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 [0x60a560]
lea ebx, [edi + ecx*4 - 4]
test edx, edx
jne 0x492c66
mov eax, dword [esp + 0x54]
mov dword [edi + ecx*4 - 4], eax
jmp 0x492b89
mov eax, dword [esp + 0x54]
mov edx, edi
mov edi, ebx
call fcn.00465280
mov edi, edx
jmp 0x492b89
call fcn.00463e70
jmp fcn.00492a30