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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x4fc040]
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 + 0x44], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], 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 0x4c8ae0
cmp dword [eax], 0x40
mov dword [esp + 0x20], 0
cmovge eax, dword [esp + 0x20]
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
cmp eax, 0x40
jle 0x4c8b0d
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.0042b560
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004e3214
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x20
mov ecx, 1
push 0
cmovne eax, ecx
mov ecx, edx
mov dword [esp + 0x40], eax
lea eax, [eax + eax*2]
shl eax, 5
mov dword [esp + 0x24], eax
add eax, 0x2ff
and eax, 0xfffffff8
mov dword [esp + 0x30], eax
add eax, 0x50
push eax
call fcn.00427e60
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edi
cmp byte [eax + 0x57], 0
je 0x4c8b7a
test edi, edi
je 0x4c8f28
mov edx, edi
mov ecx, eax
call fcn.004279d0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004e3214
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov byte [edi + 0x2c], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x18]
mov word [edi + 0x28], ax
mov eax, dword [ebp + 0x1c]
mov word [edi + 0x2a], ax
movsx eax, word [ecx + 0x98]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x20]
add eax, 0x50
push eax
movups xmmword [edi + 0x2d], xmm0
lea eax, [edi + 0x2f8]
movups xmmword [edi + 0x3d], xmm0
push 0
mov word [edi + 0x4d], 0
push eax
mov byte [edi + 0x4f], 0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x1f4], 0
add ecx, edx
mov dword [edi + 0x1f8], 0xffffff9d
mov dword [esp + 0x50], edi
add edi, 0x50
mov dword [esp + 0x58], ecx
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.004c0770
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x4c8ccc
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4c8c9b
mov al, byte [eax]
mov byte [ecx + 0x2d], al
test dword [ebp + 0x18], 0x100
je 0x4c8cb2
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
jne 0x4c8cb2
mov byte [ecx + 0x2f], 1
mov edx, dword [esp + 0xc]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.0044f720
mov ecx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4c8d21
mov esi, dword [esp + 0x28]
mov dword [esp + 0x30], 0
add esi, 8
nop dword [eax + eax]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
push edi
mov ecx, dword [edx + 0x1f4]
mov dword [edx + ecx*4 + 0x1f8], eax
inc dword [edx + 0x1f4]
mov edx, esi
mov ecx, dword [esp + 0x10]
call fcn.004c0e30
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x28]
inc eax
add esi, 0x48
mov dword [esp + 0x30], eax
cmp eax, dword [ecx]
jl 0x4c8ce0
mov esi, dword [esp + 0x40]
mov eax, dword [edi + 0xc]
sub eax, 1
js 0x4c8d48
mov esi, eax
nop dword [eax + eax]
push esi
mov edx, edi
call fcn.004bf0f0
mov ecx, dword [esp + 0x2c]
add esp, 4
sub esi, 1
jns 0x4c8d30
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c8d5f
cmp dword [eax + 0x3c], 0
je 0x4c8d5f
mov edx, eax
mov ecx, edi
call fcn.004c0970
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4c8f0a
xor edx, edx
mov dword [esp + 0x34], edx
cmp dword [edi + 0x14], edx
jle 0x4c8e4f
mov eax, dword [esp + 0x10]
xor esi, esi
mov edi, dword [edi + 0x18]
add edi, esi
test byte [edi + 0xa], 2
jne 0x4c8e33
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
jne 0x4c8e2f
cmp dword [esp + 0x3c], eax
je 0x4c8e00
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], 0x4c82f0
mov dword [esp + 0x78], 0x469ad0
test ecx, ecx
je 0x4c8e00
mov edx, ecx
lea ecx, [esp + 0x70]
call fcn.00463850
cmp word [esp + 0x84], 0
mov edx, dword [esp + 0x34]
je 0x4c8e2f
mov ecx, dword [esp + 0x20]
test byte [ecx + 4], 2
je 0x4c8e10
mov eax, dword [esp + 0x28]
test byte [eax + 0x2c], 0x40
jne 0x4c8e2f
mov edx, dword [esp + 0x10]
push 0x10
push dword [edx + 0x20]
push ecx
push dword [esp + 0x18]
call fcn.004709d0
mov edx, dword [esp + 0x44]
add esp, 0x10
or word [edi + 0xa], 4
mov eax, dword [esp + 0x10]
inc edx
lea edi, [eax + 0x50]
add esi, 0x30
mov dword [esp + 0x34], edx
cmp edx, dword [edi + 0x14]
jl 0x4c8d82
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x18]
test edx, 0x100
je 0x4c8eb5
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x50], 0x10
je 0x4c8e7c
mov edi, dword [esp + 0x10]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [ebp + 0x18], edx
and word [edi + 0x28], ax
jmp 0x4c8eb9
push dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, eax
push edi
call fcn.004c1640
mov edi, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4c8e9d
mov byte [edi + 0x2f], 1
jmp 0x4c8eb9
cmp dword [ebp + 0xc], 0
jne 0x4c8eb9
mov eax, 0x80
or word [edi + 0x28], ax
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], eax
jmp 0x4c8eb9
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x3c], 1
jne 0x4c8ecd
lea ecx, [esp + 0x50]
call fcn.004c80b0
test eax, eax
jne 0x4c8f3e
lea ecx, [esp + 0x50]
call fcn.004c6840
test eax, eax
jne 0x4c8f0a
xor edx, edx
mov ecx, edi
call fcn.004c75b0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4c8f0a
cmp dword [edi + 8], 0
je 0x4c8f48
movzx edx, word [edi + 0x34]
mov ecx, edi
inc dx
call fcn.004c75b0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
je 0x4c8f42
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ax, word [ecx + 0x24]
mov word [edx + 0x98], ax
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.004c3650
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004e3214
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x4c8f5c
mov eax, dword [eax + 0x20]
and eax, 0x1000
or eax, 0
je 0x4c8f5c
mov ecx, edi
call fcn.004c8a10
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4c8f0a
mov al, byte [edi + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
cmp al, 2
jb 0x4c8fd7
cmp dword [esp + 0x1c], 0
je 0x4c8fc3
mov eax, dword [ebp + 0x18]
xor ecx, ecx
and eax, 0x400
cmp cx, ax
mov eax, dword [esp + 0x18]
jne 0x4c8fc7
test dword [eax + 0x50], 0x100
jne 0x4c8fc7
sub esp, 8
mov ecx, edi
call fcn.004c8320
mov dword [esp + 0x54], eax
add esp, 8
mov al, byte [edi + 0x2c]
movzx ecx, al
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
cmp al, 2
jb 0x4c8fd7
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x80000
jne 0x4c8fd7
mov ecx, edi
call fcn.004c85a0
mov ecx, dword [edi]
mov ax, word [edi + 0x34]
add word [ecx + 0x98], ax
xor ecx, ecx
test byte [ebp + 0x18], 4
je 0x4c9063
mov eax, dword [edi + 0x348]
mov edx, dword [eax + 0x2c]
test edx, 0x1000
jne 0x4c902d
test byte [ebp + 0x18], 8
je 0x4c9063
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4c9063
test edx, 0x2000
je 0x4c901e
test byte [ebp + 0x18], 0x10
je 0x4c9063
mov eax, dword [esp + 0x18]
xor ecx, ecx
test dword [eax + 0x50], 0x8000000
jne 0x4c9063
mov eax, edx
and eax, 0x1000
neg eax
sbb al, al
xor ecx, ecx
add al, 2
mov byte [edi + 0x2e], al
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x4c9063
test dl, 0x40
je 0x4c9063
mov eax, dword [edi + 0x348]
and edx, 0xffffffbf
mov ecx, dword [ebp + 0x18]
and ecx, 8
mov dword [eax + 0x2c], edx
movzx eax, cx
lea edx, [edi + 0x2f8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x4c97fa
nop dword [eax + eax]
movzx eax, byte [edx + 0x3c]
mov edx, 0xffff8000
mov ecx, dword [esp + 0x28]
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 0x4c90e0
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 0x4c90dc
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4c90d0
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 + 0x30], ecx
jne 0x4c9364
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x4c91bd
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4c9226
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x4c912c
mov eax, dword [esp + 0x18]
cmp dword [edi], eax
je 0x4c912c
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4c9121
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x2c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x70], edx
jg 0x4c9157
push 0
push 0
push eax
mov edx, 0xad
mov ecx, esi
call fcn.0044f120
add esp, 0xc
mov edx, eax
jmp 0x4c918e
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x2c]
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 0x4c91bd
test edx, edx
jns 0x4c919e
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 0x4c9216
push 0xfffffffffffffff5
push edi
mov edx, eax
mov ecx, esi
call fcn.0044fdf0
add esp, 8
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
test dword [edx + 0x2c], 0x200
je 0x4c94d8
test byte [eax + 0x1c], 0x80
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], 0x70
je 0x4c936d
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp + 0x18]
jne 0x4c9370
test al, 0x20
je 0x4c9370
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
jmp 0x4c94d8
test edi, edi
je 0x4c91bd
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf5
inc dword [edi + 0xc]
jmp 0x4c91bd
cmp al, 1
je 0x4c91bd
test cl, 0x40
jne 0x4c9235
test byte [ebp + 0x18], 0x20
je 0x4c927d
mov eax, dword [esp + 0x38]
test byte [eax + 0x24], 0x50
jne 0x4c9281
mov edi, dword [esp + 0xc]
cmp edx, 1
je 0x4c91c1
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 0x4c91c1
mov eax, dword [esp + 0x14]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.00479c30
add esp, 0xc
jmp 0x4c91c1
mov eax, dword [esp + 0x38]
cmp byte [edi + 0x2e], 0
mov ecx, 0x70
je 0x4c9297
mov eax, dword [eax + 0x2c]
mov ecx, 0x71
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 0x2c]
call fcn.0048e690
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x4c9341
mov eax, dword [esp + 0x14]
cmp word [eax + 0x22], 0x40
jge 0x4c9341
test byte [eax + 0x1c], 0xe0
jne 0x4c9341
mov eax, dword [esp + 0x30]
test dword [eax + 0x2c], 0x404000
jne 0x4c9341
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 0x4c92fd
nop dword [eax + eax]
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4c92f0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c9315
push edi
mov edx, 0xfffffffd
call fcn.0044fcf0
add esp, 4
jmp 0x4c9341
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 0x4c933a
push 0xfffffffffffffffd
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.0044fdf0
add esp, 8
jmp 0x4c9341
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0xc]
test eax, eax
jle 0x4c91c1
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4c91c1
mov edi, dword [esp + 0xc]
jmp 0x4c91c5
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x2e], 0
je 0x4c93a9
mov eax, dword [esp + 0x38]
mov edi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4c939c
nop dword [eax + eax]
cmp eax, ecx
je 0x4c939c
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x4c9390
mov dword [esp + 0x44], 0x71
mov dword [edx + 0x18], edi
jmp 0x4c93fc
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x4c93c2
test al, 0x20
je 0x4c93c2
mov edi, edx
mov dword [esp + 0x44], 0x65
mov eax, edx
jmp 0x4c93fe
mov edi, dword [edi + 0x28]
mov edx, dword [esp + 0xc]
lea eax, [edi + 1]
mov dword [edx + 0x28], eax
test dword [ecx + 0x38], 0x800
je 0x4c93fc
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x1000000
jne 0x4c93fc
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push edi
call fcn.004c8730
mov ecx, dword [esp + 0x34]
add esp, 8
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 0x4c9427
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x4c]
mov ecx, esi
push edi
call fcn.0044f120
add esp, 0xc
jmp 0x4c945d
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 + 0x44]
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 + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x2c]
mov edi, dword [eax + 8]
call fcn.00483aa0
mov edx, eax
test edx, edx
je 0x4c949f
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4c948d
push edx
mov edx, 0xfffffff8
call fcn.0044fcf0
add esp, 4
jmp 0x4c949f
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 + 0x30]
mov eax, dword [eax + 0x2c]
test al, 0xf
je 0x4c94d8
test eax, 0x188002
jne 0x4c94d8
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 1
jne 0x4c94d8
cmp byte [eax + 0x2f], 2
je 0x4c94d8
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4c94d8
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 0x4c950c
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x7c]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov edi, dword [edx + 0x58]
test edi, eax
jne 0x4c950c
bts edi, ecx
mov dword [edx + 0x58], edi
cmp ecx, 1
jne 0x4c950c
mov ecx, edx
call fcn.004832b0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
test byte [eax + 0x24], 0x10
je 0x4c97da
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.00427e60
mov edx, eax
mov dword [esp + 0x24], eax
add esp, 8
test edx, edx
je 0x4c9555
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 0x4c97da
mov ecx, dword [esp + 0xc]
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 0x4c959b
push 0
push edi
push 0x10000
mov edx, 0x4d
mov ecx, esi
call fcn.0044f120
add esp, 0xc
jmp 0x4c95ca
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 + 0xc]
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 0x4c95f9
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.0044f120
add esp, 0xc
jmp 0x4c9628
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 0x4c970f
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
cmp dword [esi + 0x70], ecx
jg 0x4c965a
push 0
push 1
push edx
mov edx, 0x76
mov ecx, esi
call fcn.0044f120
add esp, 0xc
jmp 0x4c9689
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 + 0xc]
push 0
push 0x19
mov edi, dword [eax]
mov ecx, edi
call fcn.00427e60
mov edx, eax
add esp, 8
test edx, edx
je 0x4c96c4
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 0x4c96d5
mov ecx, edi
call fcn.00428130
mov edx, eax
test edx, edx
je 0x4c97c6
mov eax, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c96fd
push edx
mov edx, 0xfffffff8
call fcn.0044fcf0
add esp, 4
jmp 0x4c97c6
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 4], edx
jmp 0x4c97c1
mov edi, dword [eax + 8]
test edi, edi
je 0x4c9726
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4c9726
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4c9716
movzx eax, word [edi + 0x32]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x70], ecx
jg 0x4c974d
push 0
push eax
push edx
mov edx, 0x76
mov ecx, esi
call fcn.0044f120
add esp, 0xc
jmp 0x4c9780
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 + 0x2c]
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 + 0xc]
mov edx, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
call fcn.00483aa0
mov edi, eax
test edi, edi
je 0x4c97c6
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4c97b4
push edi
mov edx, 0xfffffff8
call fcn.0044fcf0
add esp, 4
jmp 0x4c97c6
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 + 0x30]
mov edi, dword [esp + 0x10]
and dword [ecx + 0x2c], 0xffffffbf
mov byte [edi + 0x2d], 0
mov byte [edi + 0x2f], 3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x3c]
add edx, 0x60
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp eax, ecx
jl 0x4c9090
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4c8f0a
xor edx, edx
mov dword [esp + 0x24], edx
test ecx, ecx
jle 0x4c9a5a
lea eax, [edi + 0x50]
add edi, 0x2f8
mov dword [esp + 0x30], eax
nop dword [eax]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4c8f0a
mov eax, dword [edi + 0x50]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0x3c]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x48], eax
test cl, 0x10
je 0x4c99ab
test cl, 8
je 0x4c98cd
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x70], ecx
jg 0x4c9895
push 0
push edx
push eax
mov edx, 0xa
mov ecx, esi
call fcn.0044f120
add esp, 0xc
jmp 0x4c99a7
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x40]
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 0x4c99a7
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x20], edx
cmp dword [esi + 0x70], edx
jg 0x4c98f4
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.0044f120
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4c9927
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*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 eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], eax
cmp dword [esi + 0x70], ecx
jg 0x4c9952
push 0
push edx
push eax
mov edx, 0xa
mov ecx, esi
call fcn.0044f120
add esp, 0xc
jmp 0x4c9985
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x40]
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 0x4c9997
mov eax, 0x4fec48
jmp 0x4c99a4
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
test eax, fcn.00404000
je 0x4c99f8
test eax, 0x4000
je 0x4c99d5
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push edi
push dword [esp + 0x38]
push dword [esp + 0x54]
call fcn.004c18e0
jmp 0x4c99e7
push dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x50]
push edi
call fcn.004c2790
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x4c8f0a
push dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push edi
call fcn.004b8040
push dword [esp + 0x3c]
mov eax, dword [esi + 0x6c]
mov edx, esi
push dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
push edi
push dword [esp + 0x38]
mov dword [edi + 0x20], eax
push dword [esp + 0x28]
call fcn.004b9c80
mov dword [esp + 0x50], edx
add esp, 0x1c
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x18]
add edi, 0x60
mov dword [edx + 0x1c], eax
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x3c]
jl 0x4c9830
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x3c], eax
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004e3214
mov esp, ebp
pop ebp
ret