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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x57906c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
push esi
mov esi, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x18], esi
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
push edi
test eax, eax
je 0x4ae72b
xor edi, edi
cmp dword [eax], 0x40
cmovge eax, edi
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
cmp eax, 0x40
jle 0x4ae75c
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.0042f9e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov ecx, 1
mov dword [esp + 0x24], eax
test al, 0x20
mov eax, dword [esp + 0x2c]
cmovne eax, ecx
mov ecx, edx
mov dword [esp + 0x2c], eax
push 0
lea esi, [eax + eax*2]
shl esi, 5
lea edi, [esi + 0x307]
and edi, 0xfffffff8
lea eax, [edi + 0x50]
push eax
call fcn.0042c5b0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x57], 0
je 0x4ae7cb
test ecx, ecx
je 0x4aec14
mov edx, ecx
mov ecx, eax
call fcn.0042c2b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov byte [ecx + 0x30], al
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x24]
mov word [ecx + 0x2c], ax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x50], eax
mov word [ecx + 0x2e], ax
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x34]
push 0x27
mov dword [ecx + 0x14], eax
lea eax, [ecx + 0x31]
push 0
push eax
mov dword [esp + 0x58], eax
call fcn.00516f30
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x50]
add esp, 0xc
add ecx, 0x300
push eax
push 0
push ecx
call fcn.00516f30
mov esi, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x38]
lea ecx, [esi + edi]
lea edi, [esi + 0x58]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], esi
mov dword [esi + 0x1fc], 0
lea eax, [esi + 0x58]
mov dword [esi + 0x200], 0xffffff9d
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], eax
lea eax, [ecx + 0x40]
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
mov eax, 3
mov word [ecx + 0x34], ax
lea eax, [edi + 0x20]
mov dword [ecx + 0x2c], 0
mov ecx, edi
push 0x2c
mov dword [edi], esi
mov byte [edi + 9], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x18], eax
call fcn.004a7b70
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x4ae927
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ae8f6
mov al, byte [eax]
mov byte [esi + 0x31], al
test dword [esp + 0x24], 0x100
je 0x4ae90e
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
jne 0x4ae90e
mov byte [esi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x14]
call fcn.0044e2c0
mov eax, dword [esp + 0x28]
add esp, 0xc
jmp 0x4ae96c
mov esi, dword [esp + 0x1c]
xor edi, edi
add esi, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x2c]
mov ecx, dword [edx + 0x1fc]
mov dword [edx + ecx*4 + 0x200], eax
lea eax, [edx + 0x58]
inc dword [edx + 0x1fc]
mov edx, esi
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a7f90
mov eax, dword [esp + 0x20]
inc edi
add esp, 4
add esi, 0x48
cmp edi, dword [eax]
jl 0x4ae930
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0xc]
sub esi, 1
js 0x4ae98a
push esi
mov edx, edi
mov ecx, eax
call fcn.004a6b30
mov eax, dword [esp + 0x20]
add esp, 4
sub esi, 1
jns 0x4ae974
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4aea66
cmp dword [edi + 0x3c], 0
je 0x4aea66
test byte [edi + 4], 9
jne 0x4aea66
mov ecx, dword [edi + 0x20]
cmp dword [ecx], 1
jne 0x4aea66
mov eax, dword [ecx + 0x18]
cmp byte [eax + 0x2b], 1
jne 0x4aea66
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + 0x34]
xor ecx, ecx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x44], eax
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x4ae9fa
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
add eax, 0x14
test byte [eax - 0xa], 4
jne 0x4ae9ee
cmp dword [eax], esi
jne 0x4aea66
inc ecx
add eax, 0x30
cmp ecx, edx
jl 0x4ae9e4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4aea2e
mov edi, dword [eax]
xor edx, edx
test edi, edi
jle 0x4aea2a
add eax, 0x10
nop dword [eax]
mov ecx, dword [eax - 8]
cmp byte [ecx], 0xa7
jne 0x4aea66
cmp dword [ecx + 0x1c], esi
jne 0x4aea66
test byte [eax], 2
jne 0x4aea66
inc edx
add eax, 0x14
cmp edx, edi
jl 0x4aea10
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x10]
push 0x49
push esi
push dword [eax + 0xc]
call fcn.004a7be0
mov edx, dword [edi + 0xc]
add esp, 0xc
test edx, edx
jle 0x4aea66
mov eax, dword [edi + 0x3c]
push 0x4a
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
push dword [eax + 0x10]
call fcn.004a7be0
add esp, 0xc
jmp 0x4aea6a
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4aebf1
cmp dword [esi + 0x14], 0
mov dword [esp + 0x38], 0
jle 0x4aeb35
xor edi, edi
jmp 0x4aea92
mov esi, ecx
mov esi, dword [esi + 0x18]
add esi, edi
test byte [esi + 0xa], 2
jne 0x4aeb16
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x4aeb16
cmp dword [esp + 0x2c], eax
je 0x4aeafa
mov edx, dword [esi]
xorps xmm0, xmm0
mov dword [esp + 0x88], eax
mov eax, 1
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
mov word [esp + 0x84], ax
mov dword [esp + 0x74], 0x4ae440
mov dword [esp + 0x78], 0x466470
test edx, edx
je 0x4aeafa
lea ecx, [esp + 0x70]
call fcn.00460e30
cmp word [esp + 0x84], 0
je 0x4aeb16
mov eax, dword [esp + 0x14]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x18]
call fcn.0046b780
add esp, 0x10
or word [esi + 0xa], 4
mov esi, dword [esp + 0x38]
add edi, 0x30
mov ecx, dword [esp + 0x10]
inc esi
mov dword [esp + 0x38], esi
cmp esi, dword [ecx + 0x14]
jl 0x4aea90
mov eax, dword [esp + 0x18]
jmp 0x4aeb39
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
test edx, 0x100
je 0x4aeb9c
test byte [eax + 0x50], 0x10
je 0x4aeb68
mov edi, dword [esp + 0x14]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [esp + 0x24], edx
and word [edi + 0x2c], ax
jmp 0x4aeba0
mov edx, dword [esp + 0x1c]
push esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004a8740
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x4aeb88
mov byte [edi + 0x33], 1
jmp 0x4aeba0
cmp dword [ebp + 0xc], 0
jne 0x4aeba0
mov eax, 0x80
mov dword [edi + 8], esi
or word [edi + 0x2c], ax
jmp 0x4aeba0
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x2c], 1
jne 0x4aebb4
lea ecx, [esp + 0x58]
call fcn.004ae1f0
test eax, eax
jne 0x4aec2a
lea ecx, [esp + 0x58]
call fcn.004acc10
test eax, eax
jne 0x4aebf1
xor edx, edx
mov ecx, edi
call fcn.004ad880
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4aebf1
cmp dword [edi + 8], 0
je 0x4aec34
movzx edx, word [edi + 0x38]
mov ecx, edi
inc dx
call fcn.004ad880
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
je 0x4aec2e
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004aa4b0
mov ecx, dword [esp + 0xc]
mov edx, esi
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x88], eax
mov ecx, dword [esp + 0x18]
call fcn.004aa3b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x4aec4f
mov eax, dword [eax + 0x20]
and eax, 0x1000
or eax, 0
je 0x4aec4f
mov dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x54], 0xffffffff
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4aebf1
mov dl, byte [edi + 0x30]
mov dword [esp + 0x30], 0xffffffff
mov cl, dl
mov dword [esp + 0x34], 0xffffffff
cmp dl, 2
jb 0x4aecb3
test esi, esi
je 0x4aecb3
mov eax, dword [esp + 0x24]
xor esi, esi
and eax, 0x400
cmp si, ax
mov eax, dword [esp + 0x18]
jne 0x4aecb7
test dword [eax + 0x50], 0x100
jne 0x4aecb7
sub esp, 8
mov ecx, edi
call fcn.004ae470
mov cl, byte [edi + 0x30]
add esp, 8
mov dword [esp + 0x30], eax
movzx eax, cl
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
cmp cl, 2
jb 0x4aeccc
test dword [eax + 0x50], 0x80000
jne 0x4aeccc
mov ecx, edi
call fcn.004ae620
mov ecx, dword [edi]
movsx eax, word [edi + 0x38]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], 0
add dword [ecx + 0x88], eax
test dl, 4
je 0x4aed84
mov eax, dword [edi + 0x350]
mov ecx, dword [eax + 0x2c]
test ecx, 0x1000
jne 0x4aed39
test dl, 8
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x1c]
je 0x4aed88
mov eax, dword [edx + 0x18]
mov dword [esp + 0x3c], 0
cmp byte [eax + 0x2b], 1
je 0x4aed88
test ecx, 0x2000
je 0x4aed3d
test byte [esp + 0x24], 0x10
mov dword [esp + 0x3c], 0
je 0x4aed88
jmp 0x4aed3d
mov edx, dword [esp + 0x1c]
mov eax, ecx
mov dword [esp + 0x3c], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [edi + 0x32], al
mov eax, dword [edx + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x4aed88
mov dword [esp + 0x3c], 0
test cl, 0x40
je 0x4aed88
mov eax, dword [edi + 0x350]
and ecx, 0xffffffbf
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x24]
and eax, 8
mov dword [esp + 0x3c], eax
jmp 0x4aed88
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x4af223
lea eax, [edi + 0x350]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
movzx eax, byte [eax - 0x14]
lea eax, [eax + eax*8]
mov esi, dword [edx + eax*8 + 0x18]
lea eax, [edx + eax*8]
mov edx, 0xffff8000
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], edx
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4aedec
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4aedec
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4aede0
mov dword [esp + 0x48], edx
test dword [esi + 0x1c], 0x4000
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
jne 0x4aee81
mov al, byte [esi + 0x2b]
cmp al, 2
je 0x4aee81
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4aee4c
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4aee2b
mov ecx, dword [esp + 0x18]
cmp dword [eax], ecx
je 0x4aee2b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4aee20
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
push 0xfffffffffffffff5
push eax
push 0
push 0
push dword [edx + 0x34]
mov edx, 0xad
call fcn.0044e150
add esp, 0x14
jmp 0x4aee81
cmp al, 1
je 0x4aee81
test cl, 0x40
jne 0x4aee60
test byte [esp + 0x24], 0x20
je 0x4aeff4
mov eax, dword [esp + 0x40]
test byte [eax + 0x2c], 0x50
jne 0x4aeff8
push dword [esi]
mov ecx, dword [esp + 0x10]
push 0
push dword [esi + 0x14]
call fcn.00472af0
add esp, 0xc
mov edx, dword [esp + 0x38]
test dword [edx + 0x2c], 0x200
je 0x4aeec7
mov eax, dword [esp + 0x54]
mov esi, dword [edx + 0x20]
mov edx, 0x70
test byte [eax + 0x1c], 0x80
je 0x4af0ef
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x24]
jne 0x4af0f3
test al, 0x20
je 0x4af0f3
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0x4c]
mov dword [ecx - 0x48], eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
test ecx, ecx
js 0x4aeefd
mov eax, dword [esi + 0x74]
mov edx, esi
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x4aeefd
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x4aeefd
mov ecx, edx
call fcn.00479d80
mov eax, dword [esp + 0x40]
test byte [eax + 0x2c], 0x10
je 0x4af209
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.0042c5b0
mov edi, eax
add esp, 8
test edi, edi
je 0x4aef3e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x4c]
mov dword [edi], ecx
mov dword [edi + 8], 0x14
mov dword [edi + 0xc], 0
mov dword [eax + 0x4c], edi
add edi, 0x10
mov eax, dword [esp + 0x28]
mov dword [eax - 0x18], edi
test edi, edi
je 0x4af29e
mov ecx, dword [esp + 0xc]
mov edx, 0x4d
mov esi, dword [esp + 0x20]
mov eax, dword [ecx + 0x28]
mov dword [edi], eax
mov eax, dword [ecx + 0x2c]
inc dword [ecx + 0x28]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push eax
push 0x10000
mov dword [edi + 4], eax
call fcn.0044dec0
mov ecx, dword [esp + 0x14]
mov edx, 0x4b
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push eax
push 0
mov dword [edi + 8], eax
call fcn.0044dec0
mov eax, dword [esp + 0x64]
add esp, 0x10
test byte [eax + 0x1c], 0x80
jne 0x4af1c6
push 1
push dword [edi]
mov edx, 0x76
mov ecx, esi
call fcn.0044dec0
mov eax, dword [esp + 0x14]
mov edx, 1
push 0
mov ecx, dword [eax]
call fcn.0048f420
add esp, 0xc
test eax, eax
je 0x4af1f2
mov ecx, dword [eax + 0x10]
mov edx, eax
mov dword [eax + 0x14], 0
push 0xfffffffffffffff8
mov byte [ecx], 0
mov ecx, esi
call fcn.0044eb80
add esp, 4
jmp 0x4af1f2
mov eax, dword [esp + 0x40]
cmp byte [edi + 0x32], 0
mov ecx, 0x70
je 0x4af00e
mov eax, dword [eax + 0x34]
mov ecx, 0x71
mov dword [edi + 0x18], eax
push ecx
mov ecx, dword [esp + 0x10]
push esi
push edx
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + 0x34]
call fcn.00482ea0
add esp, 0xc
cmp byte [edi + 0x32], 0
jne 0x4af0dd
cmp word [esi + 0x22], 0x40
jge 0x4af0dd
test byte [esi + 0x1c], 0xe0
jne 0x4af0dd
mov ecx, dword [esp + 0x38]
test dword [ecx + 0x2c], 0x404000
jne 0x4af0dd
mov eax, dword [esp + 0x40]
xor esi, esi
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov eax, edx
or eax, ecx
je 0x4af073
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4af066
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4af09f
push esi
mov edx, 0xfffffffd
call fcn.0044e920
mov edx, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x20]
call fcn.0044e790
jmp 0x4aee81
mov eax, dword [edx + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4af0d6
mov ecx, dword [esp + 0x20]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.0044ea20
mov edx, dword [esp + 0x44]
add esp, 8
mov ecx, dword [esp + 0x20]
call fcn.0044e790
jmp 0x4aee81
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.0044e790
jmp 0x4aee81
mov eax, dword [esp + 0x24]
cmp byte [edi + 0x32], 0
mov ecx, dword [esp + 0x50]
je 0x4af126
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4af11c
nop dword [eax + eax]
cmp eax, esi
je 0x4af11c
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4af110
mov edx, 0x71
mov dword [edi + 0x1c], ecx
jmp 0x4af146
test ecx, ecx
je 0x4af135
test al, 0x20
je 0x4af135
mov edx, 0x65
jmp 0x4af146
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0xc]
mov ecx, dword [eax + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x28], eax
mov edi, dword [esp + 0x28]
mov eax, ecx
push dword [esp + 0x48]
mov dword [edi - 0x48], eax
push dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0044dd90
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.0044ebc0
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
test al, 0xf
je 0x4aeecb
test eax, 0x188002
jne 0x4aeecb
test byte [edi + 0x2c], 1
jne 0x4aeecb
cmp byte [edi + 0x33], 2
je 0x4aeecb
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4aeecb
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4aeecb
mov ecx, eax
call fcn.00474330
mov esi, eax
mov edx, 0x76
movzx ecx, word [esi + 0x32]
push ecx
push dword [edi]
mov ecx, dword [esp + 0x28]
call fcn.0044dec0
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, esi
call fcn.0044ebc0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
and dword [eax + 0x2c], 0xffffffbf
mov eax, dword [esp + 0x4c]
mov byte [edi + 0x33], 3
mov byte [eax], 0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add eax, 0x60
sub dword [esp + 0x44], 1
mov dword [esp + 0x28], eax
jne 0x4aeda2
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4aebf1
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x2c], ecx
jle 0x4af3c8
add edi, 0x33c
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4aebf1
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], eax
movzx eax, byte [edi]
lea eax, [eax + eax*8]
lea esi, [edx + eax*8]
mov eax, dword [esi + 0x30]
test al, 0x10
je 0x4af2fb
mov ecx, dword [esp + 0x20]
test al, 8
je 0x4af2a7
push dword [esi + 0x20]
mov edx, 9
push dword [esi + 0x24]
call fcn.0044dec0
add esp, 8
jmp 0x4af2f7
mov edi, dword [esp + 0x14]
jmp 0x4af20d
mov edx, 0xe
call fcn.0044de00
push dword [esi + 0x20]
mov edx, 9
mov dword [esp + 0x50], eax
push dword [esi + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0044dec0
mov ecx, dword [esp + 0x54]
add esp, 8
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4af2dc
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4af2eb
mov eax, 0x632198
jmp 0x4af2f4
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
test edx, 0x404000
je 0x4af363
lea eax, [edi - 0x3c]
test edx, 0x4000
je 0x4af33e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push eax
movzx eax, byte [edi]
push dword [esp + 0x38]
push dword [esp + 0x38]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x18]
push eax
call fcn.004a8b10
add esp, 0x10
jmp 0x4af355
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
push eax
call fcn.004a9620
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4aebf1
push dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea esi, [edi - 0x3c]
mov ecx, dword [esp + 0x10]
push esi
call fcn.004a16e0
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, ecx
push dword [esp + 0x3c]
push esi
mov eax, dword [ecx + 0x6c]
push dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push esi
mov dword [edi - 0x1c], eax
call fcn.004a3180
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov dword [esp + 0x30], eax
inc ecx
mov eax, dword [edi - 0x24]
add edi, 0x60
mov dword [esp + 0x34], edx
mov dword [esi + 0x20], eax
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x4af251
mov edi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x40], eax
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret