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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x57f0b4]
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 0x4a06db
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 0x4a070c
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.00421640
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00518690
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.0041e1f0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x57], 0
je 0x4a077b
test ecx, ecx
je 0x4a0bc4
mov edx, ecx
mov ecx, eax
call fcn.0041def0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00518690
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.0051b820
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x50]
add esp, 0xc
add ecx, 0x300
push eax
push 0
push ecx
call fcn.0051b820
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.00499b20
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x4a08d7
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a08a6
mov al, byte [eax]
mov byte [esi + 0x31], al
test dword [esp + 0x24], 0x100
je 0x4a08be
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
jne 0x4a08be
mov byte [esi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x14]
call fcn.00440270
mov eax, dword [esp + 0x28]
add esp, 0xc
jmp 0x4a091c
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.00499f40
mov eax, dword [esp + 0x20]
inc edi
add esp, 4
add esi, 0x48
cmp edi, dword [eax]
jl 0x4a08e0
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0xc]
sub esi, 1
js 0x4a093a
push esi
mov edx, edi
mov ecx, eax
call fcn.00498ae0
mov eax, dword [esp + 0x20]
add esp, 4
sub esi, 1
jns 0x4a0924
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4a0a16
cmp dword [edi + 0x3c], 0
je 0x4a0a16
test byte [edi + 4], 9
jne 0x4a0a16
mov ecx, dword [edi + 0x20]
cmp dword [ecx], 1
jne 0x4a0a16
mov eax, dword [ecx + 0x18]
cmp byte [eax + 0x2b], 1
jne 0x4a0a16
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 0x4a09aa
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
add eax, 0x14
test byte [eax - 0xa], 4
jne 0x4a099e
cmp dword [eax], esi
jne 0x4a0a16
inc ecx
add eax, 0x30
cmp ecx, edx
jl 0x4a0994
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a09de
mov edi, dword [eax]
xor edx, edx
test edi, edi
jle 0x4a09da
add eax, 0x10
nop dword [eax]
mov ecx, dword [eax - 8]
cmp byte [ecx], 0xa7
jne 0x4a0a16
cmp dword [ecx + 0x1c], esi
jne 0x4a0a16
test byte [eax], 2
jne 0x4a0a16
inc edx
add eax, 0x14
cmp edx, edi
jl 0x4a09c0
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.00499b90
mov edx, dword [edi + 0xc]
add esp, 0xc
test edx, edx
jle 0x4a0a16
mov eax, dword [edi + 0x3c]
push 0x4a
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
push dword [eax + 0x10]
call fcn.00499b90
add esp, 0xc
jmp 0x4a0a1a
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4a0ba1
cmp dword [esi + 0x14], 0
mov dword [esp + 0x38], 0
jle 0x4a0ae5
xor edi, edi
jmp 0x4a0a42
mov esi, ecx
mov esi, dword [esi + 0x18]
add esi, edi
test byte [esi + 0xa], 2
jne 0x4a0ac6
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x4a0ac6
cmp dword [esp + 0x2c], eax
je 0x4a0aaa
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], 0x4a03f0
mov dword [esp + 0x78], 0x4583e0
test edx, edx
je 0x4a0aaa
lea ecx, [esp + 0x70]
call fcn.00452da0
cmp word [esp + 0x84], 0
je 0x4a0ac6
mov eax, dword [esp + 0x14]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x18]
call fcn.0045d6f0
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 0x4a0a40
mov eax, dword [esp + 0x18]
jmp 0x4a0ae9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
test edx, 0x100
je 0x4a0b4c
test byte [eax + 0x50], 0x10
je 0x4a0b18
mov edi, dword [esp + 0x14]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [esp + 0x24], edx
and word [edi + 0x2c], ax
jmp 0x4a0b50
mov edx, dword [esp + 0x1c]
push esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0049a6f0
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x4a0b38
mov byte [edi + 0x33], 1
jmp 0x4a0b50
cmp dword [ebp + 0xc], 0
jne 0x4a0b50
mov eax, 0x80
mov dword [edi + 8], esi
or word [edi + 0x2c], ax
jmp 0x4a0b50
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x2c], 1
jne 0x4a0b64
lea ecx, [esp + 0x58]
call fcn.004a01a0
test eax, eax
jne 0x4a0bda
lea ecx, [esp + 0x58]
call fcn.0049ebc0
test eax, eax
jne 0x4a0ba1
xor edx, edx
mov ecx, edi
call fcn.0049f830
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4a0ba1
cmp dword [edi + 8], 0
je 0x4a0be4
movzx edx, word [edi + 0x38]
mov ecx, edi
inc dx
call fcn.0049f830
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
je 0x4a0bde
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.0049c460
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.0049c360
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00518690
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x4a0bff
mov eax, dword [eax + 0x20]
and eax, 0x1000
or eax, 0
je 0x4a0bff
mov dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x54], 0xffffffff
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4a0ba1
mov dl, byte [edi + 0x30]
mov dword [esp + 0x30], 0xffffffff
mov cl, dl
mov dword [esp + 0x34], 0xffffffff
cmp dl, 2
jb 0x4a0c63
test esi, esi
je 0x4a0c63
mov eax, dword [esp + 0x24]
xor esi, esi
and eax, 0x400
cmp si, ax
mov eax, dword [esp + 0x18]
jne 0x4a0c67
test dword [eax + 0x50], 0x100
jne 0x4a0c67
sub esp, 8
mov ecx, edi
call fcn.004a0420
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 0x4a0c7c
test dword [eax + 0x50], 0x80000
jne 0x4a0c7c
mov ecx, edi
call fcn.004a05d0
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 0x4a0d34
mov eax, dword [edi + 0x350]
mov ecx, dword [eax + 0x2c]
test ecx, 0x1000
jne 0x4a0ce9
test dl, 8
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x1c]
je 0x4a0d38
mov eax, dword [edx + 0x18]
mov dword [esp + 0x3c], 0
cmp byte [eax + 0x2b], 1
je 0x4a0d38
test ecx, 0x2000
je 0x4a0ced
test byte [esp + 0x24], 0x10
mov dword [esp + 0x3c], 0
je 0x4a0d38
jmp 0x4a0ced
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 0x4a0d38
mov dword [esp + 0x3c], 0
test cl, 0x40
je 0x4a0d38
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 0x4a0d38
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x4a11d3
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 0x4a0d9c
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 0x4a0d9c
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a0d90
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 0x4a0e31
mov al, byte [esi + 0x2b]
cmp al, 2
je 0x4a0e31
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4a0dfc
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4a0ddb
mov ecx, dword [esp + 0x18]
cmp dword [eax], ecx
je 0x4a0ddb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4a0dd0
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.00440100
add esp, 0x14
jmp 0x4a0e31
cmp al, 1
je 0x4a0e31
test cl, 0x40
jne 0x4a0e10
test byte [esp + 0x24], 0x20
je 0x4a0fa4
mov eax, dword [esp + 0x40]
test byte [eax + 0x2c], 0x50
jne 0x4a0fa8
push dword [esi]
mov ecx, dword [esp + 0x10]
push 0
push dword [esi + 0x14]
call fcn.00464a70
add esp, 0xc
mov edx, dword [esp + 0x38]
test dword [edx + 0x2c], 0x200
je 0x4a0e77
mov eax, dword [esp + 0x54]
mov esi, dword [edx + 0x20]
mov edx, 0x70
test byte [eax + 0x1c], 0x80
je 0x4a109f
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x24]
jne 0x4a10a3
test al, 0x20
je 0x4a10a3
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 0x4a0ead
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 0x4a0ead
bts esi, ecx
mov dword [edx + 0x54], esi
cmp ecx, 1
jne 0x4a0ead
mov ecx, edx
call fcn.0046bd00
mov eax, dword [esp + 0x40]
test byte [eax + 0x2c], 0x10
je 0x4a11b9
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.0041e1f0
mov edi, eax
add esp, 8
test edi, edi
je 0x4a0eee
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 0x4a124e
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.0043fe70
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.0043fe70
mov eax, dword [esp + 0x64]
add esp, 0x10
test byte [eax + 0x1c], 0x80
jne 0x4a1176
push 1
push dword [edi]
mov edx, 0x76
mov ecx, esi
call fcn.0043fe70
mov eax, dword [esp + 0x14]
mov edx, 1
push 0
mov ecx, dword [eax]
call fcn.004813c0
add esp, 0xc
test eax, eax
je 0x4a11a2
mov ecx, dword [eax + 0x10]
mov edx, eax
mov dword [eax + 0x14], 0
push 0xfffffffffffffff8
mov byte [ecx], 0
mov ecx, esi
call fcn.00440b30
add esp, 4
jmp 0x4a11a2
mov eax, dword [esp + 0x40]
cmp byte [edi + 0x32], 0
mov ecx, 0x70
je 0x4a0fbe
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.00474e20
add esp, 0xc
cmp byte [edi + 0x32], 0
jne 0x4a108d
cmp word [esi + 0x22], 0x40
jge 0x4a108d
test byte [esi + 0x1c], 0xe0
jne 0x4a108d
mov ecx, dword [esp + 0x38]
test dword [ecx + 0x2c], 0x404000
jne 0x4a108d
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 0x4a1023
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4a1016
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4a104f
push esi
mov edx, 0xfffffffd
call fcn.004408d0
mov edx, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x20]
call fcn.00440740
jmp 0x4a0e31
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 0x4a1086
mov ecx, dword [esp + 0x20]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.004409d0
mov edx, dword [esp + 0x44]
add esp, 8
mov ecx, dword [esp + 0x20]
call fcn.00440740
jmp 0x4a0e31
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.00440740
jmp 0x4a0e31
mov eax, dword [esp + 0x24]
cmp byte [edi + 0x32], 0
mov ecx, dword [esp + 0x50]
je 0x4a10d6
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a10cc
nop dword [eax + eax]
cmp eax, esi
je 0x4a10cc
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4a10c0
mov edx, 0x71
mov dword [edi + 0x1c], ecx
jmp 0x4a10f6
test ecx, ecx
je 0x4a10e5
test al, 0x20
je 0x4a10e5
mov edx, 0x65
jmp 0x4a10f6
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.0043fd40
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.00440b70
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
test al, 0xf
je 0x4a0e7b
test eax, 0x188002
jne 0x4a0e7b
test byte [edi + 0x2c], 1
jne 0x4a0e7b
cmp byte [edi + 0x33], 2
je 0x4a0e7b
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4a0e7b
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4a0e7b
mov ecx, eax
call fcn.004662b0
mov esi, eax
mov edx, 0x76
movzx ecx, word [esi + 0x32]
push ecx
push dword [edi]
mov ecx, dword [esp + 0x28]
call fcn.0043fe70
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, esi
call fcn.00440b70
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 0x4a0d52
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 0x4a0ba1
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x2c], ecx
jle 0x4a1378
add edi, 0x33c
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4a0ba1
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 0x4a12ab
mov ecx, dword [esp + 0x20]
test al, 8
je 0x4a1257
push dword [esi + 0x20]
mov edx, 9
push dword [esi + 0x24]
call fcn.0043fe70
add esp, 8
jmp 0x4a12a7
mov edi, dword [esp + 0x14]
jmp 0x4a11bd
mov edx, 0xe
call fcn.0043fdb0
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.0043fe70
mov ecx, dword [esp + 0x54]
add esp, 8
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4a128c
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4a129b
mov eax, 0x629608
jmp 0x4a12a4
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 0x4a1313
lea eax, [edi - 0x3c]
test edx, 0x4000
je 0x4a12ee
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.0049aac0
add esp, 0x10
jmp 0x4a1305
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
push eax
call fcn.0049b5d0
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4a0ba1
push dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea esi, [edi - 0x3c]
mov ecx, dword [esp + 0x10]
push esi
call fcn.00493690
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.00495130
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 0x4a1201
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.00518690
mov esp, ebp
pop ebp
ret