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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519276
sub esp, 0x70
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x78]
mov edi, ebp
sub ebp, esi
mov eax, edi
mov edi, dword [esp + 0x90]
mov ecx, esi
mov esi, dword [esp + 0x7c]
mov edx, edi
sub edi, esi
mov ebx, esi
mov esi, dword [esp + 0x80]
add ebp, esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x84]
add edi, ebp
cmp esi, ecx
jg 0x518ea9
mov edi, ebx
mov ebx, 1
mov dword [esp + 0x40], ebx
mov ebx, edi
jmp 0x518fcd
cmp ebp, ebx
jg 0x518ebf
mov edi, ebx
mov edi, 1
mov dword [esp + 0x40], edi
mov edi, ebx
jmp 0x518fcd
mov ebp, dword [esp + 8]
cmp eax, ebp
jl 0x518ee5
mov edi, ebx
mov ebp, dword [esp + 0x84]
mov ebp, 1
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x84]
jmp 0x518fcd
cmp edx, edi
jl 0x518f07
mov edi, ebx
mov ebp, dword [esp + 0x84]
mov ebp, 1
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x84]
jmp 0x518fcd
cmp ecx, ebp
jge 0x518fb4
cmp esi, eax
jle 0x518f99
cmp ebx, edi
jge 0x518f7e
mov ebp, dword [esp + 0x84]
cmp ebp, edx
jle 0x518f6f
cmp ebx, edx
jg 0x518f30
jne 0x518f60
cmp ecx, eax
jle 0x518f51
dec esi
lea edi, [ecx - 1]
dec ebp
mov dword [esp + 0x10], ebp
lea ebp, [ebx - 1]
mov ecx, esi
mov esi, edi
mov edi, 0xffffffff
mov dword [esp + 0x40], edi
mov edi, ebx
mov ebx, dword [esp + 0x10]
jmp 0x518fcd
mov edi, ebx
mov ebx, 1
mov dword [esp + 0x40], ebx
mov ebx, edi
jmp 0x518fcd
mov edi, ebx
mov edi, 1
mov dword [esp + 0x40], edi
mov edi, ebx
jmp 0x518fcd
mov edi, ebx
mov edi, 1
mov dword [esp + 0x40], edi
mov edi, ebx
jmp 0x518fcd
mov edi, ebx
mov ebp, dword [esp + 0x84]
mov ebp, 1
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x84]
jmp 0x518fcd
mov edi, ebx
mov ebp, dword [esp + 0x84]
mov ebp, 1
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x84]
jmp 0x518fcd
mov edi, ebx
mov ebp, dword [esp + 0x84]
mov ebp, 1
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
lea ebp, [ebx + edx]
sub ebp, edi
mov edx, ebp
mov ebp, dword [esp + 0x9c]
add ebp, ebx
sub ebp, edi
lea edi, [ecx + eax]
mov eax, ebp
mov ebp, dword [esp + 0x78]
sub edi, ebp
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x98]
add edi, ecx
sub edi, ebp
mov dword [esp + 0x30], edi
sub esi, ecx
mov ebp, dword [esp + 0x24]
add esi, ebp
mov dword [esp + 0x20], esi
nop
mov esi, dword [esp + 0x74]
mov ebp, dword [esi + 0x14]
sub ebx, ebp
imul ebx, dword [esi + 0xc]
mov ebp, dword [esi + 0x10]
sub ecx, ebp
lea ebp, [ebx + ecx*4]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
jmp 0x51906c
mov esi, dword [esp + 0x40]
add ebp, esi
add edx, esi
add eax, esi
mov edi, dword [esp + 0x74]
mov edi, dword [edi + 0xc]
imul edi, esi
mov esi, dword [esp + 0x38]
add esi, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], ebp
mov ebp, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
cmp esi, ebp
je 0x5190a9
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
jmp 0x5191b4
add esp, 0x70
ret
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0x6c]
movzx edi, byte [ebp + esi]
movzx edx, byte [esi + ebp + 1]
mov dword [esp + 0x4c], edx
movzx ecx, byte [esi + ebp + 2]
mov dword [esp + 0x48], ecx
movzx ebx, byte [esi + ebp + 3]
mov dword [esp + 0x44], ebx
shl eax, 0x10
mov ebx, dword [esp + 0x50]
sub eax, ebx
mov dword [esp + 0x50], eax
mov eax, 0x80008001
mov ecx, dword [esp + 0x50]
mul ecx
shr edx, 0xf
lea eax, [edx - 0xffff]
neg eax
imul edi, eax
mov edx, edi
shl edi, 8
add edx, edi
mov edi, dword [esp + 0x18]
imul edi, ebx
add edx, edi
mov ebx, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [esi + ebp], dl
mov eax, dword [esp + 0x4c]
imul eax, ebx
mov edx, eax
shl eax, 8
add eax, edx
add eax, edi
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [esi + ebp + 1], dl
mov eax, dword [esp + 0x48]
imul eax, ebx
mov edx, eax
shl eax, 8
add eax, edx
add eax, edi
mov edx, 0x80008001
mul edx
shr edx, 0x17
mov byte [esi + ebp + 2], dl
mov eax, dword [esp + 0x44]
imul ebx, eax
mov eax, ebx
shl ebx, 8
add eax, ebx
add eax, ecx
mov ecx, 0x80008001
mul ecx
shr edx, 0x17
mov byte [esi + ebp + 3], dl
mov eax, dword [esp + 0x40]
lea ebp, [ebp + eax*4]
mov edx, dword [esp + 0x28]
lea edi, [eax + edx]
mov edx, dword [esp + 0x34]
add edx, eax
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x28], edi
mov edi, edx
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x519044
mov dword [esp + 0x34], edi
mov ebp, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x6c], esi
mov esi, dword [ecx + 0x14]
sub eax, esi
imul eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
sub edi, esi
add eax, edi
cmp ebp, eax
jbe 0x51926e
mov ebp, dword [esp + 0x6c]
movzx ebp, byte [ebp + eax]
mov esi, ebp
shl ebp, 8
or ebp, esi
mov esi, dword [esp + 0x88]
mov edi, dword [esi + 4]
mov eax, ebp
mov ebp, dword [esi]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esi + 0x14]
sub edx, ebp
imul edx, dword [esi + 0xc]
mov ebp, dword [esi + 0x10]
mov esi, dword [esp + 0x28]
sub esi, ebp
lea ebp, [edx + esi]
cmp edi, ebp
jbe 0x519265
mov esi, dword [esp + 0x6c]
movzx ebp, byte [esi + ebp]
mov esi, ebp
shl ebp, 8
or ebp, esi
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x74]
mov edi, dword [esi]
mov dword [esp + 0x6c], edi
mov esi, dword [esi + 8]
mov ebp, dword [esp + 0x3c]
lea edi, [ebp + 4]
cmp esi, edi
jb 0x51925c
cmp ebp, edi
jbe 0x5190ad
mov eax, ebp
mov ecx, edi
call fcn.00465ec0
mov edx, edi
mov ebx, esi
call fcn.00465ea0
mov eax, ebp
mov ecx, edi
call fcn.00465e00
mov ecx, ebp
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00518e40