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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4986fc
sub esp, 0x60
nop
nop
nop
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
sub ebp, esi
mov edi, dword [esp + 0x74]
mov eax, ebp
mov ebp, dword [esp + 0x6c]
sub edi, ebp
mov ecx, edi
mov edi, dword [esp + 0x64]
mov edx, esi
mov esi, dword [edi + 0x14]
mov ebx, ebp
sub ebp, esi
mov esi, dword [edi + 0xc]
mov dword [esp + 0x48], esi
imul ebp, esi
mov edi, dword [edi + 0x10]
sub edx, edi
lea ebp, [ebp + edx*4]
mov edi, dword [esp + 0x78]
mov edx, ebp
mov ebp, dword [edi + 0x14]
mov esi, dword [esp + 0x80]
sub esi, ebp
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x44], ebp
imul esi, ebp
mov edi, dword [edi + 0x10]
mov ebp, dword [esp + 0x7c]
sub ebp, edi
lea ebp, [esi + ebp*4]
mov esi, dword [esp + 0x80]
cmp ebx, esi
jl 0x498445
jne 0x498461
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
cmp esi, edi
jg 0x498461
shl eax, 2
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
xor edi, edi
mov ebx, 4
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x44]
jmp 0x49849c
lea edi, [ecx - 1]
mov esi, dword [esp + 0x48]
mov ebx, edi
imul edi, esi
add edi, edx
mov edx, edi
mov edi, dword [esp + 0x44]
imul ebx, edi
add ebp, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ebx, edi
lea edi, [eax - 1]
shl edi, 2
mov eax, 0xfffffffc
mov eax, 0xfffffffc
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edi
jmp 0x4984bf
mov ebp, dword [esp + 0x20]
add edx, ebp
mov edi, dword [esp + 0x18]
add edi, ebx
dec ecx
mov esi, ebp
mov ebp, edi
mov edi, dword [esp + 0x2c]
test ecx, ecx
jle 0x49854e
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x64]
mov edi, dword [esi + 4]
mov ebp, dword [esi]
mov esi, dword [esi + 8]
cmp edx, edi
ja 0x4986f2
sub esi, edx
mov dword [esp + 0xc], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, edx
add ebp, esi
mov dword [esp + 0x54], ebp
mov esi, dword [esp + 0x78]
mov ebp, dword [esi + 4]
mov edi, dword [esi]
mov dword [esp + 0x5c], edi
mov esi, dword [esi + 8]
mov edi, dword [esp + 0x18]
cmp edi, ebp
ja 0x4986e9
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
sub esi, edi
mov dword [esp + 0x30], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, edi
mov ebp, dword [esp + 0x5c]
add ebp, esi
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
jmp 0x498628
add esp, 0x60
ret
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
movzx ebx, byte [ecx + edi]
imul ebx, ebp
mov dword [esp + 0x40], ebx
shl ebx, 8
mov edx, dword [esp + 0x40]
add edx, ebx
mov ebx, eax
mov eax, 0x80008001
mul edx
shr edx, 0xf
mov eax, dword [esp + 0x38]
add eax, edx
shr eax, 8
mov byte [edi + ecx], al
movzx eax, byte [ecx + edi + 1]
imul eax, ebp
mov edx, eax
shl eax, 8
add eax, edx
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0xf
mov eax, dword [esp + 8]
add eax, edx
shr eax, 8
mov byte [edi + ecx + 1], al
movzx eax, byte [ecx + edi + 2]
imul eax, ebp
mov edx, eax
shl eax, 8
add eax, edx
mov edx, 0x80008001
mul edx
shr edx, 0xf
mov eax, dword [esp + 0x28]
add eax, edx
shr eax, 8
mov byte [edi + ecx + 2], al
movzx eax, byte [ecx + edi + 3]
imul ebp, eax
mov eax, ebp
shl ebp, 8
add eax, ebp
mov edx, 0x80008001
mul edx
shr edx, 0xf
mov eax, dword [esp + 0x24]
add eax, edx
shr eax, 8
mov byte [edi + ecx + 3], al
mov eax, dword [esp + 0x34]
add ecx, eax
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x58]
mov eax, ebx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
cmp eax, edi
je 0x4984aa
lea esi, [edi + 4]
mov ebp, dword [esp + 0x30]
cmp ebp, esi
jb 0x4986e0
cmp edi, esi
ja 0x4986d7
mov dword [esp + 0x48], esi
mov ebp, dword [esp + 0x58]
movzx esi, byte [edi + ebp]
mov dword [esp + 0x40], esi
shl esi, 8
mov ebp, dword [esp + 0x40]
add ebp, esi
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x58]
movzx ebp, byte [edi + esi + 1]
mov dword [esp + 0x40], ebp
shl ebp, 8
mov esi, dword [esp + 0x40]
add ebp, esi
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x58]
movzx ebp, byte [edi + esi + 2]
mov dword [esp + 0x40], ebp
shl ebp, 8
mov esi, dword [esp + 0x40]
add ebp, esi
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x58]
movzx esi, byte [edi + esi + 3]
mov dword [esp + 0x40], esi
shl esi, 8
mov ebp, dword [esp + 0x40]
lea edi, [esi + ebp]
mov dword [esp + 0x24], edi
lea ebp, [esi + ebp - 0xffff]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x48]
cmp esi, edi
jae 0x498552
mov edx, edi
mov ebx, esi
call fcn.00452c60
mov eax, edi
mov ecx, esi
call fcn.00452c80
mov edx, esi
mov ebx, ebp
call fcn.00452c60
mov eax, edi
mov ecx, ebp
call fcn.00452c20
mov eax, edx
mov ecx, edi
call fcn.00452c20
nop
call fcn.00451710
jmp fcn.004983b0