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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x499441
sub esp, 0x84
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov edx, dword [esp + 0x90]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x30]
sub ebx, dword [esp + 0x4c]
cmp edx, ebx
jg 0x498e83
jmp 0x498f90
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
lea ebx, [0x4a7ea0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea eax, [edx + eax + 2]
mov dword [esp + 8], eax
call fcn.00448290
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x4c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [edx + 2]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x70], eax
jl 0x498f31
jmp 0x498f3b
mov edx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
jmp 0x498f3d
jmp 0x498f3d
mov edx, dword [esp + 0x6c]
cmp dword [esp + 0x78], edx
jne 0x498f49
jmp 0x498f6b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045e1c0
jmp 0x498f6d
jmp 0x498f6d
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
jmp 0x498f92
jmp 0x498f92
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
cmp ebp, ebx
jae 0x498fb0
jmp 0x498fb2
jmp 0x498fe9
mov dword [esp + 0x34], edx
lea eax, [0x4a7ea0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
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 edx, dword [esp + 0x34]
jmp 0x498fe9
movzx edi, byte [esp + 0x9c]
add edx, esi
xchg edi, eax
mov byte [edx], al
xchg edi, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x28], 0
jmp 0x499016
mov edx, dword [esp + 0x98]
mov dword [esp + 0x30], edx
test edx, edx
jg 0x49902a
jmp 0x49938e
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
test ecx, ecx
ja 0x499041
jmp 0x499439
movzx edx, byte [edx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 1
cmp dword [esp + 0x2c], 0x80
jge 0x49905c
jmp 0x499098
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0047ee30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
jmp 0x49909a
jmp 0x49909a
cmp dword [esp + 0x28], 1
sete dl
mov byte [esp + 0x27], dl
je 0x4990aa
jmp 0x4990bb
cmp dword [esp + 0x2c], 0xfffd
sete dl
mov byte [esp + 0x27], dl
jmp 0x4990bd
jmp 0x4990bd
movzx edx, byte [esp + 0x27]
test dl, dl
jne 0x4990cb
jmp 0x4992dd
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
add edx, 2
mov dword [esp + 0x38], edx
lea ebx, [esp + 0x60]
cmp dword [ebx + 8], edx
jb 0x4990fe
jmp 0x499142
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
lea ebp, [0x4a7ea0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00448330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
jmp 0x499144
jmp 0x499144
mov edx, dword [esp + 0x38]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x60]
add edx, dword [esp + 0x8c]
mov dword [esp + 0x50], edx
mov word [edx], 0x785c
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
test ecx, ecx
ja 0x499198
jmp 0x499432
movzx edx, byte [edx]
shr dl, 4
mov byte [esp + 0x26], dl
movzx edx, dl
jmp 0x4991a7
lea ebx, [0x4b2cff]
add edx, ebx
movzx edx, byte [edx]
mov byte [esp + 0x25], dl
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x88]
lea esi, [edx + 1]
cmp ebx, esi
jae 0x4991d4
jmp 0x4991d6
jmp 0x49920d
mov dword [esp + 0x34], edx
lea eax, [0x4a7ea0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00448330
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov edx, dword [esp + 0x34]
jmp 0x49920d
movzx edi, byte [esp + 0x25]
add edx, ebp
xchg edi, eax
mov byte [edx], al
xchg edi, eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
test ecx, ecx
ja 0x499244
jmp 0x49942b
movzx edx, byte [edx]
mov ebx, edx
and edx, 0xf
mov byte [esp + 0x24], dl
and ebx, 0xf
jmp 0x499255
lea edx, [0x4b2cff]
add edx, ebx
movzx edx, byte [edx]
mov byte [esp + 0x23], dl
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x88]
lea esi, [edx + 1]
cmp ebx, esi
jae 0x499282
jmp 0x499284
jmp 0x4992bb
mov dword [esp + 0x34], edx
lea eax, [0x4a7ea0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00448330
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov edx, dword [esp + 0x34]
jmp 0x4992bb
movzx edi, byte [esp + 0x23]
add edx, ebp
xchg edi, eax
mov byte [edx], al
xchg edi, eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebx
jmp 0x499353
jmp 0x4992df
movzx eax, byte [esp + 0x9c]
mov ecx, dword [esp + 0x2c]
movzx edx, byte [esp + 0x9d]
movzx ebx, byte [esp + 0x9e]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], al
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], bl
call fcn.00499450
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
jmp 0x499353
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
cmp ecx, eax
jae 0x49936e
jmp 0x499426
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add edx, eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebx
jmp 0x499016
mov eax, dword [esp + 0x8c]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x88]
cmp edx, ecx
jae 0x4993ac
jmp 0x4993ae
jmp 0x4993e5
mov dword [esp + 0x34], eax
lea ebp, [0x4a7ea0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00448330
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x34]
jmp 0x4993e5
movzx ebp, byte [esp + 0x9c]
add eax, ebx
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x84
ret
call fcn.0045d9c0
xor eax, eax
call fcn.0045d960
xor eax, eax
call fcn.0045d960
xor eax, eax
call fcn.0045d960
nop
call fcn.0045c4a0
jmp fcn.00498e10