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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x513040]
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 0x4d6888
cmp dword [eax], 0x40
jl 0x4d6888
mov eax, dword [ebp + 0x18]
and eax, 0xfeff
mov dword [ebp + 0xc], 0
or eax, 0x2000
jmp 0x4d688b
mov eax, dword [ebp + 0x18]
mov edi, dword [edi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
cmp edi, 0x40
jle 0x4d68c0
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.00432d50
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 0x358
mov dword [esp + 0x34], eax
je 0x4d6927
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.0042f570
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
cmp byte [eax + 0x57], 0
je 0x4d694b
test ecx, ecx
je 0x4d789f
mov edx, ecx
mov ecx, eax
call fcn.0042f0e0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret
mov ecx, edi
cmp edi, 1
jle 0x4d68da
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 0x4d68e0
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 + 0x3c]
dec eax
mov dword [edx + 0x3c], 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 + 0xa0]
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.004cdb10
add esp, 4
cmp dword [esp + 0x28], 0
jne 0x4d6aa7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4d6a69
mov al, byte [eax]
mov byte [ecx + 0x2d], al
test dword [esp + 0x20], 0x100
je 0x4d6a81
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
jne 0x4d6a81
mov byte [ecx + 0x2f], 1
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4d6b05
test dword [eax + 4], 0x400
jne 0x4d6b05
mov edx, dword [esp + 8]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.004585c0
add esp, 0xc
jmp 0x4d6b01
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x54]
add edi, 8
mov dword [esp + 0x10], 0
nop word [eax + eax]
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.004ce1f0
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 0x4d6ac0
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 0x4d6b32
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov edx, esi
push edi
call fcn.004cc460
add esp, 4
sub edi, 1
jns 0x4d6b16
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d6b4a
cmp dword [eax + 0x3c], 0
je 0x4d6b4a
add ecx, 0x50
mov edx, eax
call fcn.004cdd10
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x28], 0
jne 0x4d7881
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], 0
cmp dword [edx + 0x14], 0
jle 0x4d6c3a
xor esi, esi
mov edi, dword [edx + 0x18]
add edi, esi
test byte [edi + 0xa], 2
jne 0x4d6c1d
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x30], ecx
jne 0x4d6c1d
cmp dword [esp + 0x28], eax
je 0x4d6bee
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], 0x4d6190
mov dword [esp + 0x78], 0x473f00
test ecx, ecx
je 0x4d6bee
mov edx, ecx
lea ecx, [esp + 0x70]
call fcn.0046d580
cmp word [esp + 0x84], 0
mov edx, dword [esp + 0x54]
je 0x4d6c1d
mov ecx, dword [esp + 0x30]
test byte [ecx + 4], 2
je 0x4d6bfe
mov eax, dword [esp + 0x2c]
test byte [eax + 0x2c], 0x40
jne 0x4d6c1d
mov eax, dword [esp + 0xc]
push 0x10
push dword [eax + 0x20]
push ecx
push dword [esp + 0x14]
call fcn.0047b370
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 0x4d6b70
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
test edx, 0x100
je 0x4d6c9d
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
je 0x4d6c69
and edx, 0xfeff
mov ecx, 0xfeff
and word [edi + 0x28], cx
mov dword [esp + 0x20], edx
jmp 0x4d6c9d
push dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
lea eax, [edi + 0x50]
push eax
call fcn.004ceae0
add esp, 8
test eax, eax
je 0x4d6c87
mov byte [edi + 0x2f], 1
jmp 0x4d6c9d
cmp dword [ebp + 0xc], 0
jne 0x4d6c9d
mov eax, 0x80
or word [edi + 0x28], ax
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], eax
cmp dword [esp + 0x28], 1
jne 0x4d6cb1
lea ecx, [esp + 0x50]
call fcn.004d5f50
test eax, eax
jne 0x4d6d20
lea ecx, [esp + 0x50]
call fcn.004d43a0
test eax, eax
jne 0x4d7881
xor edx, edx
mov ecx, edi
call fcn.004d52f0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4d7881
cmp dword [edi + 8], 0
je 0x4d6d10
mov ecx, edi
call fcn.004d5ee0
movzx ecx, word [edi + 0x36]
mov edx, 1
test cx, cx
lea eax, [ecx + 1]
mov ecx, edi
movzx eax, ax
cmovns edx, eax
call fcn.004d52f0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4d7881
mov eax, pe_nt_image_headers32
test word [edi + 0x28], ax
je 0x4d6d20
add word [edi + 0x36], 0xffe2
cmp dword [edi + 8], 0
mov ecx, dword [esp + 0x18]
jne 0x4d6d42
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4d6d42
mov ecx, edi
call fcn.004d67b0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 8]
cmp dword [eax + 0x28], 0
jne 0x4d7881
mov al, byte [edi + 0x2c]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
cmp al, 2
jb 0x4d6dbe
cmp dword [esp + 0x1c], 0
je 0x4d6daa
mov eax, dword [esp + 0x20]
xor edx, edx
and eax, 0x2400
cmp dx, ax
jne 0x4d6daa
test dword [ecx + 0x50], 0x100
jne 0x4d6daa
sub esp, 8
mov ecx, edi
call fcn.004d61c0
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 0x4d6dbe
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x80000
jne 0x4d6dbe
mov ecx, edi
call fcn.004d6440
mov ecx, dword [edi]
mov ax, word [edi + 0x36]
add word [ecx + 0xa0], ax
xor ecx, ecx
mov eax, dword [esp + 0x20]
test al, 4
je 0x4d6e4e
mov edi, dword [edi + 0x348]
mov edx, dword [edi + 0x2c]
test edx, 0x1000
jne 0x4d6e15
test al, 8
je 0x4d6e4a
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4d6e4a
test edx, 0x2000
je 0x4d6e06
test byte [esp + 0x20], 0x10
je 0x4d6e4a
mov eax, dword [esp + 0x18]
xor ecx, ecx
test dword [eax + 0x50], 0x8000000
jne 0x4d6e4a
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 0x4d6e4a
test dl, 0x40
je 0x4d6e4a
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 0x4d7606
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 0x4d6ec2
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 0x4d6ebe
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4d6eb2
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 0x4d7147
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x4d6f9f
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4d7009
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x4d6f0e
mov eax, dword [esp + 0x18]
cmp dword [edi], eax
je 0x4d6f0e
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4d6f03
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 0x4d6f39
push 0
push 0
push eax
mov edx, 0xad
mov ecx, esi
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x4d6f70
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 0x4d6f9f
test edx, edx
jns 0x4d6f80
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 0x4d6ff9
push 0xfffffffffffffff5
push edi
mov edx, eax
mov ecx, esi
call fcn.00458cf0
add esp, 8
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
test dword [edx + 0x2c], 0x200
je 0x4d72e3
test byte [eax + 0x1c], 0x80
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], 0x66
je 0x4d7150
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x20]
jne 0x4d7154
test al, 0x20
je 0x4d7154
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
jmp 0x4d72e3
test edi, edi
je 0x4d6f9f
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf5
inc dword [edi + 0xc]
jmp 0x4d6f9f
cmp al, 1
je 0x4d6f9f
test cl, 0x40
jne 0x4d7019
test byte [esp + 0x20], 0x20
je 0x4d7061
mov eax, dword [esp + 0x38]
test byte [eax + 0x24], 0x50
jne 0x4d7065
mov edi, dword [esp + 8]
cmp edx, 1
je 0x4d6fa3
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 0x4d6fa3
mov eax, dword [esp + 0x14]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.004847a0
add esp, 0xc
jmp 0x4d6fa3
mov eax, dword [esp + 0x38]
cmp byte [edi + 0x2e], 0
mov ecx, 0x66
je 0x4d707b
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.00499b50
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x4d7124
mov eax, dword [esp + 0x14]
cmp word [eax + 0x22], 0x40
jge 0x4d7124
test byte [eax + 0x1c], 0xe0
jne 0x4d7124
mov eax, dword [esp + 0x34]
test dword [eax + 0x2c], 0x404000
jne 0x4d7124
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 0x4d70e0
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4d70d3
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4d70f8
push edi
mov edx, 0xfffffffd
call fcn.00458ba0
add esp, 4
jmp 0x4d7124
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 0x4d711d
push 0xfffffffffffffffd
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.00458cf0
add esp, 8
jmp 0x4d7124
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 8]
test eax, eax
jle 0x4d6fa3
mov edx, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4d6fa3
mov edi, dword [esp + 8]
jmp 0x4d6fa7
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
cmp byte [edx + 0x2e], 0
je 0x4d718c
mov eax, dword [esp + 0x38]
mov edi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4d717c
nop
cmp eax, ecx
je 0x4d717c
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x4d7170
mov dword [esp + 0x3c], 0x71
mov dword [edx + 0x18], edi
jmp 0x4d7207
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x4d71a5
test al, 0x20
je 0x4d71a5
mov edi, edx
mov dword [esp + 0x3c], 0x65
mov eax, edx
jmp 0x4d7209
mov edi, dword [edi + 0x2c]
mov edx, dword [esp + 8]
lea eax, [edi + 1]
mov dword [edx + 0x2c], eax
test dword [ecx + 0x38], 0x1000
je 0x4d71df
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x1000000
jne 0x4d71df
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
push edi
call fcn.004d6550
mov ecx, dword [esp + 0x18]
add esp, 8
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4d7207
mov edx, dword [esp + 0x38]
test byte [edx + 0x24], 0x10
jne 0x4d7207
push edx
push edi
push 0
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.004d2640
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 0x4d7232
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x44]
mov ecx, esi
push edi
call fcn.00457f50
add esp, 0xc
jmp 0x4d7268
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.0048e9b0
mov edx, eax
test edx, edx
je 0x4d72aa
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4d7298
push edx
mov edx, 0xfffffff8
call fcn.00458ba0
add esp, 4
jmp 0x4d72aa
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 0x4d72e3
test eax, 0x188002
jne 0x4d72e3
mov eax, dword [esp + 0xc]
test byte [eax + 0x28], 1
jne 0x4d72e3
cmp byte [eax + 0x2f], 2
je 0x4d72e3
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4d72e3
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 0x4d731a
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x84]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov edi, dword [edx + 0x60]
test edi, eax
jne 0x4d731a
bts edi, ecx
mov dword [edx + 0x60], edi
cmp ecx, 1
jne 0x4d731a
mov ecx, edx
call fcn.0048e0d0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
test byte [eax + 0x24], 0x10
je 0x4d75e8
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.0042f570
mov edx, eax
mov dword [esp + 0x24], eax
add esp, 8
test edx, edx
je 0x4d7363
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 0x4d75e8
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x2c]
mov dword [edx], eax
mov edi, dword [ecx + 0x30]
inc dword [ecx + 0x2c]
inc edi
mov dword [ecx + 0x30], edi
mov dword [edx + 4], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d73a9
push 0
push edi
push 0x10000
mov edx, 0x4d
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4d73d8
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 + 0x30]
mov edi, dword [eax + 0x30]
mov dword [edx + 8], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d7407
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4d7436
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 0x4d751d
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
cmp dword [esi + 0x70], ecx
jg 0x4d7468
push 0
push 1
push edx
mov edx, 0x75
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4d7497
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x75
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.0042f570
mov edx, eax
add esp, 8
test edx, edx
je 0x4d74d2
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 0x4d74e3
mov ecx, edi
call fcn.0042f840
mov edx, eax
test edx, edx
je 0x4d75d4
mov eax, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4d750b
push edx
mov edx, 0xfffffff8
call fcn.00458ba0
add esp, 4
jmp 0x4d75d4
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 4], edx
jmp 0x4d75cf
mov edi, dword [eax + 8]
test edi, edi
je 0x4d7534
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4d7534
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4d7524
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 0x4d755b
push 0
push eax
push edx
mov edx, 0x75
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4d758e
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], 0x75
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.0048e9b0
mov edi, eax
test edi, edi
je 0x4d75d4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4d75c2
push edi
mov edx, 0xfffffff8
call fcn.00458ba0
add esp, 4
jmp 0x4d75d4
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 0x4d6e72
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x4d7881
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], ecx
jle 0x4d7865
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 + 0x28], 0
jne 0x4d7881
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 0x4d77af
test al, 8
je 0x4d76d7
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 0x4d76a3
push 0
push eax
push edx
mov edx, 0xa
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4d77ab
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 0x4d77a7
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x4d76f8
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.00457f50
add esp, 0xc
mov edi, eax
jmp 0x4d772b
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 0x4d7756
push 0
push eax
push edx
mov edx, 0xa
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x4d7789
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 0x4d779b
mov eax, 0x515db8
jmp 0x4d77a4
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, 0x404000
je 0x4d77fe
test eax, 0x4000
je 0x4d77d9
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
push edi
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.004cede0
jmp 0x4d77ed
push dword [esp + 0x48]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push dword [esp + 0x48]
push edi
call fcn.004cfc50
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x4d7881
push dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push edi
call fcn.004c5270
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.004c6f30
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 0x4d7640
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.004f5edb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ax, word [ecx + 0x24]
mov word [edx + 0xa0], ax
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.004d0c90
mov ecx, dword [esp + 0x9c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret