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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x559940]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x28], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
push esi
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx]
mov dword [esp + 0x24], edx
movzx esi, ax
mov dword [esp + 0xc], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], 0
movlpd qword [esp + 0x78], xmm0
test edi, edi
je 0x49490f
xor edx, edx
cmp dword [edi], 0x40
cmovge edi, edx
mov dword [esp + 0xc], edi
mov dl, byte [ecx + 0x44]
and eax, 0xfeff
movzx ecx, ax
test dl, 0x10
mov edx, dword [esp + 0x30]
mov eax, esi
cmove ecx, eax
mov dword [esp + 0x70], edi
movzx eax, cx
mov ecx, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx]
cmp ecx, 0x40
jle 0x494967
push 0x40
push str.at_most__d_tables_in_a_join
push dword [esp + 0x2c]
call fcn.00408830
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
and eax, 0x20
mov edx, eax
mov dword [esp + 0x60], eax
mov eax, 1
mov dword [esp + 0x64], edx
cmovne ecx, eax
mov dword [esp + 0x38], ecx
push 0
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x38]
shl eax, 4
mov dword [esp + 0x54], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x14], eax
add eax, 0x48
push eax
call fcn.004058c0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov esi, eax
mov dword [esp + 0x20], esi
cmp byte [ecx + 0x49], 0
je 0x494aa7
test esi, esi
je 0x494e61
cmp dword [ecx + 0x1d0], 0
je 0x4949ea
mov edx, esi
call fcn.00405430
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0x128]
jb 0x494a1e
cmp esi, dword [ecx + 0x12c]
jae 0x494a1e
mov eax, dword [ecx + 0x124]
mov dword [esi], eax
xor eax, eax
mov dword [ecx + 0x124], esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
cmp dword [0x55a418], 0
je 0x494a87
mov eax, dword [0x560268]
test eax, eax
je 0x494a3a
push eax
call dword [0x55a474]
add esp, 4
push esi
call dword [0x55a450]
sub dword [0x560070], eax
add esp, 4
dec dword [0x560094]
push esi
call dword [0x55a448]
mov eax, dword [0x560268]
add esp, 4
test eax, eax
je 0x494e61
push eax
call dword [0x55a47c]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
push esi
call dword [0x55a448]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 8], edi
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov byte [esi + 0x2e], al
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
mov ecx, dword [edx + 0x44]
lea edi, [edx + 0x48]
mov dword [esp + 0x40], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x494b1c
mov edx, dword [edi]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x3c]
push 0
push eax
mov ecx, dword [ecx]
call fcn.00405ab0
mov ecx, dword [esp + 0x48]
add esp, 8
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
je 0x494b29
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esp + 0x54]
not ecx
mov word [esi + 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
mov word [esi + 0x14], ax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
lea ecx, [esi + 0x2f0]
mov eax, dword [eax + 0x84]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x50]
add eax, 0x48
push eax
movups xmmword [esi + 0x2f], xmm0
push 0
movups xmmword [esi + 0x3f], xmm0
push ecx
mov byte [esi + 0x4f], 0
call fcn.004f7f30
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x50]
add ecx, esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], eax
lea edx, [esi + 0x1e8]
mov dword [esp + 0x80], ecx
add esp, 0xc
mov dword [esp + 0x2c], edx
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea ecx, [esi + 0x50]
mov dword [edx + 4], 0
lea eax, [ecx + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x28]
mov edi, eax
mov dword [esp + 0x68], esi
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 8
test eax, eax
je 0x494c14
nop dword [eax]
mov eax, dword [edi + 4]
test eax, 0x1000
je 0x494c10
test eax, 0x40000
je 0x494c09
mov eax, dword [edi + 0x14]
mov edi, dword [eax + 4]
jmp 0x494c0c
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x494bf0
mov eax, dword [esp + 0x28]
mov byte [ecx + 8], 0x2c
test edi, edi
je 0x494c4f
cmp byte [edi], 0x2c
je 0x494c2c
push 0
mov edx, eax
call fcn.0048b8f0
jmp 0x494c46
mov edx, dword [edi + 0xc]
push 0x2c
call fcn.0048e110
mov edx, dword [edi + 0x10]
lea ecx, [esi + 0x50]
add esp, 4
push 0x2c
call fcn.0048e110
lea edx, [esi + 0x1e8]
add esp, 4
cmp dword [esp + 0x38], 0
jne 0x494c77
mov eax, dword [esp + 0xc]
test eax, eax
je 0x494c63
mov al, byte [eax]
mov byte [esi + 0x2f], al
test dword [esp + 0x54], 0x100
mov eax, dword [esp + 0x30]
je 0x494cb3
mov byte [esi + 0x33], 1
jmp 0x494cb3
mov edi, dword [esp + 0x30]
xor esi, esi
add edi, 8
mov ecx, dword [edx + 4]
mov eax, dword [edi + 0x30]
push dword [esp + 0x58]
mov dword [edx + ecx*4 + 8], eax
inc dword [edx + 4]
mov edx, edi
mov ecx, dword [esp + 0x28]
call fcn.0048e590
mov eax, dword [esp + 0x34]
inc esi
mov edx, dword [esp + 0x30]
add esp, 4
add edi, 0x50
cmp esi, dword [eax]
jl 0x494c80
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0x5c]
lea ecx, [esi + 0x50]
sub edi, 1
js 0x494ce0
mov esi, dword [esp + 0x58]
push edi
mov edx, esi
mov ecx, eax
call fcn.0048ce80
mov eax, dword [esp + 0x34]
add esp, 4
sub edi, 1
jns 0x494cc2
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x49], 0
jne 0x494e45
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x28], 0
jle 0x494db2
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x10], eax
nop word [eax + eax]
mov esi, dword [ecx + 0x14]
add esi, eax
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x494d93
cmp dword [esp + 0x38], eax
je 0x494d78
mov edx, dword [esi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], eax
mov byte [esp + 0x94], 1
mov dword [esp + 0x84], 0x494870
mov dword [esp + 0x88], 0x4426f0
test edx, edx
je 0x494d78
lea ecx, [esp + 0x80]
call fcn.0043d910
cmp byte [esp + 0x94], 0
je 0x494d90
push 0x10
push dword [edi + 0x24]
push dword [esi]
push dword [esp + 0x30]
call fcn.00448ea0
add esp, 0x10
or word [esi + 0xa], 4
lea ecx, [edi + 0x50]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
inc esi
add eax, 0x30
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
cmp esi, dword [ecx + 0xc]
jl 0x494d10
mov esi, edi
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x1c]
and eax, 0x100
mov dword [esp + 0x3c], eax
je 0x494df4
mov edx, dword [esp + 0x30]
push edi
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0048ece0
add esp, 8
test eax, eax
je 0x494de1
mov byte [esi + 0x33], 1
jmp 0x494df4
cmp dword [esp + 0xc], 0
jne 0x494df4
mov eax, 0x80
mov dword [esi + 8], edi
or word [esi + 0x2c], ax
cmp dword [esp + 0x38], 1
jne 0x494e08
lea ecx, [esp + 0x68]
call fcn.00494660
test eax, eax
jne 0x494e77
lea ecx, [esp + 0x68]
call fcn.004931b0
test eax, eax
jne 0x494e45
xor edx, edx
mov ecx, esi
call fcn.00493c70
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x49], 0
jne 0x494e45
cmp dword [esi + 8], 0
je 0x494e81
movzx edx, word [esi + 0x48]
mov ecx, esi
inc dx
call fcn.00493c70
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x49], 0
je 0x494e7b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x84], eax
mov edx, ecx
mov ecx, dword [esp + 0x34]
call fcn.004904d0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
cmp dword [esi + 8], 0
jne 0x494e98
test dword [ecx + 0x1c], 0x1000
je 0x494e98
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x24], 0
jne 0x494e45
cmp byte [ecx + 0x49], 0
jne 0x494e45
mov al, byte [esi + 0x2e]
mov byte [esp + 0x17], al
cmp al, 2
jb 0x49506f
test edi, edi
je 0x49506f
mov edx, 0x100
test word [ecx + 0x44], dx
jne 0x49506f
cmp dword [edi], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
jle 0x494f25
mov eax, dword [esp + 0x44]
add edi, 4
mov dword [esp + 0xc], eax
xor esi, esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x2c]
call fcn.0048e390
or dword [esp + 0x10], eax
lea edi, [edi + 0x18]
mov eax, dword [esp + 0x1c]
inc esi
or dword [esp + 0xc], edx
cmp esi, dword [eax]
jl 0x494ef1
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov al, byte [esi + 0x2e]
mov byte [esp + 0x17], al
jmp 0x494f35
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x494fb2
cmp dword [ecx], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x40]
mov byte [esp + 0x17], al
jle 0x494f9e
mov eax, dword [esp + 0x44]
lea edi, [ecx + 4]
mov dword [esp + 0x28], eax
xor esi, esi
mov dword [esp + 0x1c], edx
mov edx, dword [edi]
mov ecx, dword [esp + 0x2c]
call fcn.0048e390
or dword [esp + 0x1c], eax
lea edi, [edi + 0x18]
mov eax, dword [esp + 0x70]
inc esi
mov ecx, dword [esp + 0x28]
or ecx, edx
mov dword [esp + 0x28], ecx
cmp esi, dword [eax]
jl 0x494f64
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov al, byte [esi + 0x2e]
mov byte [esp + 0x17], al
jmp 0x494fa2
mov ecx, dword [esp + 0x44]
or edi, edx
mov edx, dword [esp + 0xc]
or edx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
cmp al, 2
jb 0x49506f
mov edi, dword [esi + 4]
nop dword [eax]
movzx eax, al
lea eax, [eax + eax*4]
add eax, eax
mov ecx, dword [esi + eax*8 + 0x2e0]
movzx eax, byte [ecx + 0x10]
lea eax, [eax + eax*4]
add eax, eax
test byte [edi + eax*8 + 0x2c], 8
je 0x49506f
cmp word [esp + 0x3c], 0
jne 0x494ff4
test dword [ecx + 0x24], 0x1000
je 0x49506f
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, edi
and ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
and eax, edx
or ecx, eax
jne 0x49506f
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
lea esi, [ecx + ecx*2]
shl esi, 4
add esi, eax
cmp eax, esi
jae 0x495049
mov ecx, dword [eax + 0x2c]
mov edx, edi
and edx, dword [eax + 0x28]
and ecx, dword [esp + 0x40]
or edx, ecx
je 0x495038
mov ecx, dword [eax]
test byte [ecx + 4], 1
je 0x495041
add eax, 0x30
cmp eax, esi
jb 0x495020
jmp 0x495045
cmp eax, esi
jb 0x49506b
mov edx, dword [esp + 0xc]
mov al, byte [esp + 0x17]
mov esi, dword [esp + 0x20]
dec al
dec dword [esp + 0x38]
mov byte [esp + 0x17], al
mov edi, dword [esi + 4]
mov byte [esi + 0x2e], al
cmp al, 2
jae 0x494fc0
jmp 0x49506f
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
movsx eax, word [esi + 0x48]
mov dword [esp + 0x28], 0
add dword [ecx + 0x84], eax
test byte [esp + 0x54], 4
je 0x49510f
mov edx, dword [esi + 0x330]
mov edi, dword [esp + 0x4c]
and edi, 8
mov ecx, dword [edx + 0x24]
test ecx, 0x1000
jne 0x4950c3
mov dword [esp + 0x28], 0
test di, di
je 0x49510f
mov dword [esp + 0x28], 0
test ecx, 0x400
jne 0x49510f
mov eax, ecx
mov dword [esp + 0x28], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [esi + 0x31], al
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
test byte [eax + 0x24], 0x20
jne 0x49510f
mov dword [esp + 0x28], 0
test cl, 0x40
je 0x49510f
and ecx, 0xffffffbf
mov eax, 8
mov dword [edx + 0x24], ecx
xor ecx, ecx
test di, di
cmove eax, ecx
movzx eax, ax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x495451
lea eax, [esi + 0x330]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], eax
nop dword [eax]
movzx eax, byte [eax - 0x14]
mov edi, 0xfff0bdc0
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], eax
mov edx, dword [eax + 0x48]
test edx, edx
je 0x495180
mov ecx, dword [esp + 0x34]
xor edi, edi
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jle 0x495180
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
add eax, 0xc
nop dword [eax]
cmp dword [eax], edx
je 0x49517c
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x495170
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 2
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov dword [esp + 0x40], ecx
jne 0x4953be
cmp dword [eax + 0xc], 0
jne 0x4953be
mov ecx, dword [ecx + 0x24]
test ecx, 0x400
je 0x4952a0
mov esi, dword [eax + 0x40]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4951cf
mov eax, dword [esp + 0x34]
nop dword [eax]
cmp dword [esi], eax
je 0x4951cb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4951c0
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + 0x38]
mov edx, dword [eax + 0x88]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
cmp dword [eax + 0x30], edx
jg 0x495206
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
mov edx, 0x9c
call fcn.00429830
add esp, 0xc
mov edx, eax
jmp 0x495244
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x9c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x4953b6
test edx, edx
jns 0x49525f
mov edx, dword [ecx + 0x88]
dec edx
mov eax, dword [esp + 0x18]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x495289
mov ecx, dword [esp + 0x18]
mov edx, eax
push 0xfffffffffffffff4
push esi
call fcn.0042a4d0
add esp, 8
jmp 0x4953b6
test esi, esi
je 0x4953b6
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4953b6
cmp dword [eax + 0x38], 0
jne 0x4953be
test cl, 0x40
jne 0x4953a1
cmp word [esp + 0x64], 0
jne 0x4953a1
cmp byte [esi + 0x31], 0
mov ecx, 0x68
mov edx, dword [esp + 0x1c]
je 0x4952dd
mov eax, dword [edx + 0x38]
mov ecx, 0x69
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xc]
mov edx, dword [edx + 0x38]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push edi
call fcn.00462d00
add esp, 0xc
cmp byte [esi + 0x31], 0
jne 0x49537e
mov eax, dword [esp + 0xc]
cmp word [eax + 0x2a], 0x40
jge 0x49537e
test byte [eax + 0x24], 0x20
jne 0x49537e
mov eax, dword [esp + 0x1c]
xor esi, esi
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov eax, edx
or eax, ecx
je 0x49532d
nop dword [eax]
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x495320
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp byte [ecx + 0x49], 0
je 0x495349
push esi
mov edx, 0xfffffffd
call fcn.0042a2b0
add esp, 4
jmp 0x49537e
mov eax, dword [eax + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x495377
mov ecx, dword [esp + 0x18]
lea edx, [eax - 0x14]
push 0xfffffffffffffffd
push esi
call fcn.0042a4d0
add esp, 8
jmp 0x49537e
mov dword [eax - 4], esi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x88]
test eax, eax
jle 0x4953b6
mov edx, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4953b6
push dword [eax]
mov ecx, dword [esp + 0x28]
mov edx, edi
push 0
push dword [eax + 0x1c]
call fcn.0044f160
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
test dword [esi + 0x24], 0x200
je 0x495403
test byte [eax + 0x24], 0x20
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
mov dword [esp + 0xc], 0x68
je 0x495558
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x495558
cmp word [esp + 0x60], 0
je 0x495558
mov eax, dword [edx - 0x3c]
mov dword [edx - 0x38], eax
mov esi, dword [esp + 0x20]
test edi, edi
js 0x49543b
mov ecx, dword [esp + 0x24]
mov edx, ecx
mov eax, dword [ecx + 0x78]
test eax, eax
mov ecx, edi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x5c]
test ecx, eax
jne 0x49543b
bts ecx, edi
mov dword [edx + 0x5c], ecx
cmp edi, 1
jne 0x49543b
mov ecx, edx
call fcn.00457d00
mov eax, dword [esp + 0x10]
add eax, 0x50
sub dword [esp + 0x3c], 1
mov dword [esp + 0x10], eax
jne 0x495130
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x88]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x49], 0
jne 0x494e45
or ecx, 0xffffffff
mov dword [esp + 0x2c], 0
or edx, 0xffffffff
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x38], 0
mov dword [esp + 0x3c], edx
jle 0x495542
add esi, 0x31c
mov eax, dword [esi + 0x14]
lea edi, [esi - 0x2c]
test dword [eax + 0x24], 0x4000
je 0x4954d6
movzx eax, byte [esi]
push edi
push edx
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*4]
add ecx, 8
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.0048ef70
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp byte [eax + 0x49], 0
jne 0x494e45
push dword [esp + 0x54]
movzx eax, byte [esi]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push dword [esp + 0x34]
push edi
call fcn.004871f0
mov eax, dword [esp + 0x28]
push dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov edx, edi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x88]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004887c0
mov ecx, dword [esi - 0x14]
inc edi
mov dword [esp + 0x34], eax
add esp, 0x18
mov eax, dword [esp + 0x20]
add esi, 0x50
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], edi
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x38]
jl 0x495493
mov esi, eax
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x20]
cmp byte [esi + 0x31], 0
je 0x49558d
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x495580
cmp eax, ecx
je 0x495580
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x495574
mov dword [esp + 0xc], 0x69
mov dword [esi + 0x1c], edx
jmp 0x4955be
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4955a9
cmp word [esp + 0x60], 0
je 0x4955a9
mov edx, eax
mov dword [esp + 0xc], 0x67
jmp 0x4955c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 0x28]
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x50]
mov eax, edx
mov esi, dword [esp + 0x10]
mov dword [esi - 0x38], eax
mov eax, dword [ecx + 0x2c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4955fd
mov ecx, dword [esp + 0x2c]
push edi
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
call fcn.00429830
add esp, 0xc
jmp 0x495640
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], eax
mov eax, esi
mov esi, dword [esp + 0x20]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
mov eax, dword [ecx + 8]
mov dword [esp + 0x4c], eax
call fcn.004589a0
mov dword [esp + 0x50], eax
test eax, eax
je 0x495691
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx]
cmp byte [ecx + 0x49], 0
je 0x495678
push eax
mov edx, 0xfffffff7
call fcn.0042a2b0
add esp, 4
jmp 0x495691
mov eax, dword [edx + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
mov edx, dword [esp + 0x50]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x495407
test eax, 0x8002
jne 0x495407
test byte [esi + 0x2c], 1
jne 0x495407
cmp byte [esi + 0x33], 2
je 0x495407
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x88]
test eax, eax
jle 0x495407
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x495407