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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x20], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x74], 0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], 0
push edi
movzx edi, ax
test esi, esi
je 0x4e6abd
xor edx, edx
cmp dword [esi], 0x40
cmovge esi, edx
mov dword [esp + 0x30], esi
mov dl, byte [ecx + 0x4c]
and eax, 0xfeff
movzx ecx, ax
test dl, 0x10
mov eax, edi
mov dword [esp + 0x7c], esi
cmove ecx, eax
movzx eax, cx
mov ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x4e6b12
mov ecx, dword [esp + 0x14]
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.0045b840
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
and eax, 0x20
mov edx, eax
mov dword [esp + 0x68], eax
mov eax, 1
mov dword [esp + 0x70], edx
cmovne ecx, eax
imul eax, ecx, 0x58
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x34]
push 0
mov dword [esp + 0x4c], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x1c], eax
add eax, 0x48
push eax
call fcn.004581b0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edi, eax
mov dword [esp + 0x38], edi
cmp byte [ecx + 0x51], 0
je 0x4e6c11
test edi, edi
je 0x4e78b3
cmp dword [ecx + 0x1f8], 0
je 0x4e6b92
mov edx, edi
call fcn.00457e30
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
cmp edi, dword [ecx + 0x14c]
jae 0x4e6bf2
cmp edi, dword [ecx + 0x144]
jb 0x4e6bc6
mov eax, dword [ecx + 0x140]
mov dword [edi], eax
xor eax, eax
mov dword [ecx + 0x140], edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
cmp edi, dword [ecx + 0x148]
jb 0x4e6bf2
mov eax, dword [ecx + 0x138]
mov dword [edi], eax
xor eax, eax
mov dword [ecx + 0x138], edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
push edi
call fcn.00457dc0
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [edi + 8], esi
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 [esp + 0x4c]
mov word [edi + 0x28], ax
mov eax, dword [ebp + 0x18]
mov word [edi + 0x2a], ax
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x88]
lea ecx, [edi + 0x2f0]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x48]
add eax, 0x48
push eax
movups xmmword [edi + 0x2d], xmm0
push 0
movups xmmword [edi + 0x3d], xmm0
mov word [edi + 0x4d], 0
push ecx
mov byte [edi + 0x4f], 0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x24]
lea eax, [edi + 0x1e8]
add ecx, edi
mov dword [esp + 0x54], eax
lea edx, [edi + 0x50]
mov dword [esp + 0x8c], ecx
add esp, 0xc
mov dword [esp + 0x5c], edx
mov dword [esp + 0x78], 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 eax, [edx + 0x18]
mov dword [edi + 0x1ec], 0
lea ecx, [edi + 0x50]
mov dword [edx], edi
mov byte [edx + 9], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 8
mov dword [edx + 0x14], eax
mov edx, dword [esp + 0x10]
push 0x2c
mov dword [esp + 0x78], edi
call fcn.004e04e0
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x4e6d50
test esi, esi
je 0x4e6d29
mov al, byte [esi]
mov byte [edi + 0x2d], al
test dword [esp + 0x4c], 0x100
je 0x4e6d37
mov byte [edi + 0x2f], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x1c]
call fcn.0047a8e0
mov ecx, dword [esp + 0x34]
add esp, 0xc
jmp 0x4e6d9a
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
add esi, 8
mov dword [esp + 0x10], 0
mov ecx, dword [edi + 4]
mov edx, esi
mov eax, dword [esi + 0x2c]
push dword [esp + 0x5c]
mov dword [edi + ecx*4 + 8], eax
mov ecx, dword [esp + 0x18]
inc dword [edi + 4]
call fcn.004e09c0
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x28]
inc eax
add esi, 0x48
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
jl 0x4e6d63
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 0x5c]
sub esi, 1
js 0x4e6dbe
mov edi, dword [esp + 0x5c]
push esi
mov edx, edi
call fcn.004df620
mov ecx, dword [esp + 0x2c]
add esp, 4
sub esi, 1
jns 0x4e6da6
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x51], 0
jne 0x4e789b
cmp dword [edi + 0x5c], 0
lea esi, [edi + 0x50]
mov dword [esp + 0x10], 0
jle 0x4e6ea5
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x4e6df3
lea esi, [edi + 0x50]
mov esi, dword [esi + 0x14]
add esi, ecx
test byte [esi + 0xa], 2
jne 0x4e6e87
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x4e6e87
cmp dword [esp + 0x3c], eax
je 0x4e6e6b
mov edx, dword [esi]
xorps xmm0, xmm0
mov dword [esp + 0xa8], eax
mov eax, 1
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
mov word [esp + 0xa4], ax
mov dword [esp + 0x94], 0x4e6a10
mov dword [esp + 0x98], 0x4937e0
test edx, edx
je 0x4e6e6b
lea ecx, [esp + 0x90]
call fcn.0048e580
cmp word [esp + 0xa4], 0
je 0x4e6e83
push 0x10
push dword [edi + 0x20]
push dword [esi]
push dword [esp + 0x20]
call fcn.0049a0f0
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
lea edx, [edi + 0x50]
inc esi
add ecx, 0x30
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
cmp esi, dword [edx + 0xc]
jl 0x4e6df0
jmp 0x4e6ea8
lea edx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
and eax, 0x100
mov dword [esp + 0x48], eax
je 0x4e6eea
mov ecx, dword [esp + 0x14]
push esi
push edx
mov edx, dword [esp + 0x30]
call fcn.004e10b0
add esp, 8
test eax, eax
je 0x4e6ed7
mov byte [edi + 0x2f], 1
jmp 0x4e6eea
cmp dword [esp + 0x30], 0
jne 0x4e6eea
mov eax, 0x80
mov dword [edi + 8], esi
or word [edi + 0x28], ax
cmp dword [esp + 0x3c], 1
jne 0x4e6efe
lea ecx, [esp + 0x74]
call fcn.004e6790
test eax, eax
jne 0x4e6f49
lea ecx, [esp + 0x74]
call fcn.004e50f0
test eax, eax
jne 0x4e789b
xor edx, edx
mov ecx, edi
call fcn.004e5d70
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x51], 0
jne 0x4e789b
cmp dword [edi + 8], 0
je 0x4e6f53
movzx edx, word [edi + 0x34]
mov ecx, edi
inc dx
call fcn.004e5d70
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x51], 0
jne 0x4e789b
jmp 0x4e6f4d
mov ecx, dword [esp + 0x34]
cmp dword [edi + 8], 0
jne 0x4e6f6e
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4e6f6e
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0xffffffff
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
jne 0x4e789b
cmp byte [ecx + 0x51], 0
jne 0x4e789b
mov dl, byte [edi + 0x2c]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
cmp dl, 2
jb 0x4e71de
test esi, esi
je 0x4e71de
mov eax, 0x100
test word [ecx + 0x4c], ax
jne 0x4e71de
cmp dword [esi], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x10], 0
jle 0x4e7022
mov ecx, dword [esp + 0x44]
lea eax, [esi + 4]
mov dword [esp + 0x1c], ecx
lea esi, [edi + 0x1e8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
nop dword [eax]
mov edx, dword [eax]
mov ecx, esi
call fcn.004e0960
or dword [esp + 0x1c], edx
or dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
inc ecx
mov eax, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx]
jl 0x4e6ff0
mov dl, byte [edi + 0x2c]
jmp 0x4e7038
mov eax, dword [esp + 0x44]
lea esi, [edi + 0x1e8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4e70b8
cmp dword [eax], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x20], 0
jle 0x4e70a8
lea edi, [eax + 4]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
nop dword [eax]
mov edx, dword [edi]
mov ecx, esi
call fcn.004e0960
mov ecx, dword [esp + 0x10]
lea edi, [edi + 0x14]
or dword [esp + 0x18], eax
or ecx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
cmp eax, dword [edx]
jl 0x4e7070
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov dl, byte [edi + 0x2c]
jmp 0x4e70b0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
or dword [esp + 0x2c], eax
or dword [esp + 0x1c], ecx
movzx esi, dl
dec esi
mov dword [esp + 0x30], esi
cmp esi, 1
jl 0x4e71de
imul eax, esi, 0x58
add eax, 0x2f0
add eax, edi
mov dword [esp + 0x10], eax
nop word [eax + eax]
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x54]
movzx eax, byte [edx + 0x10]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], edx
lea ecx, [eax + eax*8]
mov eax, dword [edi + 4]
test byte [eax + ecx*8 + 0x2c], 8
lea eax, [eax + ecx*8]
mov dword [esp + 0x6c], eax
je 0x4e71c5
cmp word [esp + 0x48], 0
jne 0x4e7128
test dword [edx + 0x24], 0x1000
je 0x4e71c5
mov edi, dword [edx + 8]
mov ecx, edi
mov eax, dword [edx + 0xc]
and ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x4e71c1
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x14]
mov esi, edx
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, edx
mov dword [esp + 0x20], eax
cmp esi, eax
jae 0x4e7362
mov eax, dword [esi + 0x2c]
mov ecx, edi
and ecx, dword [esi + 0x28]
and eax, dword [esp + 0x18]
or ecx, eax
je 0x4e7189
mov eax, dword [esi]
test byte [eax + 4], 1
je 0x4e71b3
mov ecx, dword [esp + 0x6c]
movsx eax, word [eax + 0x24]
cmp eax, dword [ecx + 0x34]
jne 0x4e71b3
add esi, 0x30
cmp esi, dword [esp + 0x20]
jb 0x4e7164
mov esi, dword [esp + 0x18]
mov eax, edi
mov ecx, esi
not eax
and eax, dword [esp + 0x60]
not ecx
and ecx, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
jmp 0x4e7380
cmp esi, dword [esp + 0x20]
jae 0x4e7362
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
dec esi
sub eax, 0x58
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], eax
cmp esi, 1
jge 0x4e70e0
mov ecx, dword [edi]
movsx eax, word [edi + 0x34]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
add dword [ecx + 0x88], eax
mov eax, dword [esp + 0x4c]
test al, 4
je 0x4e7286
mov edx, dword [edi + 0x338]
mov ecx, dword [edx + 0x24]
test ecx, 0x1000
jne 0x4e7247
mov dword [esp + 0x2c], 0
test al, 8
je 0x4e7286
mov eax, dword [esi + 0x18]
mov dword [esp + 0x2c], 0
cmp dword [eax + 0x38], 0
jne 0x4e7286
test ecx, 0x2000
je 0x4e7247
test byte [esp + 0x4c], 0x10
mov dword [esp + 0x2c], 0
je 0x4e7286
mov eax, ecx
mov dword [esp + 0x2c], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [edi + 0x2e], al
mov eax, dword [esi + 0x18]
test byte [eax + 0x24], 0x80
jne 0x4e7286
mov dword [esp + 0x2c], 0
test cl, 0x40
je 0x4e7286
mov eax, dword [esp + 0x4c]
and ecx, 0xffffffbf
and eax, 8
mov dword [edx + 0x24], ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jle 0x4e74fe
lea eax, [edi + 0x338]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], eax
movzx eax, byte [eax - 0x14]
mov ecx, 0xffff8000
mov dword [esp + 0x30], ecx
lea eax, [eax + eax*8]
lea eax, [esi + eax*8]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], esi
mov edx, dword [esi + 0x48]
test edx, edx
je 0x4e72ec
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x4e72ec
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x4e72e0
mov dword [esp + 0x30], ecx
test byte [esi + 0x24], 2
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
jne 0x4e745b
cmp dword [esi + 0xc], 0
jne 0x4e745b
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x4e7608
mov esi, dword [esi + 0x40]
test esi, esi
je 0x4e732e
mov eax, dword [esp + 0x34]
cmp dword [esi], eax
je 0x4e732e
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4e7323
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x6c]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x40], eax
cmp dword [ecx + 0x70], edx
jg 0x4e73df
push 0
push 0
push eax
mov edx, 0xa5
call fcn.0047a300
add esp, 0xc
mov edx, eax
jmp 0x4e741a
mov esi, dword [esp + 0x18]
mov ecx, edi
mov eax, esi
not ecx
and dword [esp + 0x50], ecx
not eax
and dword [esp + 0x54], eax
cmp edx, dword [esp + 0x20]
jae 0x4e73a6
nop dword [eax]
mov eax, dword [edx + 0x2c]
mov ecx, edi
and ecx, dword [edx + 0x28]
and eax, esi
or ecx, eax
je 0x4e739d
mov eax, dword [esp + 0x40]
or word [edx + 0xa], 4
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
add edx, 0x30
cmp edx, dword [esp + 0x20]
jb 0x4e7380
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
movzx ecx, byte [edi + 0x2c]
lea eax, [ecx - 1]
cmp esi, eax
je 0x4e73d3
sub ecx, esi
imul eax, ecx, 0x58
mov ecx, dword [esp + 0x10]
sub eax, 0x58
push eax
lea eax, [ecx + 0x58]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec byte [edi + 0x2c]
dec dword [esp + 0x3c]
jmp 0x4e71c5
mov edi, dword [esp + 0x40]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xa5
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 + 0x24]
mov eax, dword [ecx]
cmp byte [eax + 0x51], 0
jne 0x4e7457
test edx, edx
jns 0x4e742e
mov edx, dword [ecx + 0x6c]
dec edx
mov eax, dword [esp + 0x24]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4e75ed
mov ecx, dword [esp + 0x24]
mov edx, eax
push 0xfffffffffffffff4
push esi
call fcn.0047b0d0
add esp, 8
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test dword [ecx + 0x24], 0x200
je 0x4e74a8
mov eax, dword [esp + 0x58]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x18], 0x60
test byte [eax + 0x24], 0x80
je 0x4e772d
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x4e772d
cmp word [esp + 0x68], 0
je 0x4e772d
mov eax, dword [edx - 0x44]
mov dword [edx - 0x40], eax
mov esi, dword [esp + 0x30]
test esi, esi
js 0x4e74e0
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov eax, dword [ecx + 0x74]
test eax, eax
mov ecx, esi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x54]
test ecx, eax
jne 0x4e74e0
bts ecx, esi
mov dword [edx + 0x54], ecx
cmp esi, 1
jne 0x4e74e0
mov ecx, edx
call fcn.004ab2f0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
add eax, 0x58
sub dword [esp + 0x48], 1
mov dword [esp + 0x1c], eax
jne 0x4e72a0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x51], 0
jne 0x4e789b
mov dword [esp + 0x10], 0
test ecx, ecx
jle 0x4e75d7
lea esi, [edi + 0x324]
nop dword [eax]
mov eax, dword [esi + 0x14]
lea edi, [esi - 0x34]
test dword [eax + 0x24], 0x4000
je 0x4e7577
movzx eax, byte [esi]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
push edi
push dword [esp + 0x58]
lea eax, [eax + eax*8]
push dword [esp + 0x58]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x20]
push eax
call fcn.004e14a0
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp byte [eax + 0x51], 0
jne 0x4e7897
push dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push edi
call fcn.004d9a60
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov edx, ecx
push dword [esp + 0x5c]
push edi
mov eax, dword [ecx + 0x6c]
push dword [esp + 0x24]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
push edi
mov dword [esi - 0x14], eax
call fcn.004db190
mov ecx, dword [esi - 0x1c]
add esp, 0x1c
mov dword [edi + 0x1c], ecx
add esi, 0x58
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x3c]
jl 0x4e7530
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
test esi, esi
je 0x4e745b
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4e745b
cmp dword [esi + 0x38], 0
jne 0x4e745b
test al, 0x40
jne 0x4e770d
cmp word [esp + 0x70], 0
jne 0x4e770d
cmp byte [edi + 0x2e], 0
mov edx, 0x60
je 0x4e7640
mov eax, dword [esp + 0x20]
mov edx, 0x61
mov eax, dword [eax + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x20]
push edx
push esi
push ecx
mov edx, dword [eax + 0x34]
mov ecx, dword [esp + 0x20]
call fcn.004b5610
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x4e76e2
cmp word [esi + 0x2a], 0x40
jge 0x4e76e2
test byte [esi + 0x24], 0xe0
jne 0x4e76e2
mov eax, dword [esp + 0x20]
xor esi, esi
mov edx, dword [eax + 0x40]
mov ecx, edx
mov eax, dword [eax + 0x44]
or ecx, eax
je 0x4e7694
shrd edx, eax, 1
inc esi
shr eax, 1
mov ecx, edx
or ecx, eax
jne 0x4e7687
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp byte [ecx + 0x51], 0
je 0x4e76b0
push esi
mov edx, 0xfffffffd
call fcn.0047af00
add esp, 4
jmp 0x4e76e2
mov eax, dword [eax + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x4e76db
mov ecx, dword [esp + 0x24]
lea edx, [eax - 0x14]
push 0xfffffffffffffffd
push esi
call fcn.0047b0d0
add esp, 8
jmp 0x4e76e2
mov dword [eax - 4], esi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x4e7704
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x1c]
jmp 0x4e745f
push dword [esi]
mov edx, ecx
push 0
push dword [esi + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.004a1be0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4e745f
cmp byte [edi + 0x2e], 0
je 0x4e775f
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e7751
cmp eax, ecx
je 0x4e7751
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x4e7745
mov eax, 0x61
mov dword [edi + 0x18], edx
mov dword [esp + 0x18], eax
jmp 0x4e7789
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4e777c
cmp word [esp + 0x68], 0
je 0x4e777c
mov edx, eax
mov eax, 0x5f
mov dword [esp + 0x18], eax
jmp 0x4e7789
mov edx, dword [esi + 0x28]
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov esi, edx
mov dword [edi - 0x40], esi
mov esi, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], esi
mov ecx, dword [ecx + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e77c1
mov esi, dword [esp + 0x30]
mov ecx, edi
push esi
push dword [esp + 0x44]
push edx
mov edx, eax
call fcn.0047a300
add esp, 0xc
jmp 0x4e77f3
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, edi
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], esi
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov eax, dword [ecx + 8]
mov dword [esp + 0x40], eax
call fcn.004abce0
mov edi, dword [esp + 0x38]
mov dword [esp + 0x58], eax
test eax, eax
je 0x4e7845
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4e782f
push eax
mov edx, 0xfffffff7
call fcn.0047af00
add esp, 4
jmp 0x4e7845
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x24]
test al, 0xf
je 0x4e74ac
test eax, 0x88002
jne 0x4e74ac
test byte [edi + 0x28], 1
jne 0x4e74ac
cmp byte [edi + 0x2f], 2
je 0x4e74ac
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4e74ac
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4e74ac
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x88], eax
mov ecx, dword [esp + 0x34]
call fcn.004e2560
mov ecx, dword [esp + 0xbc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret