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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4994fd
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 + 0x14], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov edi, dword [esp + 4]
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
jmp 0x499357
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x38]
add ebx, edx
add ecx, edx
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x18]
add eax, esi
lea esi, [edi + 1]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x24], esi
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x24]
cmp ebp, edi
je 0x49936d
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], eax
jmp 0x499385
add esp, 0x64
ret
add eax, 4
inc edx
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x24]
cmp ecx, eax
jle 0x499319
mov ebp, dword [esp + 0x80]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp]
cmp edx, edi
jae 0x4994f3
movzx ebp, byte [edx + ebp]
test ebp, ebp
je 0x499371
mov edi, ebp
shl ebp, 8
or edi, ebp
mov dword [esp + 0x2c], 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 0x4994ea
cmp eax, ebp
ja 0x4994e3
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], 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 + 0x2c]
mov edi, dword [esp + 0x34]
imul esi, edi
add ebp, esi
mov eax, 0x80008001
mul ebp
shr edx, 0x17
mov ebp, dword [esp + 0x20]
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 + 0x2c]
imul esi, ebx
add ebp, esi
mov eax, 0x80008001
mul ebp
shr edx, 0x17
mov ebp, dword [esp + 0x20]
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 + 0x2c]
mov edi, dword [esp + 0x30]
imul esi, edi
add ebp, esi
mov eax, 0x80008001
mul ebp
shr edx, 0x17
mov ebp, dword [esp + 0x20]
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 + 0x20]
mov byte [edi + ebp + 3], dl
mov eax, ebp
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
jmp 0x499371
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.00499250