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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x5005e6
sub esp, 0x118
mov eax, dword [esp + 0x130]
lea ecx, [0x7cb6f0]
cmp eax, ecx
je 0x4ff858
xor eax, eax
jmp 0x4ff87b
mov dword [esp], ecx
mov eax, dword [esp + 0x11c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x134]
mov dword [esp + 8], ecx
call fcn.00404110
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ff997
nop
nop
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x120]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x124]
sub ebx, ebp
mov edi, dword [esp + 0x128]
add eax, edi
mov esi, dword [esp + 0x12c]
add ebx, esi
cmp edi, ecx
jg 0x4ff8c7
mov ebx, 1
jmp 0x4ff9b8
cmp esi, ebp
jg 0x4ff8d5
mov ebx, 1
jmp 0x4ff9b8
cmp edx, eax
jl 0x4ff8e3
mov ebx, 1
jmp 0x4ff9b8
mov edx, dword [esp + 0x13c]
cmp edx, ebx
jl 0x4ff8f8
mov ebx, 1
jmp 0x4ff9b8
cmp ecx, eax
jge 0x4ff990
mov eax, dword [esp + 0x138]
cmp edi, eax
jle 0x4ff989
cmp ebp, ebx
jge 0x4ff982
cmp esi, edx
jle 0x4ff97b
cmp ebp, edx
jg 0x4ff91d
jne 0x4ff962
cmp ecx, eax
jle 0x4ff950
lea ebx, [edi - 1]
lea edi, [ecx - 1]
dec esi
lea ecx, [ebp - 1]
mov dword [esp + 0x108], eax
mov eax, 0xffffffff
mov dword [esp + 0x98], eax
mov ebp, esi
mov esi, ecx
mov ecx, ebx
mov eax, dword [esp + 0x108]
mov ebx, dword [esp + 0x124]
jmp 0x4ff972
mov ebx, ebp
mov ebx, 1
mov dword [esp + 0x98], ebx
mov ebx, ebp
jmp 0x4ff972
mov ebx, ebp
mov ebx, 1
mov dword [esp + 0x98], ebx
mov ebx, ebp
mov ebx, dword [esp + 0x98]
jmp 0x4ff9b8
mov ebx, 1
jmp 0x4ff9b8
mov ebx, 1
jmp 0x4ff9b8
mov ebx, 1
jmp 0x4ff9b8
mov ebx, 1
jmp 0x4ff9b8
mov ebx, 1
mov ebp, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov edi, dword [esp + 0x128]
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x98], ebx
mov dword [esp + 0x40], esi
nop
mov eax, dword [esp + 0x11c]
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, [0x744a40]
mov dword [esp], eax
mov ebx, dword [esp + 0x130]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x134]
mov dword [esp + 8], eax
call fcn.004092b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x13c]
add ecx, eax
mov edx, dword [esp + 0x124]
sub ecx, edx
mov ebx, dword [esp + 0x14c]
add ebx, eax
sub ebx, edx
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x138]
add ebp, edx
mov esi, dword [esp + 0x120]
sub ebp, esi
mov dword [esp + 0x48], ebp
mov edi, dword [esp + 0x148]
add edi, edx
sub edi, esi
mov dword [esp + 0x9c], edi
mov esi, dword [esp + 0x20]
sub esi, edx
add esi, ebp
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x110], ebp
mov ebp, dword [esp + 0xc0]
sub edx, ebp
mov ebp, dword [esp + 0xc4]
lea edx, [ebp + edx*4]
test esi, esi
je 0x4ffbdd
mov dword [esp + 0x24], esi
mov ebp, dword [esp + 0x140]
test ebp, ebp
jne 0x4ffadb
mov ebx, dword [esp + 0x150]
test ebx, ebx
jne 0x4ffac7
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x110]
jmp 0x500436
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x110]
jmp 0x500324
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x18], edx
lea eax, [0x744a40]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x144]
mov dword [esp + 8], eax
call fcn.004092b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4ffbc3
mov dword [esp + 0x114], ecx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x150]
test edx, edx
jne 0x4ffb78
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd0]
jmp 0x5000ee
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xe8]
jmp 0x4fff31
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 0x140]
mov ebp, dword [esp + 0x68]
jmp 0x4ffc23
mov edx, dword [esp + 0x11c]
mov edi, dword [edx + 0xc]
mov edx, dword [esp + 0x98]
imul edi, edx
mov esi, dword [esp + 0x6c]
add esi, edi
add eax, edx
add ecx, edx
mov edi, dword [esp + 0xa0]
add edi, edx
mov edx, esi
mov ebx, edi
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x40]
cmp ebx, eax
je 0x4ffc59
mov dword [esp + 0x84], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x100]
jmp 0x4ffc97
add esp, 0x118
ret
mov eax, dword [esp + 0x98]
lea edx, [ebp + eax*4]
mov ebx, dword [esp + 0x54]
lea ebp, [eax + ebx]
mov ebx, dword [esp + 0x2c]
lea edi, [eax + ebx]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x140]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x54]
cmp edx, ebp
je 0x4ffbea
mov dword [esp + 0x2c], edi
test esi, esi
jne 0x4ffcc1
mov dword [esp + 0xf8], eax
mov eax, 0xffff
mov dword [esp + 0x38], eax
jmp 0x4ffcff
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x144]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov edx, dword [esp + 0xa0]
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 + 0x1c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x130]
mov ebx, dword [eax + 0x10]
mov ebp, dword [esp + 0x134]
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 + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x11c]
mov esi, dword [ebp]
mov edi, dword [ebp + 8]
mov ebp, dword [esp + 0x70]
lea ecx, [ebp + 4]
cmp edi, ecx
jb 0x4ffecf
cmp ebp, ecx
ja 0x4ffec8
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x150]
test ecx, ecx
jne 0x4ffe69
movzx edi, byte [esi + ebp]
movzx ecx, byte [esi + ebp + 1]
mov dword [esp + 0xbc], ecx
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 + 0x38]
imul edx, ecx
mov dword [esp + 0xb0], edx
mov eax, 0x80008001
mul edx
shr edx, 0xf
add edx, 0xffff0001
neg edx
imul edi, edx
mov eax, edi
shl edi, 8
add edi, eax
imul ebx, ecx
add ebx, edi
mov eax, 0x80008001
mov edi, edx
mul ebx
shr edx, 0x17
mov byte [esi + ebp], dl
mov edx, dword [esp + 0xbc]
imul edx, edi
mov ebx, edx
shl edx, 8
add edx, ebx
mov ebx, dword [esp + 0xa4]
imul ebx, ecx
add edx, ebx
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [esi + ebp + 1], dl
mov edx, dword [esp + 0xb8]
imul edx, edi
mov ebx, edx
shl edx, 8
add edx, ebx
mov ebx, dword [esp + 0x3c]
imul ecx, ebx
add ecx, edx
mov eax, 0x80008001
mul ecx
shr edx, 0x17
mov byte [esi + ebp + 2], dl
mov ecx, dword [esp + 0xb4]
imul ecx, edi
mov edx, ecx
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0xb0]
lea eax, [edx + ecx]
mov ecx, 0x80008001
mul ecx
shr edx, 0x17
mov byte [esi + ebp + 3], dl
mov ecx, dword [esp + 0x150]
jmp 0x4ffc60
mov dword [esp + 0x44], edx
mov edi, dword [esp + 0x38]
imul ebx, edi
mov eax, 0x80008001
mul ebx
shr edx, 0x17
mov byte [esi + ebp], dl
mov edx, dword [esp + 0xa4]
imul edx, edi
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [esi + ebp + 1], dl
mov edx, dword [esp + 0x3c]
imul edx, edi
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [esi + ebp + 2], dl
mov edx, dword [esp + 0x44]
imul edi, edx
mov eax, 0x80008001
mul edi
shr edx, 0x17
mov byte [esi + ebp + 3], dl
jmp 0x4ffc60
mov eax, ebp
call fcn.00456c00
mov edx, ecx
mov ebx, edi
call fcn.00456be0
mov ebx, dword [esp + 0x98]
add ebp, ebx
mov esi, dword [esp + 0x1c]
add esi, ebx
mov ecx, dword [esp + 0xa0]
add ecx, ebx
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x6c]
add eax, ebx
mov ebx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0xa0], ecx
mov ebp, esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x114]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x88]
cmp edx, ebp
je 0x4fff5b
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xe0]
jmp 0x4ffff5
add esp, 0x118
ret
mov ebx, dword [esp + 0xbc]
imul esi, ebx
mov ebp, eax
mov eax, 0x80008001
mul esi
shr edx, 0x17
mov eax, dword [esp + 0x74]
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 + 0x98]
lea ecx, [esi + eax*4]
mov edx, dword [esp + 0x58]
lea ebx, [eax + edx]
mov edx, dword [esp + 0x30]
lea esi, [edx + eax]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x114]
cmp ebx, edi
je 0x4ffed8
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], esi
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
call edx
movzx eax, word [esp + 0x12]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], esi
call edx
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x74]
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 0x50008e
cmp edx, ebp
jbe 0x4fff62
mov eax, edx
mov ecx, ebp
call fcn.00456c00
mov edx, ebp
call fcn.00456be0
mov ebx, dword [esp + 0x98]
add ebp, ebx
mov esi, dword [esp + 0x1c]
add esi, ebx
mov ecx, dword [esp + 0xa0]
add ecx, ebx
mov eax, dword [esp + 0x11c]
mov eax, dword [eax + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x6c]
add eax, ebx
mov ebx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0xa0], ecx
mov ebp, esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x114]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x8c]
cmp edx, ebp
je 0x4fff5b
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc8]
jmp 0x500251
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 dword [esp + 0xa8], esi
mov eax, 0x80008001
mul esi
shr edx, 0xf
lea eax, [edx - 0xffff]
neg eax
mov edx, dword [esp + 0xbc]
imul edi, edx
imul ebx, eax
mov dword [esp + 0xbc], ebx
shl ebx, 8
mov esi, dword [esp + 0xbc]
add ebx, esi
add ebx, edi
mov esi, eax
mov eax, 0x80008001
mov edi, edx
mul ebx
shr edx, 0x17
mov eax, dword [esp + 0x78]
mov byte [ecx + eax], dl
mov edx, dword [esp + 0xb8]
imul edx, edi
imul ebp, esi
mov ebx, ebp
shl ebp, 8
add ebx, ebp
add edx, ebx
mov ebx, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [ecx + ebx + 1], dl
mov eax, dword [esp + 0xb4]
imul edi, eax
mov eax, dword [esp + 0xb0]
imul eax, esi
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 [ecx + ebx + 2], dl
mov eax, dword [esp + 0xac]
imul eax, esi
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0xa8]
add eax, edx
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0x17
mov byte [ecx + ebx + 3], dl
mov eax, dword [esp + 0x98]
lea ecx, [ebx + eax*4]
mov edx, dword [esp + 0x5c]
lea ebx, [eax + edx]
mov edx, dword [esp + 0x34]
lea esi, [edx + eax]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x114]
cmp ebx, edi
je 0x500095
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], esi
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
call edx
movzx eax, word [esp + 0x12]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], esi
call edx
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x78]
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 0x5002ea
cmp edx, ebp
jbe 0x50011c
mov eax, edx
mov ecx, ebp
call fcn.00456c00
mov edx, ebp
call fcn.00456be0
mov edx, dword [esp + 0x98]
add eax, edx
mov ebx, dword [esp + 0x1c]
add ebx, edx
mov ebp, dword [esp + 0x11c]
mov ebp, dword [ebp + 0xc]
imul ebp, edx
mov edx, dword [esp + 0x6c]
add edx, ebp
mov ebp, dword [esp + 0x48]
mov ebp, dword [esp + 0x110]
mov ecx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
cmp ecx, eax
je 0x50033d
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], edx
jmp 0x500397
add esp, 0x118
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 + 0x98]
lea edx, [edx + eax*4]
mov ecx, dword [esp + 0x60]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x110]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x68]
cmp ebx, edi
je 0x5002f1
mov dword [esp + 0x60], ebx
mov dword [esp + 0x7c], edx
mov eax, dword [esi + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x7c]
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 0x5003fc
cmp edx, ebp
jbe 0x500344
mov eax, edx
mov ecx, ebp
call fcn.00456c00
mov edx, ebp
call fcn.00456be0
mov edx, dword [esp + 0x98]
add eax, edx
mov ebx, dword [esp + 0x1c]
add ebx, edx
mov ebp, dword [esp + 0x11c]
mov ebp, dword [ebp + 0xc]
imul ebp, edx
mov edx, dword [esp + 0x6c]
add edx, ebp
mov ebp, dword [esp + 0x48]
mov ebp, dword [esp + 0x110]
mov ecx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
cmp ecx, eax
je 0x50033d
mov dword [esp + 0x94], eax
mov dword [esp + 0x6c], edx
jmp 0x500571
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 + 0x80]
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 + 0x98]
lea edx, [ebp + eax*4]
mov ecx, dword [esp + 0x64]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x110]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x68]
cmp ebx, edi
je 0x500403
mov dword [esp + 0x64], ebx
mov dword [esp + 0x80], edx
mov eax, dword [esi + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov edx, dword [esp + 0x80]
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 0x5005de
cmp edx, ebp
jbe 0x500456
mov eax, edx
mov ecx, ebp
call fcn.00456c00
mov edx, ebp
call fcn.00456be0
nop
call fcn.00455690
jmp fcn.004ff820