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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x498630
sub esp, 0x70
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x4982a1
jmp 0x4982cd
lea eax, [0x54cb14]
mov dword [esp + 0x44], eax
test byte [eax], al
jmp 0x4982af
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
lea ebx, [0x54cb14]
mov dword [esp + 0x40], ebx
test byte [ebx], al
jmp 0x4982db
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x21], 0
mov dword [esp + 0x28], 0
jmp 0x498306
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x28], ebx
jl 0x498319
jmp 0x498461
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
cmp ecx, eax
ja 0x49832e
jmp 0x49862a
add ebx, eax
movzx ebx, byte [ebx]
mov byte [esp + 0x22], bl
cmp bl, 0x22
je 0x49833e
jmp 0x498351
jmp 0x498340
movzx ebx, byte [esp + 0x21]
xor ebx, 1
mov byte [esp + 0x21], bl
jmp 0x498451
cmp bl, 0x3b
sete bl
mov byte [esp + 0x23], bl
je 0x49835f
jmp 0x49836d
movzx ebx, byte [esp + 0x21]
xor ebx, 1
mov byte [esp + 0x23], bl
jmp 0x49836f
jmp 0x49836f
movzx ebx, byte [esp + 0x23]
test bl, bl
jne 0x49837d
jmp 0x49844f
jmp 0x49837f
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
cmp edx, ecx
jae 0x498398
jmp 0x498625
cmp ecx, eax
jae 0x4983a1
jmp 0x498620
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add ebx, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
mov eax, ebx
inc ebx
cmp ebp, ebx
jae 0x4983cb
jmp 0x4983cd
jmp 0x498404
mov dword [esp + 0x34], eax
lea ecx, [0x4a7ce0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00448330
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x34]
jmp 0x498404
mov ecx, ebp
mov ebp, dword [esp + 0x50]
mov edx, ebx
mov ebx, dword [esp + 0x54]
mov edi, ebp
lea ebp, [esi + eax*8 + 4]
mov dword [ebp], ebx
mov ebx, dword [0x54cbf0]
lea ebp, [esi + eax*8]
test ebx, ebx
je 0x498428
jmp 0x49842d
mov dword [ebp], edi
jmp 0x498438
mov eax, edi
mov edi, ebp
call fcn.0045d8e0
jmp 0x498438
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x24], ebx
jmp 0x498451
jmp 0x498451
jmp 0x498453
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
jmp 0x498306
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
cmp ecx, eax
jae 0x498476
jmp 0x49861b
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea ecx, [edx + eax]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
lea ebp, [ecx + 1]
cmp edx, ebp
jae 0x4984a1
jmp 0x4984a3
jmp 0x4984da
mov dword [esp + 0x34], ecx
lea eax, [0x4a7ce0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00448330
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ecx, dword [esp + 0x34]
jmp 0x4984da
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edi, edx
lea edx, [ebx + ecx*8 + 4]
mov dword [edx], esi
mov edx, dword [0x54cbf0]
lea ecx, [ebx + ecx*8]
test edx, edx
je 0x4984f9
jmp 0x4984fd
mov dword [ecx], eax
jmp 0x49850a
mov edx, edi
mov edi, ecx
call fcn.0045d8e0
mov edi, edx
jmp 0x49850a
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], eax
jmp 0x498540
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x38], eax
jg 0x49854f
jmp 0x4985f0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4b0c88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00496360
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
cmp ebp, edx
ja 0x4985bf
jmp 0x498612
lea ebp, [ebx + edx*8 + 4]
mov dword [ebp], ecx
lea edi, [ebx + edx*8]
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x4985d5
jmp 0x4985d9
mov dword [edi], eax
jmp 0x4985e0
call fcn.0045d8e0
jmp 0x4985e0
jmp 0x4985e2
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
jmp 0x498540
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov eax, edx
mov ecx, ebp
call fcn.0045d960
call fcn.0045d9c0
call fcn.0045d9c0
call fcn.0045d980
call fcn.0045d960
nop
call fcn.0045c4a0
jmp fcn.00498260