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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, ecx
mov byte [esp + 7], 0
push esi
push edi
mov esi, edx
mov dword [esp + 0x10], eax
mov edi, dword [eax + 8]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x30], edi
call fcn.00478580
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x14]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x1c], 0
mov ecx, dword [ecx + 0xc]
lea eax, [ecx + ecx*2]
mov ecx, dword [edx + 0x40]
mov edx, dword [esp + 0x4c]
shl eax, 4
add eax, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], eax
cmp esi, eax
mov eax, dword [esp + 0x48]
jae 0x4aeb78
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
jmp 0x4ae9a5
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
mov edi, dword [esi]
jne 0x4aea26
test byte [esi + 0x14], 2
jne 0x4aea26
test byte [edi + 4], 1
jne 0x4aea26
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x60]
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov edx, edi
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x74], 3
mov eax, dword [eax + 0x30]
mov dword [esp + 0x60], 0x4780e0
mov dword [esp + 0x64], 0x4781f0
mov dword [esp + 0x78], eax
call fcn.00474140
cmp byte [esp + 0x74], 0
je 0x4aea22
mov edx, edi
mov edi, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [edi]
call fcn.004772a0
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
push eax
call fcn.00476dc0
add esp, 0xc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x30]
jne 0x4aeb63
test byte [esi + 0x12], 0x82
je 0x4aeb63
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4aeb63
mov ecx, dword [esi + 0xc]
test ecx, ecx
js 0x4aeb63
mov eax, dword [edi + 0x10]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0x15]
mov ecx, dword [esi]
mov byte [esp + 0xe], al
call fcn.00476690
movsx eax, al
sub eax, 0x41
je 0x4aea9f
dec eax
je 0x4aea8d
xor eax, eax
cmp byte [esp + 0xe], 0x43
setge al
jmp 0x4aea97
xor eax, eax
cmp byte [esp + 0xe], 0x42
sete al
test eax, eax
je 0x4aeb5f
mov edx, dword [esi + 0xc]
xor edi, edi
cmp edx, 0x40
jl 0x4aeab3
mov dword [esp + 0x34], SysStringLen
jmp 0x4aeacc
mov eax, edx
xor ecx, ecx
bts edi, eax
cmp eax, 0x20
cmovae ecx, edi
xor edi, ecx
cmp eax, 0x40
cmovae ecx, edi
mov dword [esp + 0x34], ecx
cmp byte [esp + 0xf], 0
jne 0x4aeaf9
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.00446b80
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [esp + 0x20]
and eax, edx
and ecx, dword [esp + 0x14]
or ecx, eax
jne 0x4aeb63
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.004afd90
add esp, 4
test eax, eax
jne 0x4af788
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
or eax, edi
or edx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
jmp 0x4aeb67
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x40]
jb 0x4ae9a1
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
not eax
mov ecx, dword [esp + 0x1c]
not edx
or edx, 0x80000000
mov word [esi + 0x28], cx
mov word [esi + 0x18], cx
mov dword [esi + 0x24], 0x4241
mov esi, dword [ebp + 8]
and eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
and edx, ecx
mov dword [esp + 0x14], eax
xor esi, esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x54], ecx
movzx edx, word [eax + 0x22]
mov eax, 0x3f
mov dword [esp + 0x48], edx
cmp ax, dx
jge 0x4aebce
mov dword [esp + 0x34], eax
jmp 0x4aebd9
movsx eax, dx
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4aec18
mov edi, dword [esp + 0x34]
lea ecx, [ecx]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0x20]
or edx, ecx
je 0x4aec07
inc dword [esp + 0x1c]
inc esi
cmp esi, edi
jl 0x4aebe0
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
mov ecx, dword [esp + 0x1c]
je 0x4aec34
movsx eax, dx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 1]
movzx eax, ax
movsx esi, ax
mov dword [esp + 0x3c], eax
lea ecx, [esi*4 + 7]
and ecx, 0xfffffff8
lea eax, [esi*4 + 9]
add eax, esi
mov dword [esp + 0x48], ecx
and eax, 0xfffffff8
add ecx, 0x38
add eax, ecx
cdq
push edx
mov dword [esp + 0x58], eax
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.00444d60
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x4af788
push dword [esp + 0x54]
push 0
push eax
call fcn.00525d00
mov edx, dword [esp + 0x30]
add esp, 0xc
xorps xmm0, xmm0
lea ecx, [edx + 0x38]
mov dword [edx + 0x20], ecx
add ecx, dword [esp + 0x48]
mov dword [edx + 8], ecx
movlpd qword [esp + 0x48], xmm0
lea eax, [ecx + 2]
lea eax, [eax + esi*2]
mov dword [edx + 4], eax
lea eax, [eax + esi*2]
mov dword [edx + 0x1c], eax
xor esi, esi
mov eax, dword [esp + 0x3c]
mov word [edx + 0x30], ax
dec eax
mov word [edx + 0x2e], ax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x2c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [edx], str.auto_index
mov eax, dword [eax + 0x14]
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x40]
jae 0x4aee53
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
jmp 0x4aed10
mov eax, dword [edi + 8]
cmp eax, dword [edx + 0x30]
jne 0x4aee42
test byte [edi + 0x12], 0x82
je 0x4aee42
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4aee42
mov ecx, dword [edi + 0xc]
test ecx, ecx
js 0x4aee42
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 0x15]
mov ecx, dword [edi]
mov byte [esp + 0xf], al
call fcn.00476690
movsx eax, al
sub eax, 0x41
je 0x4aed86
dec eax
je 0x4aed74
xor eax, eax
cmp byte [esp + 0xf], 0x43
setge al
jmp 0x4aed7e
xor eax, eax
cmp byte [esp + 0xf], 0x42
sete al
test eax, eax
je 0x4aee3f
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp ecx, 0x40
jl 0x4aed97
mov edx, SysReAllocStringLen
jmp 0x4aedaa
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
mov ecx, eax
mov dword [esp + 0x48], eax
and ecx, dword [esp + 0x38]
mov eax, edx
and eax, dword [esp + 0x3c]
or ecx, eax
mov dword [esp + 0x54], edx
jne 0x4aee3f
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
or eax, dword [esp + 0x54]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov ax, word [edi + 0xc]
mov word [ecx + esi*2], ax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x54], eax
test dword [edx + 4], 0x100
jne 0x4aee20
test eax, eax
je 0x4aee0f
test dword [eax + 4], 0x100
je 0x4aee0f
mov edx, eax
jmp 0x4aee20
mov ecx, dword [esp + 0x10]
call fcn.00476500
test eax, eax
jne 0x4aee32
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
call fcn.00476500
mov ecx, str.BINARY
test eax, eax
je 0x4aee34
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov dword [eax + esi*4], ecx
inc esi
mov edx, dword [ebp + 8]
add edi, 0x30
cmp edi, dword [esp + 0x40]
jb 0x4aed10
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x34], 0
jle 0x4aeea4
xor edi, edi
lea esp, [esp]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0x20]
or edx, ecx
je 0x4aee99
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
mov word [eax + esi*2], di
mov eax, dword [ecx + 0x20]
mov dword [eax + esi*4], str.BINARY
inc esi
inc edi
cmp edi, dword [esp + 0x34]
jl 0x4aee60
mov edi, dword [esp + 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x44]
xor eax, eax
and ecx, 0x80000000
or eax, ecx
je 0x4aeeef
mov eax, dword [esp + 0x2c]
mov ecx, 0x3f
cmp cx, word [eax + 0x22]
jge 0x4aeeef
mov edi, eax
jmp 0x4aeed0
mov eax, dword [edx + 4]
mov word [eax + esi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + esi*4], str.BINARY
inc esi
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x4aeed0
mov edi, dword [esp + 0x30]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [eax + esi*4], str.BINARY
mov eax, dword [ecx + 0x44]
mov dword [edx + 8], eax
inc dword [ecx + 0x44]
mov ecx, dword [edi + 0x18]
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ecx
cmp dword [ecx + 0x54], eax
jg 0x4aefa0
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4aef38
add eax, eax
jmp 0x4aef3d
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.00444e00
mov esi, eax
add esp, 8
test esi, esi
je 0x4aefd5
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
test eax, eax
je 0x4aef7c
cmp esi, dword [eax + 0x114]
jb 0x4aef7c
cmp esi, dword [eax + 0x118]
jae 0x4aef7c
movzx ecx, word [eax + 0xf8]
jmp 0x4aef88
push esi
call dword [0x5c17a0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x54]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x48]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x38
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x24]
mov esi, dword [eax + 8]
call fcn.004865f0
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x54], eax
test edx, edx
je 0x4af037
cmp byte [ecx + 0x41], 0
jne 0x4af037
mov edx, dword [esi + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esi + 4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.00463a10
mov eax, dword [esp + 0x58]
add esp, 4
mov dword [esi + 0x10], 0
test eax, eax
jne 0x4af02e
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x4af045
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x4af045
push eax
mov edx, 0xfffffffa
call fcn.00463a10
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
inc dword [eax + 0x64]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x44]
shl ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 4]
add eax, 8
add ecx, eax
mov dword [esp + 0x40], ecx
test byte [ecx + 0x28], 4
je 0x4af1eb
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], ecx
cmp dword [ecx + 0x54], eax
jg 0x4af109
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4af0a1
add eax, eax
jmp 0x4af0a6
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.00444e00
mov esi, eax
add esp, 8
test esi, esi
je 0x4af13d
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
test eax, eax
je 0x4af0e5
cmp esi, dword [eax + 0x114]
jb 0x4af0e5
cmp esi, dword [eax + 0x118]
jae 0x4af0e5
movzx ecx, word [eax + 0xf8]
jmp 0x4af0f1
push esi
call dword [0x5c17a0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x54]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x44]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], ecx
cmp dword [ecx + 0x54], esi
jg 0x4af1c5
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4af15b
add eax, eax
jmp 0x4af160
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.00444e00
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x4af1dd
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4af1a1
cmp eax, dword [ecx + 0x114]
jb 0x4af1a1
cmp eax, dword [ecx + 0x118]
jae 0x4af1a1
movzx ecx, word [ecx + 0xf8]
jmp 0x4af1ad
push eax
call dword [0x5c17a0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x54]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x14
jmp 0x4af28d
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x4af2ae
mov ecx, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov eax, dword [edx + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], ecx
cmp dword [ecx + 0x54], esi
jg 0x4af27a
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4af210
add eax, eax
jmp 0x4af215
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.00444e00
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x4af1dd
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4af256
cmp eax, dword [ecx + 0x114]
jb 0x4af256
cmp eax, dword [ecx + 0x118]
jae 0x4af256
movzx ecx, word [ecx + 0xf8]
jmp 0x4af262
push eax
call dword [0x5c17a0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x54]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x6d
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov byte [eax + ecx*4 + 3], 0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4af3fc
mov edx, dword [edi + 0x18]
mov dword [esp + 0x58], edx
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x54], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4af3c9
mov eax, dword [esp + 0x54]
mov ecx, dword [edx + 0x70]
mov esi, dword [edx]
mov edx, ecx
mov dword [esp + 0x44], ecx
mov ecx, esi
lea eax, [eax*8 + 4]
push 0
push eax
call fcn.00444e00
mov edx, eax
add esp, 8
mov dword [esp + 0x48], edx
test edx, edx
jne 0x4af3b6
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4af3b6
test esi, esi
je 0x4af356
cmp dword [esi + 0x208], eax
je 0x4af330
mov edx, ecx
mov ecx, esi
call fcn.00444aa0
jmp 0x4af3b6
cmp ecx, dword [esi + 0x114]
jb 0x4af356
cmp ecx, dword [esi + 0x118]
jae 0x4af356
mov eax, dword [esi + 0x110]
mov dword [ecx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ecx
jmp 0x4af3b6
cmp dword [0x5c1770], 0
je 0x4af3ac
mov eax, dword [0x647f28]
test eax, eax
je 0x4af376
push eax
call dword [0x5c17c4]
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
call dword [0x5c17a0]
mov ecx, dword [esp + 0x48]
add esp, 4
sub dword [0x647f68], eax
dec dword [0x647f8c]
push ecx
call dword [0x5c1798]
mov eax, dword [0x647f28]
add esp, 4
test eax, eax
je 0x4af3b6
push eax
call dword [0x5c17cc]
jmp 0x4af3b3
push ecx
call dword [0x5c1798]
add esp, 4
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
mov dword [edx + 0x70], eax
mov eax, dword [edx + 0x70]
test eax, eax
je 0x4af3d7
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
mov edx, esi
sub eax, ecx
mov ecx, dword [esp + 0x10]
push 0x10
push eax
mov dword [esp + 0x60], eax
call fcn.0047b8d0
mov eax, dword [esp + 0x30]
add esp, 8
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4af40f
inc dword [ecx + 0x48]
mov esi, dword [ecx + 0x48]
jmp 0x4af41b
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov esi, dword [ecx + eax*4 + 0x18]
mov edx, dword [ebp + 0x14]
push 0
push 0
push 0
push 0
push esi
push dword [edx + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x60], esi
call fcn.004886d0
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x3c], eax
cmp dword [ecx + 0x54], eax
jg 0x4af4d0
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4af462
add eax, eax
jmp 0x4af467
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.00444e00
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x4af500
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4af4a8
cmp eax, dword [ecx + 0x114]
jb 0x4af4a8
cmp eax, dword [ecx + 0x118]
jae 0x4af4a8
movzx ecx, word [ecx + 0xf8]
jmp 0x4af4b4
push eax
call dword [0x5c17a0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x54]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x6f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4af512
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x10
cmp dword [esp + 0x18], 0
je 0x4af539
mov edx, dword [edi + 0x18]
or esi, 0xffffffff
sub esi, dword [esp + 0x58]
js 0x4af532
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4af532
mov eax, dword [edi + 0x20]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x40]
test byte [eax + 0x28], 4
je 0x4af629
push dword [eax + 0x20]
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov esi, dword [esp + 0x24]
mov edx, esi
push dword [eax + 4]
call fcn.004ae840
mov ecx, dword [edi + 0x18]
add esp, 8
mov eax, dword [edi + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], ecx
cmp dword [ecx + 0x54], eax
jg 0x4af5ec
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4af57e
add eax, eax
jmp 0x4af583
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.00444e00
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x4af61c
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4af5c4
cmp eax, dword [ecx + 0x114]
jb 0x4af5c4
cmp eax, dword [ecx + 0x118]
jae 0x4af5c4
movzx ecx, word [ecx + 0xf8]
jmp 0x4af5d0
push eax
call dword [0x5c17a0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x58]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x54]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
and dword [eax + 0x28], 0xfffffffb
jmp 0x4af6f5
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x54], eax
jg 0x4af6b9
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4af651
add eax, eax
jmp 0x4af656
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [ecx]
shl eax, 2
push 0
push eax
call fcn.00444e00
mov esi, eax
add esp, 8
test esi, esi
je 0x4af6f1
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
test eax, eax
je 0x4af695
cmp esi, dword [eax + 0x114]
jb 0x4af695
cmp esi, dword [eax + 0x118]
jae 0x4af695
movzx ecx, word [eax + 0xf8]
jmp 0x4af6a1
push esi
call dword [0x5c17a0]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x58]
shr edx, 4
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x54]
mov dword [edi + 4], esi
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x20]
mov word [eax + ecx*4], 8
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
lea eax, [esi + 1]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
jmp 0x4af6f5
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4af707
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 3
mov edx, dword [edi + 0x20]
cmp edx, esi
jbe 0x4af718
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
mov dword [eax + 0x58], ecx
test edx, edx
je 0x4af760
mov al, byte [esi + 0x13]
mov byte [esp + 0xf], al
cmp al, 8
jae 0x4af760
xor ecx, ecx
lea eax, [esi + 0x74]
mov edi, edi
cmp dword [eax + 0xc], edx
je 0x4af75c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4af740
movzx eax, byte [esp + 0xf]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x4af760
mov byte [eax + 6], 1
mov ecx, esi
call fcn.00479b60
mov edx, dword [edi + 0x20]
mov eax, dword [esp + 0x5c]
cmp edx, eax
jbe 0x4af77c
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
jmp 0x4af78c
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x4af941
test dword [edi + 4], 0x4000
jne 0x4af88f
mov edx, dword [edi + 0xc]
mov ecx, esi
call fcn.00477170
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.00477170
test dword [edi + 4], 0x10000
je 0x4af870
mov edi, dword [edi + 8]
test edi, edi
je 0x4af86c
test esi, esi
je 0x4af814
cmp dword [esi + 0x208], 0
je 0x4af7ee
mov edx, edi
mov ecx, esi
call fcn.00444aa0
jmp 0x4af86c
cmp edi, dword [esi + 0x114]
jb 0x4af814
cmp edi, dword [esi + 0x118]
jae 0x4af814
mov eax, dword [esi + 0x110]
mov dword [edi], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edi
jmp 0x4af86c
cmp dword [0x5c1770], 0
je 0x4af862
mov eax, dword [0x647f28]
test eax, eax
je 0x4af830
push eax
call dword [0x5c17c4]
add esp, 4
push edi
call dword [0x5c17a0]
sub dword [0x647f68], eax
add esp, 4
dec dword [0x647f8c]
push edi
call dword [0x5c1798]
mov eax, dword [0x647f28]
add esp, 4
test eax, eax
je 0x4af86c
push eax
call dword [0x5c17cc]
jmp 0x4af869
push edi
call dword [0x5c1798]
add esp, 4
mov edi, dword [esp + 0x18]
test dword [edi + 4], 0x800
mov ecx, esi
mov edx, dword [edi + 0x14]
je 0x4af88a
push 1
call fcn.00497e90
add esp, 4
jmp 0x4af88f
call fcn.00477f20
test dword [edi + 4], 0x8000
jne 0x4af941
test esi, esi
je 0x4af8e2
cmp dword [esi + 0x208], 0
je 0x4af8b8
mov edx, edi
mov ecx, esi
call fcn.00444aa0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, dword [esi + 0x114]
jb 0x4af8e2
cmp edi, dword [esi + 0x118]
jae 0x4af8e2
mov eax, dword [esi + 0x110]
mov dword [edi], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x5c1770], 0
je 0x4af937
mov eax, dword [0x647f28]
test eax, eax
je 0x4af8fe
push eax
call dword [0x5c17c4]
add esp, 4
push edi
call dword [0x5c17a0]
sub dword [0x647f68], eax
add esp, 4
dec dword [0x647f8c]
push edi
call dword [0x5c1798]
mov eax, dword [0x647f28]
add esp, 4
test eax, eax
je 0x4af941
push eax
call dword [0x5c17cc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [0x5c1798]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret