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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4994dd
sub esp, 0x64
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
nop
nop
nop
nop
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x14]
mov ebp, dword [esp + 0x70]
sub ebp, ebx
imul ebp, dword [edx + 0xc]
mov dword [esp + 0x54], ebp
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
sub edi, dword [edx + 0x14]
imul edi, dword [edx + 0xc]
mov dword [esp + 0x4c], edi
mov esi, dword [esp + 0x84]
sub esi, dword [edx + 0x10]
mov dword [esp + 0x48], esi
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
mov edx, eax
sub eax, ecx
mov ecx, dword [esp + 0x54]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x74]
sub ecx, edx
lea ecx, [eax + ecx*4]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
add edx, ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov edi, dword [esp + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
jmp 0x499337
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x24]
add ebx, edx
add ecx, edx
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x2c]
add eax, esi
lea esi, [edi + 1]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
cmp ebp, edi
je 0x49934d
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
jmp 0x499365
add esp, 0x64
ret
add eax, 4
inc edx
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
cmp ecx, eax
jle 0x4992f9
mov ebp, dword [esp + 0x80]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp]
cmp edx, edi
jae 0x4994d3
movzx ebp, byte [edx + ebp]
test ebp, ebp
je 0x499351
mov edi, ebp
shl ebp, 8
or edi, ebp
mov dword [esp + 0x14], edi
imul edi, esi
mov esi, dword [esp + 0x68]
mov ebp, dword [esi]
mov dword [esp + 0x60], ebp
mov esi, dword [esi + 8]
lea ebp, [eax + 4]
cmp esi, ebp
jb 0x4994ca
cmp eax, ebp
ja 0x4994c3
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edx
mov ebp, eax
mov eax, 0x80008001
mul edi
shr edx, 0xf
lea esi, [edx - 0xffff]
xchg esi, ebx
neg ebx
xchg esi, ebx
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x60]
movzx ebp, byte [ebp + edi]
imul ebp, esi
mov dword [esp + 0x3c], ebp
shl ebp, 8
mov esi, dword [esp + 0x3c]
add ebp, esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
imul esi, edi
add ebp, esi
mov eax, 0x80008001
mul ebp
shr edx, 0x17
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x60]
mov byte [edi + ebp], dl
movzx esi, byte [edi + ebp + 1]
mov ebp, dword [esp + 0x40]
imul esi, ebp
mov dword [esp + 0x3c], esi
shl esi, 8
mov ebp, dword [esp + 0x3c]
add ebp, esi
mov esi, dword [esp + 0x14]
imul esi, ebx
add ebp, esi
mov eax, 0x80008001
mul ebp
shr edx, 0x17
mov ebp, dword [esp + 0x38]
mov byte [edi + ebp + 1], dl
movzx esi, byte [edi + ebp + 2]
mov ebp, dword [esp + 0x40]
imul esi, ebp
mov dword [esp + 0x3c], esi
shl esi, 8
mov ebp, dword [esp + 0x3c]
add ebp, esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
imul esi, edi
add ebp, esi
mov eax, 0x80008001
mul ebp
shr edx, 0x17
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x60]
mov byte [edi + ebp + 2], dl
movzx esi, byte [edi + ebp + 3]
mov ebp, dword [esp + 0x40]
imul ebp, esi
mov esi, ebp
shl ebp, 8
add ebp, esi
mov esi, dword [esp + 0x44]
add ebp, esi
mov eax, ebp
mov esi, 0x80008001
mul esi
shr edx, 0x17
mov ebp, dword [esp + 0x38]
mov byte [edi + ebp + 3], dl
mov eax, ebp
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x499351
mov ecx, ebp
call fcn.00452c80
mov edx, ebp
mov ebx, esi
call fcn.00452c60
mov eax, edx
mov ecx, edi
call fcn.00452bc0
nop
call fcn.00451710
jmp fcn.00499230