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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x51ab89
sub esp, 0x110
mov eax, dword [esp + 0x128]
lea ecx, [0x7869d0]
cmp eax, ecx
je 0x519e08
xor eax, eax
jmp 0x519e2b
mov dword [esp], ecx
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp + 8], ecx
call fcn.00403940
movzx eax, byte [esp + 0xc]
test al, al
je 0x519f37
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x118]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x134]
mov ebp, dword [esp + 0x11c]
sub ebx, ebp
mov edi, dword [esp + 0x120]
add eax, edi
mov esi, dword [esp + 0x124]
add ebx, esi
cmp edi, ecx
jg 0x519e75
mov ebx, 1
jmp 0x519f58
cmp esi, ebp
jg 0x519e83
mov ebx, 1
jmp 0x519f58
cmp edx, eax
jl 0x519e91
mov ebx, 1
jmp 0x519f58
mov edx, dword [esp + 0x134]
cmp edx, ebx
jl 0x519ea6
mov ebx, 1
jmp 0x519f58
cmp ecx, eax
jge 0x519f30
mov eax, dword [esp + 0x130]
cmp edi, eax
jle 0x519f29
cmp ebp, ebx
jge 0x519f22
cmp esi, edx
jle 0x519f1b
cmp ebp, edx
jg 0x519ecb
jne 0x519f02
cmp ecx, eax
jle 0x519ef0
lea ebx, [edi - 1]
lea edi, [ecx - 1]
dec esi
lea ecx, [ebp - 1]
mov ebp, esi
mov esi, ecx
mov ecx, 0xffffffff
mov dword [esp + 0xa4], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x11c]
jmp 0x519f12
mov ebx, ebp
mov ebx, 1
mov dword [esp + 0xa4], ebx
mov ebx, ebp
jmp 0x519f12
mov ebx, ebp
mov ebx, 1
mov dword [esp + 0xa4], ebx
mov ebx, ebp
mov ebx, dword [esp + 0xa4]
jmp 0x519f58
mov ebx, 1
jmp 0x519f58
mov ebx, 1
jmp 0x519f58
mov ebx, 1
jmp 0x519f58
mov ebx, 1
jmp 0x519f58
mov ebp, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
mov edi, dword [esp + 0x120]
mov esi, dword [esp + 0x124]
mov ebx, 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x1c], esi
nop
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 0x14]
sub ebp, edx
imul ebp, dword [eax + 0xc]
mov dword [esp + 0xc4], ebp
mov edx, dword [eax + 0x10]
mov dword [esp + 0xc0], edx
lea eax, [0x6b69a0]
mov dword [esp], eax
mov ebx, dword [esp + 0x128]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x12c]
mov dword [esp + 8], eax
call fcn.00409a40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x134]
add ecx, eax
mov edx, dword [esp + 0x11c]
sub ecx, edx
mov ebx, dword [esp + 0x144]
add ebx, eax
sub ebx, edx
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x130]
add ebp, edx
mov esi, dword [esp + 0x118]
sub ebp, esi
mov dword [esp + 0x48], ebp
mov edi, dword [esp + 0x140]
add edi, edx
sub edi, esi
mov dword [esp + 0x74], edi
mov esi, dword [esp + 0x38]
sub esi, edx
add esi, ebp
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x108], ebp
mov ebp, dword [esp + 0xc0]
sub edx, ebp
mov ebp, dword [esp + 0xc4]
lea edx, [ebp + edx*4]
test esi, esi
je 0x51a16e
mov dword [esp + 0x60], esi
mov ebp, dword [esp + 0x138]
test ebp, ebp
jne 0x51a078
mov ebx, dword [esp + 0x148]
test ebx, ebx
jne 0x51a064
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x108]
jmp 0x51a9dc
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x108]
jmp 0x51a8c4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x18], edx
lea eax, [0x6b69a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x13c]
mov dword [esp + 8], eax
call fcn.00409a40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x51a15a
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x148]
test edx, edx
jne 0x51a112
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd0]
jmp 0x51a697
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xe8]
jmp 0x51a4d1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x138]
mov ebp, dword [esp + 0x44]
jmp 0x51a1af
mov edx, dword [esp + 0xa4]
add eax, edx
add ecx, edx
mov edi, dword [esp + 0x70]
add edi, edx
mov esi, dword [esp + 0x114]
mov esi, dword [esi + 0xc]
imul esi, edx
mov edx, dword [esp + 0x8c]
add edx, esi
mov esi, dword [esp + 0x138]
mov ebx, edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
je 0x51a1e2
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x100]
jmp 0x51a21d
add esp, 0x110
ret
mov eax, dword [esp + 0xa4]
lea edx, [ebp + eax*4]
mov ebx, dword [esp + 0x4c]
lea ebp, [eax + ebx]
mov ebx, dword [esp + 0x78]
lea edi, [eax + ebx]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x138]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x4c]
cmp edx, ebp
je 0x51a17b
mov dword [esp + 0x78], edi
test esi, esi
jne 0x51a24d
mov dword [esp + 0xf8], eax
mov eax, 0xffff
mov dword [esp + 0x88], eax
jmp 0x51a28b
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x13c]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x128]
mov ebx, dword [eax + 0x10]
mov ebp, dword [esp + 0x12c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call ebx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x114]
mov esi, dword [ebp]
mov edi, dword [ebp + 8]
mov ebp, dword [esp + 0x90]
lea edx, [ebp + 4]
cmp edi, edx
jb 0x51a471
cmp ebp, edx
ja 0x51a468
mov edx, dword [esp + 0x148]
test edx, edx
jne 0x51a402
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
movzx edi, byte [esi + ebp]
movzx edx, byte [esi + ebp + 1]
mov dword [esp + 0xbc], edx
movzx ecx, byte [esi + ebp + 2]
mov dword [esp + 0xb8], ecx
movzx ecx, byte [esi + ebp + 3]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x88]
imul ebx, ecx
mov eax, 0x80008001
mul ebx
shr edx, 0xf
add edx, 0xffff0001
neg edx
mov dword [esp + 0xb0], edx
imul edi, edx
mov eax, edi
shl edi, 8
add edi, eax
mov eax, ebx
mov ebx, dword [esp + 0x64]
imul ebx, ecx
add ebx, edi
mov edi, eax
mov eax, 0x80008001
mul ebx
shr edx, 0x17
mov byte [esi + ebp], dl
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb0]
imul edx, ebx
mov eax, edx
shl edx, 8
add edx, eax
mov eax, edi
mov edi, dword [esp + 0x68]
imul edi, ecx
add edx, edi
mov edi, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [esi + ebp + 1], dl
mov edx, dword [esp + 0xb8]
imul edx, ebx
mov eax, edx
shl edx, 8
add edx, eax
mov eax, edi
mov edi, dword [esp + 0x6c]
imul ecx, edi
add ecx, edx
mov edx, eax
mov eax, 0x80008001
mov edi, edx
mul ecx
shr edx, 0x17
mov byte [esi + ebp + 2], dl
mov ecx, dword [esp + 0xb4]
imul ecx, ebx
mov edx, ecx
shl ecx, 8
add ecx, edx
lea eax, [edi + ecx]
mov ecx, 0x80008001
mul ecx
shr edx, 0x17
mov byte [esi + ebp + 3], dl
jmp 0x51a1e9
mov edi, dword [esp + 0x88]
imul eax, edi
mov dword [esp + 0xbc], eax
mov eax, 0x80008001
mov edx, dword [esp + 0xbc]
mul edx
shr edx, 0x17
mov byte [esi + ebp], dl
imul ecx, edi
mov eax, 0x80008001
mul ecx
shr edx, 0x17
mov byte [esi + ebp + 1], dl
mov ecx, dword [esp + 0x6c]
imul ecx, edi
mov eax, 0x80008001
mul ecx
shr edx, 0x17
mov byte [esi + ebp + 2], dl
imul edi, ebx
mov eax, 0x80008001
mul edi
shr edx, 0x17
mov byte [esi + ebp + 3], dl
mov ecx, 0x80008001
jmp 0x51a1e9
mov eax, ebp
mov ecx, edx
call fcn.00465ec0
mov ebx, edi
call fcn.00465ea0
mov ebx, dword [esp + 0xa4]
add ebp, ebx
mov esi, dword [esp + 0x40]
add esi, ebx
mov ecx, dword [esp + 0x70]
add ecx, ebx
mov eax, dword [esp + 0x114]
mov eax, dword [eax + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x8c]
add eax, ebx
mov ebx, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x8c], eax
mov dword [esp + 0x70], ecx
mov ebp, esi
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x28]
cmp edx, ebp
je 0x51a4fe
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xe0]
jmp 0x51a59e
add esp, 0x110
ret
mov ebx, dword [esp + 0xbc]
imul esi, ebx
mov ebp, eax
mov eax, 0x80008001
mul esi
shr edx, 0x17
mov eax, dword [esp + 0x94]
mov byte [ecx + eax], dl
imul edi, ebx
mov edx, eax
mov eax, 0x80008001
mov esi, edx
mul edi
shr edx, 0x17
mov byte [ecx + esi + 1], dl
mov eax, dword [esp + 0xb8]
imul eax, ebx
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [ecx + esi + 2], dl
imul ebp, ebx
mov eax, 0x80008001
mul ebp
shr edx, 0x17
mov byte [ecx + esi + 3], dl
mov eax, dword [esp + 0xa4]
lea ecx, [esi + eax*4]
mov edx, dword [esp + 0x50]
lea ebx, [eax + edx]
mov edx, dword [esp + 0x7c]
lea esi, [edx + eax]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x10c]
cmp ebx, edi
je 0x51a478
mov dword [esp + 0x50], ebx
mov dword [esp + 0x7c], esi
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
call edx
movzx eax, word [esp + 0x12]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x108]
mov dword [esp], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 8], esi
call edx
mov eax, dword [esp + 0x114]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x94]
lea ebp, [edx + 4]
movzx esi, word [esp + 0xc]
movzx edi, word [esp + 0xe]
movzx eax, word [esp + 0x10]
mov dword [esp + 0xb8], eax
movzx eax, word [esp + 0x12]
cmp ebx, ebp
jb 0x51a637
cmp edx, ebp
jbe 0x51a505
mov eax, edx
mov ecx, ebp
call fcn.00465ec0
mov edx, ebp
call fcn.00465ea0
mov ebx, dword [esp + 0xa4]
add ebp, ebx
mov esi, dword [esp + 0x40]
add esi, ebx
mov ecx, dword [esp + 0x70]
add ecx, ebx
mov eax, dword [esp + 0x114]
mov eax, dword [eax + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x8c]
add eax, ebx
mov ebx, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x8c], eax
mov dword [esp + 0x70], ecx
mov ebp, esi
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x2c]
cmp edx, ebp
je 0x51a4fe
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xc8]
jmp 0x51a7eb
mov dword [esp + 0xb4], eax
movzx ebx, byte [ecx + edx]
movzx ebp, byte [ecx + edx + 1]
movzx eax, byte [ecx + edx + 2]
mov dword [esp + 0xb0], eax
movzx eax, byte [ecx + edx + 3]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xbc]
imul esi, eax
mov eax, 0x80008001
mul esi
shr edx, 0xf
lea eax, [edx - 0xffff]
neg eax
imul ebx, eax
mov edx, ebx
shl ebx, 8
add edx, ebx
mov ebx, dword [esp + 0xbc]
imul edi, ebx
add edx, edi
mov edi, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov eax, dword [esp + 0x98]
mov byte [ecx + eax], dl
imul ebp, edi
mov edx, ebp
shl ebp, 8
add edx, ebp
mov ebp, dword [esp + 0xb8]
imul ebp, ebx
add edx, ebp
mov ebp, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [ecx + ebp + 1], dl
mov eax, dword [esp + 0xb0]
imul eax, edi
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0xb4]
imul ebx, edx
add eax, ebx
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [ecx + ebp + 2], dl
mov eax, dword [esp + 0xac]
imul eax, edi
mov edx, eax
shl eax, 8
add eax, edx
add eax, esi
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [ecx + ebp + 3], dl
mov eax, dword [esp + 0xa4]
lea ecx, [ebp + eax*4]
mov edx, dword [esp + 0x54]
lea ebx, [eax + edx]
mov edx, dword [esp + 0x80]
lea esi, [edx + eax]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x10c]
cmp ebx, edi
je 0x51a63e
mov dword [esp + 0x54], ebx
mov dword [esp + 0x80], esi
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
call edx
movzx eax, word [esp + 0x12]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x108]
mov dword [esp], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 8], esi
call edx
mov eax, dword [esp + 0x114]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x98]
lea ebp, [edx + 4]
movzx esi, word [esp + 0x12]
movzx edi, word [esp + 0xc]
movzx eax, word [esp + 0xe]
mov dword [esp + 0xb8], eax
movzx eax, word [esp + 0x10]
cmp ebx, ebp
jb 0x51a887
cmp edx, ebp
jbe 0x51a6c8
mov eax, edx
mov ecx, ebp
call fcn.00465ec0
mov edx, ebp
call fcn.00465ea0
mov edx, dword [esp + 0xa4]
add eax, edx
mov ebx, dword [esp + 0x40]
add ebx, edx
mov ebp, dword [esp + 0x114]
mov ebp, dword [ebp + 0xc]
imul ebp, edx
mov edx, dword [esp + 0x8c]
add edx, ebp
mov ebp, dword [esp + 0x48]
mov ebp, dword [esp + 0x108]
mov ecx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x51a8dd
mov dword [esp + 0x30], eax
mov dword [esp + 0x8c], edx
jmp 0x51a934
add esp, 0x110
ret
shr si, 8
xchg esi, eax
mov byte [ecx + edx], al
xchg esi, eax
shr di, 8
xchg edi, eax
mov byte [ecx + edx + 1], al
xchg edi, eax
movzx ebx, word [esp + 0x16]
shr bx, 8
mov byte [ecx + edx + 2], bl
shr ax, 8
mov byte [ecx + edx + 3], al
mov eax, dword [esp + 0xa4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + 0x58]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x108]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x44]
cmp ebx, edi
je 0x51a88e
mov dword [esp + 0x58], ebx
mov dword [esp + 0x9c], edx
mov eax, dword [esi + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0x114]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x9c]
lea ebp, [edx + 4]
movzx esi, word [esp + 0xc]
movzx edi, word [esp + 0xe]
movzx eax, word [esp + 0x10]
mov word [esp + 0x16], ax
movzx eax, word [esp + 0x12]
cmp ebx, ebp
jb 0x51a99f
cmp edx, ebp
jbe 0x51a8e4
mov eax, edx
mov ecx, ebp
call fcn.00465ec0
mov edx, ebp
call fcn.00465ea0
mov edx, dword [esp + 0xa4]
add eax, edx
mov ebx, dword [esp + 0x40]
add ebx, edx
mov ebp, dword [esp + 0x114]
mov ebp, dword [ebp + 0xc]
imul ebp, edx
mov edx, dword [esp + 0x8c]
add edx, ebp
mov ebp, dword [esp + 0x48]
mov ebp, dword [esp + 0x108]
mov ecx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x51a8dd
mov dword [esp + 0x34], eax
mov dword [esp + 0x8c], edx
jmp 0x51ab14
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], esi
movzx ebx, byte [ecx + edx]
movzx ebp, byte [ecx + edx + 1]
movzx eax, byte [ecx + edx + 2]
mov dword [esp + 0xb0], eax
movzx eax, byte [ecx + edx + 3]
mov dword [esp + 0xac], eax
add esi, 0xffff0001
xchg esi, ebx
neg ebx
xchg esi, ebx
imul ebx, esi
mov dword [esp + 0xa8], ebx
shl ebx, 8
mov eax, dword [esp + 0xa8]
add eax, ebx
mov ebx, eax
mov eax, 0x80008001
mul ebx
shr edx, 0xf
lea eax, [edx + edi]
shr eax, 8
mov edx, dword [esp + 0xa0]
mov byte [ecx + edx], al
imul ebp, esi
mov eax, ebp
shl ebp, 8
add eax, ebp
mov ebx, eax
mov eax, 0x80008001
mov ebp, edx
mul ebx
shr edx, 0xf
mov eax, dword [esp + 0xbc]
add eax, edx
shr eax, 8
mov byte [ecx + ebp + 1], al
mov eax, dword [esp + 0xb0]
imul eax, esi
mov edx, eax
shl eax, 8
add eax, edx
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0xf
mov eax, dword [esp + 0xb8]
add eax, edx
shr eax, 8
mov byte [ecx + ebp + 2], al
mov eax, dword [esp + 0xac]
imul esi, eax
mov eax, esi
shl esi, 8
add eax, esi
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0xf
mov eax, dword [esp + 0xb4]
add eax, edx
shr eax, 8
mov byte [ecx + ebp + 3], al
mov eax, dword [esp + 0xa4]
lea edx, [ebp + eax*4]
mov ecx, dword [esp + 0x5c]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x108]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x44]
cmp ebx, edi
je 0x51a9a6
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xa0], edx
mov eax, dword [esi + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0x114]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0xa0]
lea ebp, [edx + 4]
movzx esi, word [esp + 0x12]
movzx edi, word [esp + 0xc]
movzx eax, word [esp + 0xe]
mov dword [esp + 0xbc], eax
movzx eax, word [esp + 0x10]
cmp ebx, ebp
jb 0x51ab81
cmp edx, ebp
jbe 0x51a9fc
mov eax, edx
mov ecx, ebp
call fcn.00465ec0
mov edx, ebp
call fcn.00465ea0
nop
call fcn.004649b0
jmp fcn.00519dd0