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

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x4a9969
sub esp, 0x118
mov eax, dword [esp + 0x13c]
mov ecx, eax
and eax, 0x40
mov dword [esp + 0xe8], eax
test eax, eax
jne 0x4a85d8
mov edx, dword [esp + 0x11c]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x138]
lea edi, [esi + ebp]
mov eax, dword [edx]
cmp ebx, edi
jae 0x4a8558
mov dword [esp + 0xe4], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xe4]
mov esi, dword [esp + 0x138]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], edi
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov ecx, dword [esp + 0x134]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [ecx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
jne 0x4a85b5
mov eax, dword [esp + 0x114]
jmp 0x4a85c8
call fcn.0046cf10
mov eax, dword [esp + 0x114]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x13c]
test ecx, 7
je 0x4a86dd
test ecx, 0x20
je 0x4a8684
lea edi, [esp + 0x100]
lea esi, [esp + 0x120]
call fcn.0046d5be
mov ecx, dword [esp + 0x104]
nop
nop
test ecx, 0x80000000
je 0x4a865f
mov edx, dword [esp + 0x100]
mov ebx, edx
shl edx, 1
shl ecx, 1
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
shr ebx, 0x1f
add edx, 0xd7b17f80
mov dword [esp + 0x108], edx
adc ebx, 0xd
mov dword [esp + 0x10c], ebx
and dword [esp + 0x100], 0x3fffffff
mov dword [esp + 0x104], 0
mov dword [esp + 0x110], 0
lea edi, [esp + 0x120]
lea esi, [esp + 0x100]
call fcn.0046d5be
mov ecx, dword [esp + 0x13c]
test ecx, 1
je 0x4a90db
nop
lea edi, [esp]
lea esi, [esp + 0x120]
call fcn.0046d5be
mov byte [esp + 0x14], 1
call fcn.0048f4b0
nop
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xcc], ecx
mov edx, dword [esp + 0x20]
lea edi, [esp + 0xb4]
mov ebx, eax
xor eax, eax
call fcn.0046d0db
mov ecx, 4
mov ebp, 0x13
jmp 0x4a8b74
test ecx, 0x18
je 0x4a8716
test ecx, 0x10
je 0x4a8703
mov ecx, dword [esp + 0x144]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x140]
jmp 0x4a8b35
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x140]
jmp 0x4a87f3
test eax, eax
je 0x4a87ec
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x138]
lea ebp, [edx + ebx]
mov esi, dword [eax]
cmp ecx, ebp
jae 0x4a877a
mov dword [esp + 0xe8], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0x138]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x114], esi
mov dword [esp + 0xe4], ebp
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0046d7d0
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe8]
mov dword [ecx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
jne 0x4a87d7
mov eax, dword [esp + 0x114]
jmp 0x4a87ea
call fcn.0046cf10
mov eax, dword [esp + 0x114]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x118
ret
mov ebx, dword [esp + 0x11c]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
lea edi, [ecx + esi]
mov eax, dword [ebx]
cmp ebp, edi
jae 0x4a885d
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe0], esi
mov dword [esp + 0x114], edx
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x114]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0xe4], ebp
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], edi
lea ebx, [eax + esi]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xe4]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a88b3
mov ebx, dword [esp + 0x114]
jmp 0x4a88c6
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x4a892a
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a891d
call fcn.0046cf10
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x3a
nop
lea edi, [esp + 0x28]
xor eax, eax
call fcn.0046d0db
mov ecx, dword [esp + 0x148]
mov eax, 0xffffffff
mov edx, 0x13
jmp 0x4a8964
add esi, 0x30
xchg esi, eax
mov byte [esp + ebp + 0x28], al
xchg esi, eax
lea eax, [ebx - 1]
lea ebx, [ebp - 1]
mov ecx, edx
mov edx, ebx
cmp ecx, 0xa
jge 0x4a896e
cmp eax, 1
jle 0x4a8996
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
imul ecx
add edx, ecx
sar edx, 3
mov esi, ecx
sar ecx, 0x1f
sub edx, ecx
lea edi, [edx + edx*4]
shl edi, 1
sub esi, edi
cmp ebp, 0x14
jb 0x4a8951
jmp 0x4a8b28
cmp edx, 0x14
jae 0x4a8b1c
lea eax, [ecx + 0x30]
mov byte [esp + edx + 0x28], al
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, ebx
sub ebx, edx
add ebx, 0x14
lea esi, [edx - 0x14]
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
mov eax, dword [eax]
and edx, esi
cmp ecx, ebx
jae 0x4a8a2a
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], edx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe4]
mov edi, dword [esp + 0xe0]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], ecx
add ebp, eax
mov dword [esp], ebp
lea edx, [esp + edx + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.0046d7d0
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xe0]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a8a83
mov ebx, dword [esp + 0x114]
jmp 0x4a8a96
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 2]
cmp edx, ebp
jae 0x4a8adf
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov edx, ecx
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov word [ebx + eax], 0x203a
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edx
mov eax, dword [0x5aef28]
test eax, eax
jne 0x4a8b00
mov eax, dword [esp + 0xe8]
test eax, eax
jmp 0x4a8b15
call fcn.0046cf10
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xe8]
test eax, eax
mov dword [ecx], ebx
jmp 0x4a8718
mov eax, edx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebp
mov ecx, 0x14
call fcn.0046cf80
dec edx
test edx, edx
jle 0x4a8b53
lea ebp, [ebx + edx]
cmp byte [ebp], 0x2f
jne 0x4a8b34
sub ecx, edx
dec ecx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
inc edx
and ecx, edx
add ecx, ebx
jmp 0x4a8b57
mov ebp, ecx
mov ecx, ebx
mov edx, ecx
mov ecx, ebp
jmp 0x4a87f3
add edi, 0x30
xchg edi, eax
mov byte [esp + ebp + 0xb4], al
xchg edi, eax
dec ecx
dec ebp
xor eax, eax
mov ebx, edx
mov edx, esi
cmp ebx, 0xa
jge 0x4a8b7e
cmp ecx, 1
jle 0x4a8ba4
mov eax, 0xcccccccd
mov esi, edx
imul ebx
add edx, ebx
sar edx, 3
mov edi, ebx
sar ebx, 0x1f
sub edx, ebx
lea ebx, [edx + edx*4]
shl ebx, 1
sub edi, ebx
cmp ebp, 0x14
jb 0x4a8b60
jmp 0x4a995c
cmp ebp, 0x14
jae 0x4a9950
mov dword [esp + 0xd4], edx
lea ecx, [ebx + 0x30]
mov byte [esp + ebp + 0xb4], cl
mov ecx, dword [esp + 0x11c]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov edi, esi
sub esi, ebp
add esi, 0x14
lea edx, [ebp - 0x14]
neg edx
mov dword [esp + 0xe4], edx
neg edx
sar edx, 0x1f
mov eax, dword [ecx]
and ebp, edx
cmp ebx, esi
jae 0x4a8c38
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0x4c31a0]
mov dword [esp + 0x10], ecx
call fcn.00468150
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
lea ecx, [eax + edi]
mov dword [esp], ecx
lea ecx, [esp + ebp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a8c9c
mov ebx, dword [esp + 0x114]
jmp 0x4a8caf
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x4a8d13
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a8d06
call fcn.0046cf10
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x2f
nop
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.0046d0db
mov ecx, dword [esp + 0xcc]
mov edx, 2
mov ebx, 0x13
jmp 0x4a8d51
add esi, 0x30
xchg esi, eax
mov byte [esp + ebx + 0xa0], al
xchg esi, eax
dec ebp
dec ebx
xor eax, eax
mov ecx, edx
mov edx, ebp
cmp ecx, 0xa
jge 0x4a8d5b
cmp edx, 1
jle 0x4a8d81
mov eax, 0xcccccccd
mov ebp, edx
imul ecx
add edx, ecx
sar edx, 3
mov esi, ecx
sar ecx, 0x1f
sub edx, ecx
lea edi, [edx + edx*4]
shl edi, 1
sub esi, edi
cmp ebx, 0x14
jb 0x4a8d3d
jmp 0x4a9944
cmp ebx, 0x14
jae 0x4a9938
add ecx, 0x30
mov byte [esp + ebx + 0xa0], cl
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov esi, ebp
sub ebp, ebx
add ebp, 0x14
lea edi, [ebx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov eax, dword [ecx]
and ebx, edi
cmp edx, ebp
jae 0x4a8e16
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0x4c31a0]
mov dword [esp + 0x10], ecx
call fcn.00468150
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x114], eax
mov dword [esp + 0xdc], edx
lea ecx, [eax + esi]
mov dword [esp], ecx
lea ecx, [esp + ebx + 0xa0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a8e7a
mov ebx, dword [esp + 0x114]
jmp 0x4a8e8d
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x4a8ef1
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a8ee4
call fcn.0046cf10
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x2f
nop
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0046d0db
mov edx, dword [esp + 0xd4]
mov eax, 2
mov ecx, 0x13
jmp 0x4a8f2b
lea ebp, [esi + 0x30]
xchg ebp, eax
mov byte [esp + ecx + 0x8c], al
xchg ebp, eax
lea eax, [ebx - 1]
dec ecx
cmp edx, 0xa
jge 0x4a8f35
cmp eax, 1
jle 0x4a8f5d
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
imul edx
add edx, ebp
sar edx, 3
mov esi, ebp
sar ebp, 0x1f
sub edx, ebp
lea ebp, [edx + edx*4]
shl ebp, 1
sub esi, ebp
cmp ecx, 0x14
jb 0x4a8f1b
jmp 0x4a992c
cmp ecx, 0x14
jae 0x4a9920
lea eax, [edx + 0x30]
mov byte [esp + ecx + 0x8c], al
mov eax, dword [esp + 0x11c]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, ebx
sub ebx, ecx
add ebx, 0x14
lea esi, [ecx - 0x14]
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
mov eax, dword [eax]
and ecx, esi
cmp edx, ebx
jae 0x4a8ff4
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xdc], ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xdc]
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x114], eax
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], edx
add ebp, eax
mov dword [esp], ebp
lea ecx, [esp + ecx + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0046d7d0
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xe0]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a9050
mov ebx, dword [esp + 0x114]
jmp 0x4a9063
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
inc eax
cmp edx, eax
jae 0x4a90c5
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a90b8
call fcn.0046cf10
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov byte [eax + ebx - 1], 0x20
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x13c]
test ecx, 6
je 0x4a86dd
lea edi, [esp]
lea esi, [esp + 0x120]
call fcn.0046d5be
call fcn.0048f400
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x1c]
nop
lea edi, [esp + 0x78]
mov ebx, eax
xor eax, eax
call fcn.0046d0db
mov ecx, 2
mov ebp, 0x13
jmp 0x4a9139
add edi, 0x30
xchg edi, eax
mov byte [esp + ebp + 0x78], al
xchg edi, eax
dec ecx
dec ebp
xor eax, eax
mov ebx, edx
mov edx, esi
cmp ebx, 0xa
jge 0x4a9143
cmp ecx, 1
jle 0x4a9169
mov eax, 0xcccccccd
mov esi, edx
imul ebx
add edx, ebx
sar edx, 3
mov edi, ebx
sar ebx, 0x1f
sub edx, ebx
lea ebx, [edx + edx*4]
shl ebx, 1
sub edi, ebx
cmp ebp, 0x14
jb 0x4a9128
jmp 0x4a9914
cmp ebp, 0x14
jae 0x4a9908
mov dword [esp + 0xc8], edx
lea ecx, [ebx + 0x30]
mov byte [esp + ebp + 0x78], cl
mov ecx, dword [esp + 0x11c]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov edi, esi
sub esi, ebp
add esi, 0x14
lea edx, [ebp - 0x14]
neg edx
mov dword [esp + 0xe4], edx
neg edx
sar edx, 0x1f
mov eax, dword [ecx]
and ebp, edx
cmp ebx, esi
jae 0x4a91fa
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0x4c31a0]
mov dword [esp + 0x10], ecx
call fcn.00468150
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0xe0], esi
mov dword [esp + 0x114], eax
mov dword [esp + 0xdc], ebx
lea ecx, [eax + edi]
mov dword [esp], ecx
lea ecx, [esp + ebp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a925b
mov ebx, dword [esp + 0x114]
jmp 0x4a926e
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x4a92d2
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a92c5
call fcn.0046cf10
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x3a
nop
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046d0db
mov ecx, dword [esp + 0xd0]
mov edx, 2
mov ebx, 0x13
jmp 0x4a930a
add esi, 0x30
xchg esi, eax
mov byte [esp + ebx + 0x64], al
xchg esi, eax
dec ebp
dec ebx
xor eax, eax
mov ecx, edx
mov edx, ebp
cmp ecx, 0xa
jge 0x4a9314
cmp edx, 1
jle 0x4a933a
mov eax, 0xcccccccd
mov ebp, edx
imul ecx
add edx, ecx
sar edx, 3
mov esi, ecx
sar ecx, 0x1f
sub edx, ecx
lea edi, [edx + edx*4]
shl edi, 1
sub esi, edi
cmp ebx, 0x14
jb 0x4a92f9
jmp 0x4a98fc
cmp ebx, 0x14
jae 0x4a98f0
add ecx, 0x30
mov byte [esp + ebx + 0x64], cl
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov esi, ebp
sub ebp, ebx
add ebp, 0x14
lea edi, [ebx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov eax, dword [ecx]
and ebx, edi
cmp edx, ebp
jae 0x4a93cc
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0x4c31a0]
mov dword [esp + 0x10], ecx
call fcn.00468150
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x114], eax
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edx
lea ecx, [eax + esi]
mov dword [esp], ecx
lea ecx, [esp + ebx + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a942d
mov ebx, dword [esp + 0x114]
jmp 0x4a9440
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x4a94a4
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a9497
call fcn.0046cf10
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], ebp
mov byte [ebp + ebx - 1], 0x3a
nop
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046d0db
mov edx, dword [esp + 0xc8]
mov ecx, 2
mov ebx, 0x13
jmp 0x4a94d8
lea ebp, [esi + 0x30]
xchg ebp, eax
mov byte [esp + ebx + 0x50], al
xchg ebp, eax
dec ecx
dec ebx
xor eax, eax
cmp edx, 0xa
jge 0x4a94e2
cmp ecx, 1
jle 0x4a9508
mov eax, 0xcccccccd
mov ebp, edx
imul edx
add edx, ebp
sar edx, 3
mov esi, ebp
sar ebp, 0x1f
sub edx, ebp
lea ebp, [edx + edx*4]
shl ebp, 1
sub esi, ebp
cmp ebx, 0x14
jb 0x4a94cb
jmp 0x4a98e4
cmp ebx, 0x14
jae 0x4a98d8
lea ecx, [edx + 0x30]
mov byte [esp + ebx + 0x50], cl
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov esi, ebp
sub ebp, ebx
add ebp, 0x14
lea edi, [ebx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov eax, dword [ecx]
and ebx, edi
cmp edx, ebp
jae 0x4a959a
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0x4c31a0]
mov dword [esp + 0x10], ecx
call fcn.00468150
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edx
mov dword [esp + 0x114], eax
lea ecx, [eax + esi]
mov dword [esp], ecx
lea ecx, [esp + ebx + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 8], ecx
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0xdc]
mov dword [ecx + 8], edx
mov ebx, dword [0x5aef28]
test ebx, ebx
jne 0x4a95fb
mov ebx, dword [esp + 0x114]
jmp 0x4a960e
call fcn.0046cf10
mov ebx, dword [esp + 0x114]
mov dword [edi], ebx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov dword [ecx], ebx
mov ebp, dword [esp + 0x13c]
test ebp, 4
je 0x4a96e9
inc eax
cmp edx, eax
jae 0x4a968a
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a9676
call fcn.0046cf10
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, dword [esp + 0x13c]
mov eax, edx
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov byte [eax + ebx - 1], 0x2e
lea edi, [esp + 0xec]
lea esi, [esp + 0x120]
call fcn.0046d5be
mov eax, dword [esp + 0xec]
and eax, 0x3fffffff
mov dword [esp + 0xd8], eax
mov ecx, 0x4189374c
imul ecx
sar edx, 8
mov ecx, dword [esp + 0xd8]
sar ecx, 0x1f
sub edx, ecx
nop
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0046d0db
mov eax, 6
mov ecx, 0x13
jmp 0x4a9779
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
inc edx
mov ebx, dword [ecx]
cmp eax, edx
jae 0x4a9756
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4c31a0]
mov dword [esp + 0x10], eax
call fcn.00468150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x11c]
mov dword [ebx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
je 0x4a9744
call fcn.0046cf10
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebp, dword [esp + 0x13c]
mov ebx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], edx
mov byte [edx + ebx - 1], 0x20
mov eax, dword [esp + 0xe8]
mov ecx, ebp
jmp 0x4a86dd
lea esi, [edi + 0x30]
xchg esi, eax
mov byte [esp + ecx + 0x3c], al
xchg esi, eax
lea eax, [ebx - 1]
dec ecx
cmp edx, 0xa
jge 0x4a9783
cmp eax, 1
jle 0x4a97ab
mov ebx, eax
mov eax, 0xcccccccd
mov esi, edx
imul edx
add edx, esi
sar edx, 3
mov edi, esi
sar esi, 0x1f
sub edx, esi
lea esi, [edx + edx*4]
shl esi, 1
sub edi, esi
cmp ecx, 0x14
jb 0x4a976c
jmp 0x4a98cc
cmp ecx, 0x14
jae 0x4a98c0
lea eax, [edx + 0x30]
mov byte [esp + ecx + 0x3c], al
mov eax, dword [esp + 0x11c]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov esi, ebx
sub ebx, ecx
add ebx, 0x14
lea edi, [ecx - 0x14]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0xe4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov ebp, dword [eax]
and ecx, edi
cmp edx, ebx
jae 0x4a983d
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xc], eax
lea ecx, [0x4c31a0]
mov dword [esp + 0x10], ecx
call fcn.00468150
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x114], ebp
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], edx
lea eax, [ebp + esi]
mov dword [esp], eax
lea eax, [esp + ecx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], eax
call fcn.0046d7d0
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [ecx + 8], eax
mov eax, dword [0x5aef28]
test eax, eax
jne 0x4a989f
mov eax, dword [esp + 0x114]
jmp 0x4a98b2
call fcn.0046cf10
mov eax, dword [esp + 0x114]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov ebp, dword [esp + 0x13c]
jmp 0x4a96e9
mov eax, ecx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ecx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebp
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebp
mov ecx, 0x14
call fcn.0046cf80
mov eax, ecx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ecx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebx
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebp
mov ecx, 0x14
call fcn.0046cf80
mov eax, ebp
mov ecx, 0x14
call fcn.0046cf80
nop
call fcn.0046bb00
jmp fcn.004a84c0