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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [ecx + 0x1c]
test ebx, ebx
setne al
je 0x407610
mov esi, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x44], 0
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.00407d20
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4075af
mov dword [esp + 0x34], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4075c4
mov dword [esp + 0x28], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov edi, dword [esp + 4]
mov dword [edi - 0x34], 0
mov eax, dword [esp + 0x74]
mov dword [edi - 0x30], eax
mov dword [edi - 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [edi - 0x28], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [edi - 0x24]
mov edx, dword [edi - 0x20]
sub edx, ecx
sar edx, 2
imul ebp, edx, 0xaaaaaaab
mov edx, eax
sub edx, ebp
jbe 0x407617
add edi, 0xffffffdc
lea eax, [esp + 0x54]
mov ecx, edi
push eax
push edx
call fcn.00407f00
mov edi, dword [esp + 4]
jmp 0x407622
xor eax, eax
jmp 0x407981
jae 0x407622
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [edi - 0x20], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [edi - 0x18]
mov esi, dword [edi - 0x14]
sub esi, ecx
sar esi, 3
mov edx, eax
sub edx, esi
jbe 0x407647
add edi, 0xffffffe8
mov ecx, edi
push edx
call fcn.00408160
mov edi, dword [esp + 4]
jmp 0x40764f
jae 0x40764f
lea eax, [ecx + eax*8]
mov dword [edi - 0x14], eax
movzx ecx, byte [esp + 0x84]
mov dword [edi - 0xc], ebx
mov eax, dword [esp + 0x80]
mov dword [edi - 8], eax
mov byte [edi - 4], cl
mov ebp, dword [esp + 0x78]
sub ebp, dword [esp + 0x74]
mov esi, 1
mov dword [esp + 0x48], ebp
jmp 0x407697
add edi, 0xffffffcc
mov dword [esp + 4], edi
mov ebx, dword [esp]
mov edi, dword [esp + 4]
inc esi
cmp ebx, edi
je 0x407925
test esi, 0xfff
jne 0x4076ac
mov eax, esi
shr eax, 0xc
cmp eax, ebp
jge 0x407a39
lea ebx, [edi - 0x34]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x4076bc
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
mov eax, dword [ebx]
mov ecx, 0x3e8
add eax, ecx
cmp eax, 9
ja case.0x4076ce.1
jmp dword [eax*4 + 0x407a58]
mov ecx, dword [edi - 0x2c]
mov eax, dword [esp + 0x80]
test al, 0x20
je 0x4076e9
cmp ecx, dword [esp + 0x74]
je case.0x4076ce.7
test dword [esp + 0x80], 0x1000
je 0x40798b
cmp ecx, dword [esp + 0x78]
je 0x40798b
mov edi, dword [esp + 4]
mov eax, dword [edi - 0x18]
test eax, eax
je 0x40771b
mov dword [edi - 0x14], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [edi - 0x24]
test eax, eax
je 0x407680
mov dword [edi - 0x20], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x407680
movups xmm0, xmmword [ebx]
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [edi - 0x24]
mov ebp, dword [edi - 0x20]
sub ebp, eax
je 0x4077d7
mov dword [esp + 0x10], eax
mov eax, ebp
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 0x15555556
jae 0x407a43
push ebp
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [eax + ebp]
mov dword [esp + 0x2c], ecx
add ebp, 0xfffffff4
mov eax, ebp
mov ecx, 0xaaaaaaab
mul ecx
shr edx, 3
lea eax, [edx + edx*2]
mov dword [esp + 0x50], eax
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
push ebp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x50]
lea eax, [eax*4 + 0xc]
add eax, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [edi - 0x18]
mov ebp, dword [edi - 0x14]
sub ebp, eax
je 0x40783b
mov dword [esp + 0x10], eax
js 0x407a4c
push ebp
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea ecx, [eax + ebp]
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], ecx
and ebp, 0x7ffffff8
push ebp
push dword [esp + 0x14]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
add ebp, dword [esp + 0xc]
mov dword [esp + 0x34], ebp
add edi, 0xfffffff4
movzx eax, byte [edi + 8]
lea ebp, [esp + 0x24]
mov byte [ebp + 0x20], al
movsd xmm0, qword [edi]
movsd qword [ebp + 0x18], xmm0
mov ecx, dword [edi]
mov eax, dword [ecx]
push ebx
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
lea edi, [esp + 0x14]
push edi
push 0
call dword [eax + 0xc]
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x4078e2
movups xmm0, xmmword [esp + 0x14]
movups xmmword [eax], xmm0
xorps xmm1, xmm1
movups xmmword [eax + 0x10], xmm1
movsd xmm0, qword [esp + 0x24]
movsd qword [eax + 0x10], xmm0
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x18], ecx
mov dword [esp + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movsd xmm0, qword [esp + 0x30]
movsd qword [eax + 0x1c], xmm0
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
movups xmmword [esp + 0x2c], xmm1
movzx ecx, byte [ebp + 0x20]
mov byte [eax + 0x30], cl
movsd xmm0, qword [ebp + 0x18]
movsd qword [eax + 0x28], xmm0
add eax, 0x34
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x48]
jmp 0x407907
mov ecx, esp
push edi
call fcn.00407d20
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
test ecx, ecx
mov ebp, dword [esp + 0x48]
je 0x407907
mov dword [esp + 0x34], ecx
push ecx
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je case.0x4076ce.5
mov dword [esp + 0x28], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp case.0x4076ce.5
xor eax, eax
test ebx, ebx
je 0x407981
mov edi, eax
mov esi, dword [esp + 4]
mov eax, ebx
cmp esi, ebx
jne 0x407947
jmp 0x407972
add esi, 0xffffffcc
cmp esi, ebx
je 0x40796f
mov eax, dword [esi - 0x18]
test eax, eax
je 0x40795a
mov dword [esi - 0x14], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esi - 0x24]
test eax, eax
je 0x407940
mov dword [esi - 0x20], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x407940
mov eax, dword [esp]
mov dword [esp + 4], ebx
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
mov edx, dword [esp + 0x74]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [eax + 8], 1
mov ecx, dword [edi - 0x24]
mov edx, dword [edi - 0x20]
sub edx, ecx
je 0x407a25
sar edx, 2
imul esi, edx, 0xaaaaaaab
xor edx, edx
mov edi, 1
cmp esi, 2
cmovae edi, esi
jb 0x407a04
mov edx, edi
and edx, 0xfffffffe
mov ebp, edx
xor edx, edx
mov esi, 0x14
nop
movsd xmm0, qword [ecx + esi - 0x14]
movsd qword [eax + esi - 8], xmm0
movzx ebx, byte [ecx + esi - 0xc]
mov byte [eax + esi], bl
add edx, 2
movsd xmm0, qword [ecx + esi - 8]
movsd qword [eax + esi + 4], xmm0
movzx ebx, byte [ecx + esi]
mov byte [eax + esi + 0xc], bl
add esi, 0x18
mov ebx, ebp
cmp ebp, edx
jne 0x4079d0
mov ebx, edi
test bl, 1
je 0x407a25
shl edx, 2
lea edx, [edx + edx*2]
movsd xmm0, qword [ecx + edx]
movsd qword [eax + edx + 0xc], xmm0
movzx ecx, byte [ecx + edx + 8]
mov byte [eax + edx + 0x14], cl
mov ebx, dword [esp]
mov eax, dword [esp + 0x4c]
test ebx, ebx
jne 0x40792b
jmp 0x407981
call fcn.00407d00
call fcn.00407d10
lea ecx, [esp + 0x24]
call fcn.00407cf0
lea ecx, [esp + 0x30]
call fcn.00408320
nop dword [eax]
aad 0x76
inc eax
add byte [esi], bh
jp 0x407a9f
add byte [esi], bh
jp 0x407aa3
add byte [esi], bh
jp 0x407aa7
add byte [esi], bh
jp 0x407aab
add byte [edi - 0x78ffbf8a], al
jbe 0x407ab3
add byte [edi + esi*2], al
inc eax
add byte [edi], dh
ja 0x407abb
add byte [edi + 0x55004076], al
stosd dword es:[edi], eax
stosb byte es:[edi], al
stosb byte es:[edi], al
stosb byte es:[edi], al
and eax, dword [ecx]
add byte [eax], al