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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x670
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4d663a
cmp dword [ebx + 0x10], 4
jne 0x4d663a
mov dword [esp + 0x2e0], str.name
mov dword [esp + 0x2e4], 4
mov word [esp + 0x2e8], 1
mov dword [esp + 0x2ec], str.type
mov dword [esp + 0x2f0], 4
mov word [esp + 0x2f4], 1
mov dword [esp + 0x2f8], str.contents
mov dword [esp + 0x2fc], 8
mov word [esp + 0x300], 0
mov dword [esp + 0x304], str.external_contents
mov dword [esp + 0x308], 0x11
mov word [esp + 0x30c], 0
mov dword [esp + 0x310], str.use_external_name
mov dword [esp + 0x314], 0x11
mov word [esp + 0x318], 0
lea eax, [esp + 0x2e0]
mov dword [esp + 0x560], eax
lea eax, [esp + 0x31c]
mov dword [esp + 0x348], eax
lea eax, [esp + 0x348]
lea edx, [esp + 0x560]
lea ecx, [esp + 0x68]
push eax
push edx
call fcn.004d5a10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x56c]
mov dword [esp + 0x560], eax
mov dword [esp + 0x564], 0
mov dword [esp + 0x568], 0x100
lea eax, [esp + 0x354]
mov dword [esp + 0x348], eax
mov dword [esp + 0x34c], 0
mov dword [esp + 0x350], 0x100
mov dword [esp + 0x18], 0
mov byte [ebx + 0x28], 0
mov ecx, ebx
call fcn.004f96e0
cmp dword [ebx + 0x2c], 0
mov dword [esp + 8], esi
je 0x4d666c
mov eax, dword [ebp + 0x10]
add eax, 0x25
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
lea edi, [esp + 0xc0]
mov dword [esp + 0x50], 0
mov ebx, dword [ebx + 0x2c]
lea eax, [esp + 0xcc]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x100
mov ecx, ebx
call fcn.004f9370
test eax, eax
je 0x4d5f40
cmp dword [eax + 0x10], 1
jne 0x4d5f40
mov ecx, eax
push edi
call fcn.004f8d30
mov esi, eax
mov edi, edx
mov ecx, ebx
call fcn.004f9370
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
sub esp, 0x10
movq xmm0, qword [esp + 0xc8]
movq qword [esp + 4], xmm0
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.004d5bb0
test al, al
je 0x4d5f70
cmp edi, 0x11
je 0x4d5fe6
cmp edi, 8
je 0x4d5f88
cmp edi, 4
lea edi, [esp + 0xc0]
jne 0x4d601c
cmp dword [esi], 0x656d616e
je 0x4d6106
cmp dword [esi], 0x65707974
jne 0x4d601c
mov ecx, ebx
call fcn.004f94a0
test eax, eax
je 0x4d6189
cmp dword [eax + 0x10], 1
jne 0x4d6189
mov ecx, eax
push edi
call fcn.004f8d30
cmp edx, 0xf
mov esi, dword [esp + 8]
je 0x4d635e
cmp edx, 9
je 0x4d633b
cmp edx, 4
jne 0x4d6376
cmp dword [eax], 0x656c6966
jne 0x4d6376
mov bl, 1
mov dword [esp + 0x10], 2
jmp 0x4d61bf
mov dword [esp + 0x1d0], str.expected_string
mov word [esp + 0x1e0], 0x103
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push 0
lea edx, [esp + 0x1d4]
push edx
push eax
call fcn.004f7770
jmp 0x4d61b7
mov esi, dword [esp + 8]
mov dword [esi], 0
xor ebx, ebx
lea edi, [esp + 0xc0]
jmp 0x4d61bf
mov eax, dword [esi]
mov ecx, 0x746e6f63
xor eax, ecx
mov ecx, dword [esi + 4]
mov edx, 0x73746e65
xor ecx, edx
or ecx, eax
lea edi, [esp + 0xc0]
jne 0x4d601c
cmp dword [esp + 0xc], 0
jne 0x4d60ef
mov ecx, ebx
call fcn.004f94a0
test eax, eax
je 0x4d62b2
mov esi, eax
cmp dword [eax + 0x10], 5
jne 0x4d62b2
mov byte [esi + 0x28], 0
mov ecx, esi
call fcn.004f9a00
mov bl, 1
mov dword [esp + 0xc], 1
jmp 0x4d6067
movdqu xmm0, xmmword [esi]
pcmpeqb xmm0, xmmword [0x5231a0]
movzx eax, byte [esi + 0x10]
movd xmm1, eax
pcmpeqb xmm1, xmmword [0x5231b0]
pand xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
lea edi, [esp + 0xc0]
je 0x4d60e4
mov ecx, ebx
call fcn.004f94a0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x1d0]
push edx
push eax
call fcn.004d7100
test al, al
je 0x4d61b3
cmp byte [esp + 0x1d0], 1
mov eax, 0
adc eax, 1
mov dword [esp + 0x18], eax
mov bl, 1
mov esi, dword [esp + 8]
jmp 0x4d61bf
mov ecx, esi
call fcn.004f9a00
cmp dword [esi + 0x2c], 0
je 0x4d6052
lea ecx, [esp + 0x1d0]
push 0
push dword [ebp + 0x10]
push dword [esi + 0x2c]
push dword [ebp + 8]
call fcn.004d5c70
mov ecx, dword [esp + 0x1d0]
test ecx, ecx
je 0x4d61b3
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x24]
jae 0x4d60af
mov dword [esp + 0x1d0], 0
mov dword [eax], ecx
add eax, 4
jmp 0x4d60c0
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x1d0]
push eax
call fcn.004d8410
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1d0]
mov dword [esp + 0x1d0], 0
test ecx, ecx
je 0x4d6060
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d6060
cmp dword [esp + 0xc], 0
je 0x4d61fb
mov ecx, ebx
call fcn.004f9370
mov dword [esp + 0x1d0], str.entry_already_has_contents_or_external_contents
jmp 0x4d6194
mov ecx, ebx
call fcn.004f94a0
test eax, eax
je 0x4d6189
cmp dword [eax + 0x10], 1
jne 0x4d6189
mov ecx, eax
push edi
call fcn.004f8d30
mov esi, eax
mov edi, edx
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x1d0]
mov edx, esi
push edi
call fcn.004cfe80
add esp, 4
mov esi, dword [esp + 0x1d0]
mov edi, dword [esp + 0x1d4]
mov dword [esp + 0x34c], 0
cmp dword [esp + 0x350], edi
jae 0x4d6268
lea ecx, [esp + 0x348]
push 1
push edi
lea eax, [esp + 0x35c]
push eax
call fcn.0046e2c0
mov eax, dword [esp + 0x34c]
jmp 0x4d626e
mov dword [esp + 0x1d0], str.expected_string
mov word [esp + 0x1e0], 0x103
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push 0
lea edx, [esp + 0x1d4]
push edx
push eax
call fcn.004f7770
mov esi, dword [esp + 8]
mov dword [esi], 0
xor ebx, ebx
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xcc]
cmp eax, ecx
je 0x4d61da
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test bl, bl
je 0x4d6762
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.004f96e0
cmp dword [ebx + 0x2c], 0
jne 0x4d5e10
jmp 0x4d6680
mov ecx, ebx
call fcn.004f94a0
test eax, eax
je 0x4d62fa
cmp dword [eax + 0x10], 1
jne 0x4d62fa
mov ecx, eax
push edi
call fcn.004f8d30
mov ebx, eax
mov esi, edx
lea eax, [esp + 0x1dc]
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0x100
mov edx, dword [ebp + 0x10]
cmp byte [edx + 0x31], 0
je 0x4d638d
movzx eax, byte [edx + 0x24]
test al, 1
je 0x4d63c4
mov ecx, dword [edx + 0x2c]
mov eax, dword [edx + 0x28]
jmp 0x4d63ca
xor eax, eax
test edi, edi
je 0x4d628e
add eax, dword [esp + 0x348]
push edi
push esi
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x34c]
mov esi, dword [esp + 0x1d0]
add eax, edi
mov dword [esp + 0x34c], eax
lea eax, [esp + 0x1dc]
cmp esi, eax
je 0x4d62ab
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov bl, 1
jmp 0x4d662a
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 0x1d0], str.expected_array
mov word [esp + 0x1e0], 0x103
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push 0
lea edx, [esp + 0x1d4]
push edx
push eax
call fcn.004f7770
mov esi, dword [esp + 8]
mov dword [esi], 0
mov dword [esp + 0xc], 1
jmp 0x4d61bd
mov dword [esp + 0x1d0], str.expected_string
mov word [esp + 0x1e0], 0x103
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push 0
lea edx, [esp + 0x1d4]
push edx
push eax
call fcn.004f7770
mov esi, dword [esp + 8]
mov dword [esi], 0
mov dword [esp + 0xc], 2
jmp 0x4d61bd
push 9
push str.directory
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4d6376
mov bl, 1
mov dword [esp + 0x10], 0
jmp 0x4d61bf
push 0xf
push str.directory_remap
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4d6523
mov ecx, ebx
call fcn.004f94a0
mov dword [esp + 0x1d0], str.unknown_value_for_type
jmp 0x4d5f4b
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], esi
sub esp, 8
movq xmm0, qword [esp + 0xb0]
movq qword [esp], xmm0
lea ecx, [esp + 0x1d8]
call fcn.004d7ce0
lea esi, [esp + 0x454]
jmp 0x4d6450
shr eax, 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
sub esp, 8
movq xmm0, qword [esp + 0xb8]
movq qword [esp], xmm0
lea edi, [esp + 0x1d8]
mov ecx, edi
call fcn.004d7ce0
mov word [esp + 0x464], 0x105
mov dword [esp + 0x454], ebx
mov dword [esp + 0x458], esi
mov word [esp + 0x340], 0x101
mov word [esp + 0x32c], 0x101
mov word [esp + 0x38], 0x101
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x320]
push eax
lea eax, [esp + 0x338]
push eax
lea esi, [esp + 0x460]
push esi
push edi
call fcn.004a3470
add esp, 0x14
mov edx, dword [esp + 0x1d0]
mov ecx, esi
push dword [esp + 0x1d4]
call fcn.004cfe80
add esp, 4
mov eax, dword [esp + 0x454]
lea ebx, [esp + 0x460]
cmp eax, ebx
je 0x4d64d0
mov ecx, dword [esp + 0x1d0]
lea edx, [esp + 0x1dc]
cmp ecx, edx
je 0x4d649c
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, dword [esp + 0x454]
mov dword [esp + 0x1d0], eax
movq xmm0, qword [esp + 0x458]
movq qword [esp + 0x1d4], xmm0
mov dword [esp + 0x454], ebx
mov dword [esp + 0x45c], 0
movd esi, xmm0
jmp 0x4d657c
mov esi, dword [esp + 0x458]
mov edi, dword [esp + 0x1d4]
cmp edi, esi
jae 0x4d650f
cmp dword [esp + 0x1d8], esi
jae 0x4d6532
mov dword [esp + 0x1d4], 0
lea ecx, [esp + 0x1d0]
push 1
push esi
lea eax, [esp + 0x1e4]
push eax
call fcn.0046e2c0
jmp 0x4d6549
test esi, esi
je 0x4d6575
push esi
push ebx
push dword [esp + 0x1d8]
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
jmp 0x4d6572
mov bl, 1
mov dword [esp + 0x10], 1
jmp 0x4d61bf
test edi, edi
je 0x4d6549
push edi
push ebx
push dword [esp + 0x1d8]
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
jmp 0x4d654b
xor edi, edi
mov eax, dword [esp + 0x458]
cmp edi, eax
je 0x4d6575
mov ecx, dword [esp + 0x454]
add eax, ecx
add ecx, edi
add edi, dword [esp + 0x1d0]
sub eax, ecx
push eax
push ecx
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x458], 0
mov eax, dword [esp + 0x454]
cmp eax, ebx
je 0x4d65a2
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov esi, dword [esp + 0x1d4]
mov edi, dword [esp + 0x1d0]
mov dword [esp + 0x564], 0
cmp dword [esp + 0x568], esi
jae 0x4d65dd
lea ecx, [esp + 0x560]
push 1
push esi
lea eax, [esp + 0x574]
push eax
call fcn.0046e2c0
mov eax, dword [esp + 0x564]
jmp 0x4d65e3
xor eax, eax
test esi, esi
je 0x4d6603
add eax, dword [esp + 0x560]
push esi
push edi
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x564]
mov edi, dword [esp + 0x1d0]
add eax, esi
mov dword [esp + 0x564], eax
lea eax, [esp + 0x1dc]
cmp edi, eax
je 0x4d6620
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov bl, 1
mov dword [esp + 0xc], 2
mov esi, dword [esp + 8]
lea edi, [esp + 0xc0]
jmp 0x4d61bf
mov dword [esp + 0x560], str.expected_mapping_node_for_file_or_directory_entry
mov word [esp + 0x570], 0x103
mov ecx, dword [edi]
lea eax, [esp + 0x560]
push 0
push eax
push ebx
call fcn.004f7770
mov dword [esi], 0
jmp 0x4d67fa
mov ecx, dword [edi]
call fcn.004f7760
test al, al
jne 0x4d675c
jmp 0x4d6735
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
call fcn.004f7760
test al, al
jne 0x4d675c
cmp dword [esp + 0xc], 0
je 0x4d6735
cmp dword [esp + 0x6c], 0
je 0x4d66e8
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
mov eax, 0xfffffffe
mov ecx, edx
test esi, esi
je 0x4d693c
lea ecx, [esi*4]
lea edi, [ecx + ecx*2]
mov ecx, edx
nop word [eax + eax]
mov ebx, dword [ecx]
and ebx, 0xfffffffe
xor ebx, eax
jne 0x4d6939
add ecx, 0xc
add edi, 0xfffffff4
mov ebx, dword [ebp + 0xc]
jne 0x4d66d0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4d6806
cmp dword [esp + 0x18], 0
je 0x4d6806
mov dword [esp + 0xc0], str.use_external_name_is_not_supported_for_directory_entries
mov word [esp + 0xd0], 0x103
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0
lea eax, [esp + 0xc4]
push eax
push ebx
call fcn.004f7770
mov eax, dword [esp + 8]
mov dword [eax], 0
jmp 0x4d6762
mov dword [esp + 0xc0], str.missing_key_contents_or_external_contents
mov word [esp + 0xd0], 0x103
mov ecx, dword [edi]
lea eax, [esp + 0xc0]
push 0
push eax
push ebx
call fcn.004f7770
mov dword [esi], 0
mov eax, dword [esp + 0x348]
lea ecx, [esp + 0x354]
cmp eax, ecx
je 0x4d677d
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, dword [esp + 0x560]
lea ecx, [esp + 0x56c]
cmp eax, ecx
je 0x4d6798
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4d67dd
mov edi, dword [esp + 0x20]
mov eax, esi
cmp edi, esi
jne 0x4d67b7
jmp 0x4d67d0
add edi, 0xfffffffc
cmp edi, esi
je 0x4d67cc
mov ecx, dword [edi - 4]
mov dword [edi - 4], 0
test ecx, ecx
je 0x4d67b0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d67b0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esp + 0x74]
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x70]
call fcn.004ae450
add esp, 0xc
mov esi, dword [esp + 8]
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
cmp eax, 1
mov esi, dword [esp + 8]
lea edi, [esp + 0xc0]
jne 0x4d683f
cmp dword [esp + 0xc], 1
jne 0x4d683f
mov dword [esp + 0xc0], str.contents_is_not_supported_for_directory_remap_entries
mov word [esp + 0xd0], 0x103
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0
push edi
jmp 0x4d6756
xor ecx, ecx
cmp byte [ebp + 0x14], 0
je 0x4d6adb
mov word [esp + 0xd0], 0x105
mov eax, dword [esp + 0x348]
mov ecx, dword [esp + 0x34c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
push 1
push edi
call fcn.004a5520
add esp, 8
mov ecx, 1
test al, al
jne 0x4d6adb
mov word [esp + 0xd0], 0x105
mov eax, dword [esp + 0x348]
mov ecx, dword [esp + 0x34c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
push 3
push edi
call fcn.004a5520
add esp, 8
test al, al
je 0x4d6976
mov eax, dword [esp + 0x348]
mov ecx, dword [esp + 0x34c]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
mov dword [esp + 0xc0], 0x523598
mov dword [esp + 0xc4], 2
sub esp, 0xc
movq xmm0, qword [esp + 0xcc]
movq qword [esp], xmm0
mov dword [esp + 8], 0
lea ecx, [esp + 0x1dc]
call fcn.00461d40
cmp eax, 0xffffffff
je 0x4d692f
mov ecx, dword [esp + 0x1d0]
cmp byte [ecx + eax], 0x2f
jne 0x4d69f8
mov ecx, 2
jmp 0x4d6adb
mov ebx, dword [ebp + 0xc]
lea esi, [esi + esi*2]
lea edx, [edx + esi*4]
cmp ecx, edx
je 0x4d66e8
cmp byte [ecx + 8], 0
je 0x4d6960
cmp byte [ecx + 9], 0
je 0x4d6994
nop word cs:[eax + eax]
add ecx, 0xc
cmp ecx, edx
je 0x4d66e8
mov esi, dword [ecx]
and esi, 0xfffffffe
xor esi, eax
je 0x4d6960
jmp 0x4d6942
call fcn.00504d20
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x38], 1
jne 0x4d69e4
movzx eax, byte [ecx + 0x24]
test al, 1
je 0x4d6a02
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
jmp 0x4d6a07
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1d0], str.missing_key_
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1dc], ecx
mov word [esp + 0x1e0], 0x503
lea eax, [esp + 0x1d0]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], 0x523309
mov word [esp + 0xd0], 0x302
jmp 0x4d6714
lea eax, [esp + 0x348]
push eax
call fcn.004a7010
add esp, 4
mov esi, eax
jmp 0x4d6a73
mov ecx, 3
jmp 0x4d6adb
add ecx, 0x25
shr eax, 1
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], ecx
sub esp, 0xc
movq xmm0, qword [esp + 0xac]
movq qword [esp], xmm0
lea ebx, [esp + 0x354]
mov dword [esp + 8], ebx
call fcn.004cc0d0
mov esi, eax
mov edx, dword [esp + 0x348]
mov ecx, edi
push dword [esp + 0x34c]
call fcn.004cfe80
add esp, 4
mov ecx, ebx
push edi
call fcn.004d42a0
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xcc]
cmp eax, ecx
je 0x4d6a73
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test esi, esi
je 0x4d6a9d
mov dword [esp + 0xc0], str.entry_with_relative_path_at_the_root_level_is_not_discoverable
mov word [esp + 0xd0], 0x103
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0
push edi
push dword [esp + 0x58]
jmp 0x4d6724
mov word [esp + 0xd0], 0x105
mov eax, dword [esp + 0x348]
mov ecx, dword [esp + 0x34c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
push 1
push edi
call fcn.004a5520
add esp, 8
test al, al
mov ecx, 1
je 0x4d68c2
mov ebx, dword [esp + 0x348]
mov edi, dword [esp + 0x34c]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
sub esp, 0xc
movsd xmm0, qword [esp + 0xa4]
movsd qword [esp], xmm0
mov dword [esp + 0x18], ecx
mov dword [esp + 8], ecx
call fcn.004a28b0
add esp, 0xc
cmp edi, edx
jbe 0x4d6b40
mov esi, edx
movsx eax, byte [ebx + edi - 1]
push dword [esp + 0xc]
push eax
call fcn.004a2500
add esp, 8
test al, al
je 0x4d6b40
lea eax, [edi - 1]
cmp eax, edi
cmovb edi, eax
cmp edi, esi
ja 0x4d6b1e
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edi
sub esp, 0xc
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp], xmm0
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
call fcn.004a4c90
add esp, 0xc
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 8]
mov dword [esi], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d6c25
cmp eax, 1
je 0x4d6bbc
cmp eax, 2
jne 0x4d6d51
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
lea eax, [esp + 0x564]
push eax
push ecx
lea eax, [esp + 0xcc]
push eax
call fcn.004d7d30
jmp 0x4d6bdb
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
lea eax, [esp + 0x564]
push eax
push ecx
lea eax, [esp + 0xcc]
push eax
call fcn.004d7da0
add esp, 0x10
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc0], 0
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x4d6d51
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc0], 0
test ecx, ecx
je 0x4d6d51
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d6d51
mov word [esp + 0x1e0], 0x101
mov esi, 1
lock xadd dword [0x5347d0], esi
inc esi
call fcn.0050503e
mov ecx, edx
mov edx, 0x3e8
mul edx
mov dword [esp + 0x50], eax
imul eax, ecx, 0x3e8
add eax, edx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc0]
lea eax, [esp + 0x1d0]
push eax
call fcn.00465260
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0xd8], esi
mov esi, dword [esp + 8]
mov dword [esp + 0xdc], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xe0], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xe8], xmm0
mov dword [esp + 0xf8], 3
mov dword [esp + 0xfc], 0x1ff
mov word [esp + 0x100], 0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
lea eax, [esp + 0x460]
push eax
call fcn.004d7e10
add esp, 0x10
mov eax, dword [esp + 0x454]
mov dword [esp + 0x454], 0
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x4d6d38
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x454]
mov dword [esp + 0x454], 0
test ecx, ecx
je 0x4d6d38
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0xc0], 1
je 0x4d6d51
push dword [esp + 0xc8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edi
sub esp, 0xc
movq xmm0, qword [esp + 0x94]
movq qword [esp], xmm0
mov esi, dword [esp + 0x18]
mov dword [esp + 8], esi
call fcn.004a3550
add esp, 0xc
test edx, edx
je 0x4d6762
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub esp, 0x10
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], esi
lea ebx, [esp + 0x464]
mov dword [esp], ebx
mov esi, eax
mov edi, edx
call fcn.004a2550
add esp, 0x10
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
sub esp, 0xc
movq xmm0, qword [esp + 0x84]
movq qword [esp + 4], xmm0
lea esi, [esp + 0x33c]
mov dword [esp], esi
call fcn.004a2820
add esp, 0xc
mov ecx, ebx
push esi
jmp 0x4d6e1c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
lea esi, [esp + 0x454]
mov ecx, esi
call fcn.004a2590
mov ecx, esi
lea eax, [esp + 0x330]
push eax
call fcn.004a2850
test al, al
jne 0x4d6762
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x28]
push dword [esp + 8]
call fcn.004d8410
mov dword [esp + 0x2c], eax
mov word [esp + 0x32c], 0x101
mov edi, 1
lock xadd dword [0x5347d0], edi
inc edi
call fcn.0050503e
mov ecx, edx
mov edx, 0x3e8
mul edx
mov esi, eax
imul ebx, ecx, 0x3e8
add ebx, edx
lea ecx, [esp + 0xc0]
lea eax, [esp + 0x31c]
push eax
call fcn.00465260
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], esi
lea esi, [esp + 0xd0]
pxor xmm0, xmm0
movdqu xmmword [esi + 0x18], xmm0
mov dword [esp + 0xf8], 3
mov dword [esp + 0xfc], 0x1ff
mov word [esp + 0x100], 0
push 0x68
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x45c]
mov dword [esp + 0x4c], eax
movsd xmm2, qword [esp + 0x28]
movzx edx, byte [esp + 0xc0]
mov eax, dword [esi - 0xf]
mov ecx, dword [esi - 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x47], ecx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
pxor xmm0, xmm0
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0xc8], 0
movzx eax, word [esi + 0x30]
mov word [esp + 0x200], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
movups xmm0, xmmword [esi + 0x10]
movaps xmmword [esp + 0x1e0], xmm0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x20]
movaps xmmword [esp + 0x1f0], xmm1
movaps xmmword [esp + 0x1d0], xmm0
mov dword [ebx], 0x5238fc
mov dword [ebx + 4], 0
mov ecx, dword [esp + 0x460]
cmp ecx, 0xfffffff8
jae 0x4d70f0
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], dl
movaps xmmword [esp + 0x50], xmm2
cmp ecx, 0xb
jae 0x4d6fde
mov eax, ecx
add al, cl
mov byte [ebx + 8], al
mov esi, ebx
add esi, 9
test ecx, ecx
jne 0x4d7001
jmp 0x4d7013
mov edi, ecx
or edi, 7
lea eax, [edi + 1]
push eax
mov esi, ecx
call sub.libc.dll_operator_new_unsigned_int_
mov ecx, esi
add esp, 4
mov esi, eax
mov dword [ebx + 0x10], eax
add edi, 2
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], ecx
push ecx
push dword [esp + 0x50]
push esi
mov edi, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov ecx, edi
add esp, 0xc
mov byte [esi + ecx], 0
mov dword [ebx], 0x52391c
movaps xmm0, xmmword [esp + 0x50]
movlps qword [ebx + 0x14], xmm0
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x1c], eax
movzx eax, byte [esp + 0x14]
mov byte [ebx + 0x20], al
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x21], eax
mov eax, dword [esp + 0x47]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x28], eax
movaps xmm0, xmmword [esp + 0x1d0]
movdqa xmm1, xmmword [esp + 0x1e0]
movups xmmword [ebx + 0x30], xmm0
movdqu xmmword [ebx + 0x40], xmm1
movdqa xmm0, xmmword [esp + 0x1f0]
movdqu xmmword [ebx + 0x50], xmm0
movzx eax, word [esp + 0x200]
mov word [ebx + 0x60], ax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov dword [eax], ebx
test ecx, ecx
je 0x4d708f
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0xc0], 1
je 0x4d70a8
push dword [esp + 0xc8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4d6e04
mov edi, dword [esp + 0x2c]
mov eax, esi
cmp edi, esi
jne 0x4d70db
jmp 0x4d6df7
add edi, 0xfffffffc
cmp edi, esi
je 0x4d6df3
mov ecx, dword [edi - 4]
mov dword [edi - 4], 0
test ecx, ecx
je 0x4d70d0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d70d0
add ebx, 8
mov ecx, ebx
call fcn.00401af0
int3