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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x2c], edi
mov dword [esp + 8], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], edx
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x60], xmm0
test eax, eax
je 0x4bf7a3
cmp dword [eax], 0x40
jl 0x4bf7a3
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0xc], 0
and eax, 0xfeff
jmp 0x4bf7a6
mov eax, dword [ebp + 0x18]
mov edi, dword [edi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
cmp edi, 0x40
jle 0x4bf7db
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.0041c7c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 0x358
mov dword [esp + 0x34], eax
je 0x4bf842
mov dword [esp + 0x28], 1
mov ecx, 1
lea edi, [ecx + ecx*2]
shl edi, 5
add eax, 0x50
mov ecx, edx
push 0
push eax
call fcn.004190c0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
cmp byte [eax + 0x57], 0
je 0x4bf866
test ecx, ecx
je 0x4c07af
mov edx, ecx
mov ecx, eax
call fcn.00418c30
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ecx, edi
cmp edi, 1
jle 0x4bf7f5
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], ecx
lea edi, [ecx + ecx*2]
shl edi, 5
lea eax, [edi + 0x2ff]
and eax, 0xfffffff8
mov dword [esp + 0x34], eax
jmp 0x4bf7fb
mov edx, dword [esp + 8]
xorps xmm0, xmm0
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [ecx], edx
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x14], 0xffffffff
mov byte [ecx + 0x2c], al
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x20]
mov word [ecx + 0x28], ax
mov eax, dword [ebp + 0x1c]
mov word [ecx + 0x2a], ax
movsx eax, word [edx + 0x9c]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
lea eax, [edi + 0x50]
push eax
movups xmmword [ecx + 0x2d], xmm0
lea eax, [ecx + 0x2f8]
movups xmmword [ecx + 0x3d], xmm0
push 0
mov word [ecx + 0x4d], 0
push eax
mov byte [ecx + 0x4f], 0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x34]
lea edi, [edx + 0x50]
add ecx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
mov dword [edx + 0x1f4], 0
mov dword [edx + 0x1f8], 0xffffff9d
lea eax, [ecx + 0x40]
mov dword [ecx + 0x2c], 0
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 [edi], edx
mov ecx, edi
mov edx, dword [esp + 0x30]
push 0x2c
mov dword [esp + 0x58], edi
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.004b7000
add esp, 4
cmp dword [esp + 0x28], 0
jne 0x4bf9c2
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4bf984
mov al, byte [eax]
mov byte [ecx + 0x2d], al
test dword [esp + 0x20], 0x100
je 0x4bf99c
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
jne 0x4bf99c
mov byte [ecx + 0x2f], 1
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4bfa1a
test dword [eax + 4], 0x400
jne 0x4bfa1a
mov edx, dword [esp + 8]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.004425b0
add esp, 0xc
jmp 0x4bfa16
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x54]
add edi, 8
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x2c]
push esi
mov ecx, dword [edx + 0x1f4]
mov dword [edx + ecx*4 + 0x1f8], eax
inc dword [edx + 0x1f4]
mov edx, edi
mov ecx, dword [esp + 0xc]
call fcn.004b76e0
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x2c]
inc eax
add edi, 0x48
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
jl 0x4bf9d5
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + 0x5c]
lea eax, [ecx + 0x50]
sub edi, 1
mov dword [esp + 0x30], eax
js 0x4bfa4c
mov esi, eax
nop dword [eax + eax]
mov ecx, dword [esp + 0x2c]
mov edx, esi
push edi
call fcn.004b5930
add esp, 4
sub edi, 1
jns 0x4bfa30
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4bfa64
cmp dword [eax + 0x3c], 0
je 0x4bfa64
add ecx, 0x50
mov edx, eax
call fcn.004b7200
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x24], 0
jne 0x4c0791
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], 0
cmp dword [edx + 0x14], 0
jle 0x4bfb5a
xor esi, esi
nop word [eax + eax]
mov edi, dword [edx + 0x18]
add edi, esi
test byte [edi + 0xa], 2
jne 0x4bfb3d
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x30], ecx
jne 0x4bfb3d
cmp dword [esp + 0x28], eax
je 0x4bfb0e
mov dword [esp + 0x88], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov eax, 1
movq qword [esp + 0x80], xmm0
mov word [esp + 0x84], ax
mov dword [esp + 0x74], 0x4bf0c0
mov dword [esp + 0x78], 0x45d9c0
test ecx, ecx
je 0x4bfb0e
mov edx, ecx
lea ecx, [esp + 0x70]
call fcn.00457010
cmp word [esp + 0x84], 0
mov edx, dword [esp + 0x54]
je 0x4bfb3d
mov ecx, dword [esp + 0x30]
test byte [ecx + 4], 2
je 0x4bfb1e
mov eax, dword [esp + 0x2c]
test byte [eax + 0x2c], 0x40
jne 0x4bfb3d
mov eax, dword [esp + 0xc]
push 0x10
push dword [eax + 0x20]
push ecx
push dword [esp + 0x14]
call fcn.00464970
mov edx, dword [esp + 0x64]
add esp, 0x10
or word [edi + 0xa], 4
mov edi, dword [esp + 0x10]
add esi, 0x30
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [edx + 0x14]
jl 0x4bfa90
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
test edx, 0x100
je 0x4bfbbd
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
je 0x4bfb89
and edx, 0xfeff
mov ecx, 0xfeff
and word [edi + 0x28], cx
mov dword [esp + 0x20], edx
jmp 0x4bfbbd
push dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
lea eax, [edi + 0x50]
push eax
call fcn.004b7fe0
add esp, 8
test eax, eax
je 0x4bfba7
mov byte [edi + 0x2f], 1
jmp 0x4bfbbd
cmp dword [ebp + 0xc], 0
jne 0x4bfbbd
mov eax, 0x80
or word [edi + 0x28], ax
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], eax
cmp dword [esp + 0x28], 1
jne 0x4bfbd1
lea ecx, [esp + 0x50]
call fcn.004bee80
test eax, eax
jne 0x4bfc31
lea ecx, [esp + 0x50]
call fcn.004bd600
test eax, eax
jne 0x4c0791
xor edx, edx
mov ecx, edi
call fcn.004be340
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4c0791
cmp dword [edi + 8], 0
je 0x4bfc21
mov ecx, edi
call fcn.004bee10
movzx edx, word [edi + 0x34]
mov ecx, edi
inc dx
call fcn.004be340
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4c0791
mov eax, 0x100
test word [edi + 0x28], ax
je 0x4bfc31
add word [edi + 0x34], 0xffe2
cmp dword [edi + 8], 0
mov ecx, dword [esp + 0x18]
jne 0x4bfc53
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4bfc53
mov ecx, edi
call fcn.004bf6d0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 8]
cmp dword [eax + 0x24], 0
jne 0x4c0791
mov al, byte [edi + 0x2c]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
cmp al, 2
jb 0x4bfccf
cmp dword [esp + 0x1c], 0
je 0x4bfcbb
mov eax, dword [esp + 0x20]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x4bfcbb
test dword [ecx + 0x50], 0x100
jne 0x4bfcbb
sub esp, 8
mov ecx, edi
call fcn.004bf0f0
mov dword [esp + 0x4c], eax
add esp, 8
mov al, byte [edi + 0x2c]
movzx ecx, al
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], ecx
cmp al, 2
jb 0x4bfccf
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x80000
jne 0x4bfccf
mov ecx, edi
call fcn.004bf370
mov ecx, dword [edi]
mov ax, word [edi + 0x34]
add word [ecx + 0x9c], ax
xor ecx, ecx
mov eax, dword [esp + 0x20]
test al, 4
je 0x4bfd5f
mov edi, dword [edi + 0x348]
mov edx, dword [edi + 0x2c]
test edx, 0x1000
jne 0x4bfd26
test al, 8
je 0x4bfd5b
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4bfd5b
test edx, 0x2000
je 0x4bfd17
test byte [esp + 0x20], 0x10
je 0x4bfd5b
mov eax, dword [esp + 0x18]
xor ecx, ecx
test dword [eax + 0x50], 0x8000000
jne 0x4bfd5b
mov ecx, dword [esp + 0xc]
mov eax, edx
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [ecx + 0x2e], al
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x4bfd5b
test dl, 0x40
je 0x4bfd5b
mov ecx, dword [esp + 0x20]
and edx, 0xffffffbf
mov dword [edi + 0x2c], edx
and ecx, 8
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x28], 0
lea edx, [edi + 0x2f8]
movzx eax, cx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], 0
jle 0x4c0513
movzx eax, byte [edx + 0x3c]
mov edx, 0xffff8000
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4bfdd3
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4bfdcf
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4bfdc3
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x14]
test dword [eax + 0x1c], 0x4000
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x34], ecx
jne 0x4c0054
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x4bfeb0
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4bff1a
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x4bfe1f
mov eax, dword [esp + 0x18]
cmp dword [edi], eax
je 0x4bfe1f
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4bfe14
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x2c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x70], edx
jg 0x4bfe4a
push 0
push 0
push eax
mov edx, 0xad
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
mov edx, eax
jmp 0x4bfe81
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xad
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4bfeb0
test edx, edx
jns 0x4bfe91
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4bff0a
push 0xfffffffffffffff5
push edi
mov edx, eax
mov ecx, esi
call fcn.00442ca0
add esp, 8
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
test dword [edx + 0x2c], 0x200
je 0x4c01f0
test byte [eax + 0x1c], 0x80
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], 0x70
je 0x4c005d
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x20]
jne 0x4c0061
test al, 0x20
je 0x4c0061
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
jmp 0x4c01f0
test edi, edi
je 0x4bfeb0
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf5
inc dword [edi + 0xc]
jmp 0x4bfeb0
cmp al, 1
je 0x4bfeb0
test cl, 0x40
jne 0x4bff2a
test byte [esp + 0x20], 0x20
je 0x4bff72
mov eax, dword [esp + 0x38]
test byte [eax + 0x24], 0x50
jne 0x4bff76
mov edi, dword [esp + 8]
cmp edx, 1
je 0x4bfeb4
mov eax, dword [edi]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x4bfeb4
mov eax, dword [esp + 0x14]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.0046dd60
add esp, 0xc
jmp 0x4bfeb4
mov eax, dword [esp + 0x38]
cmp byte [edi + 0x2e], 0
mov ecx, 0x70
je 0x4bff8c
mov eax, dword [eax + 0x2c]
mov ecx, 0x71
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
push eax
push edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 0x2c]
call fcn.00483040
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x4c0031
mov eax, dword [esp + 0x14]
cmp word [eax + 0x22], 0x40
jge 0x4c0031
test byte [eax + 0x1c], 0xe0
jne 0x4c0031
mov eax, dword [esp + 0x34]
test dword [eax + 0x2c], 0x404000
jne 0x4c0031
mov eax, dword [esp + 0x38]
xor edi, edi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x4bffed
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4bffe0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c0005
push edi
mov edx, 0xfffffffd
call fcn.00442b90
add esp, 4
jmp 0x4c0031
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x4c002a
push 0xfffffffffffffffd
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.00442ca0
add esp, 8
jmp 0x4c0031
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 8]
test eax, eax
jle 0x4bfeb4
mov edx, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4bfeb4
mov edi, dword [esp + 8]
jmp 0x4bfeb8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
cmp byte [edx + 0x2e], 0
je 0x4c0099
mov eax, dword [esp + 0x38]
mov edi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4c008c
nop dword [eax]
cmp eax, ecx
je 0x4c008c
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x4c0080
mov dword [esp + 0x3c], 0x71
mov dword [edx + 0x18], edi
jmp 0x4c0114
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x4c00b2
test al, 0x20
je 0x4c00b2
mov edi, edx
mov dword [esp + 0x3c], 0x65
mov eax, edx
jmp 0x4c0116
mov edi, dword [edi + 0x28]
mov edx, dword [esp + 8]
lea eax, [edi + 1]
mov dword [edx + 0x28], eax
test dword [ecx + 0x38], 0x1000
je 0x4c00ec
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x1000000
jne 0x4c00ec
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
push edi
call fcn.004bf470
mov ecx, dword [esp + 0x18]
add esp, 8
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4c0114
mov edx, dword [esp + 0x38]
test byte [edx + 0x24], 0x10
jne 0x4c0114
push edx
push edi
push 0
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.004bb900
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov eax, edi
mov edx, dword [esp + 0x24]
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c013f
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x44]
mov ecx, esi
push edi
call fcn.00441fb0
add esp, 0xc
jmp 0x4c0175
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 8]
mov ecx, eax
mov edx, dword [esp + 0x10]
mov edi, dword [eax + 8]
call fcn.00477f50
mov edx, eax
test edx, edx
je 0x4c01b7
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4c01a5
push edx
mov edx, 0xfffffff8
call fcn.00442b90
add esp, 4
jmp 0x4c01b7
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x2c]
test al, 0xf
je 0x4c01f0
test eax, 0x188002
jne 0x4c01f0
mov eax, dword [esp + 0xc]
test byte [eax + 0x28], 1
jne 0x4c01f0
cmp byte [eax + 0x2f], 2
je 0x4c01f0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4c01f0
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
js 0x4c0227
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x80]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov edi, dword [edx + 0x5c]
test edi, eax
jne 0x4c0227
bts edi, ecx
mov dword [edx + 0x5c], edi
cmp ecx, 1
jne 0x4c0227
mov ecx, edx
call fcn.00477670
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
test byte [eax + 0x24], 0x10
je 0x4c04f5
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.004190c0
mov edx, eax
mov dword [esp + 0x24], eax
add esp, 8
test edx, edx
je 0x4c0270
mov ecx, dword [edi + 0x44]
mov dword [edx], ecx
mov dword [edx + 8], 0x14
mov dword [edx + 0xc], 0
mov dword [edi + 0x44], edx
add edx, 0x10
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x24]
mov dword [eax + 0x38], edx
test edx, edx
je 0x4c04f5
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x28]
mov dword [edx], eax
mov edi, dword [ecx + 0x2c]
inc dword [ecx + 0x28]
inc edi
mov dword [ecx + 0x2c], edi
mov dword [edx + 4], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c02b6
push 0
push edi
push 0x10000
mov edx, 0x4d
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4c02e5
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], 0x10000
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x1c]
inc dword [eax + 0x2c]
mov edi, dword [eax + 0x2c]
mov dword [edx + 8], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c0314
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4c0343
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test byte [eax + 0x1c], 0x80
jne 0x4c042a
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
cmp dword [esi + 0x70], ecx
jg 0x4c0375
push 0
push 1
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4c03a4
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 8]
push 0
push 0x19
mov edi, dword [eax]
mov ecx, edi
call fcn.004190c0
mov edx, eax
add esp, 8
test edx, edx
je 0x4c03df
lea ecx, [edx + 0x18]
mov dword [edx + 6], 0x10001
mov dword [edx + 0x10], ecx
mov al, byte [edi + 0x54]
mov byte [edx + 4], al
mov dword [edx + 0xc], edi
mov dword [edx], 1
mov byte [ecx], 0
jmp 0x4c03f0
mov ecx, edi
call fcn.00419390
mov edx, eax
test edx, edx
je 0x4c04e1
mov eax, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c0418
push edx
mov edx, 0xfffffff8
call fcn.00442b90
add esp, 4
jmp 0x4c04e1
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 4], edx
jmp 0x4c04dc
mov edi, dword [eax + 8]
test edi, edi
je 0x4c0441
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4c0441
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4c0431
movzx eax, word [edi + 0x32]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x70], ecx
jg 0x4c0468
push 0
push eax
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4c049b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 8]
mov edx, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], eax
call fcn.00477f50
mov edi, eax
test edi, edi
je 0x4c04e1
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4c04cf
push edi
mov edx, 0xfffffff8
call fcn.00442b90
add esp, 4
jmp 0x4c04e1
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 - 4], edi
mov byte [eax + ecx*4 - 0x13], 0xf8
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
and dword [ecx + 0x2c], 0xffffffbf
mov byte [edi + 0x2d], 0
mov byte [edi + 0x2f], 3
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
inc eax
add edx, 0x60
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
cmp eax, dword [esp + 0x28]
jl 0x4bfd83
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4c0791
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], ecx
jle 0x4c0775
lea eax, [edi + 0x50]
add edi, 0x2f8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edi
nop dword [eax + eax]
mov eax, dword [esp + 8]
cmp dword [eax + 0x24], 0
jne 0x4c0791
mov eax, dword [edi + 0x50]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x34], eax
movzx eax, byte [edi + 0x3c]
lea eax, [eax + eax*8]
lea edx, [edx + eax*8]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x30], edx
test al, 0x10
je 0x4c06bf
test al, 8
je 0x4c05e7
mov eax, dword [edx + 0x20]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx + 0x24]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x70], ecx
jg 0x4c05b3
push 0
push eax
push edx
mov edx, 0xa
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4c06bb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c06b7
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x4c0608
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
mov edi, eax
jmp 0x4c063b
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x70], ecx
jg 0x4c0666
push 0
push eax
push edx
mov edx, 0xa
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4c0699
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4c06ab
mov eax, 0x5732c0
jmp 0x4c06b4
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
test eax, fcn.00404000
je 0x4c070e
test eax, 0x4000
je 0x4c06e9
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
push edi
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.004b8280
jmp 0x4c06fd
push dword [esp + 0x48]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push dword [esp + 0x48]
push edi
call fcn.004b90e0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x4c0791
push dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push edi
call fcn.004ae7d0
push dword [esp + 0x50]
mov eax, dword [esi + 0x6c]
mov edx, esi
push dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
push edi
push dword [esp + 0x38]
mov dword [edi + 0x20], eax
push dword [esp + 0x24]
call fcn.004b03f0
mov ecx, dword [esp + 0x28]
add esp, 0x1c
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x18]
add edi, 0x60
mov dword [esp + 0x48], edx
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x28]
jl 0x4c0550
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ax, word [ecx + 0x24]
mov word [edx + 0x9c], ax
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.004b9fc0
mov ecx, dword [esp + 0x9c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret