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

Disassembly:
cmp dword [ecx + 8], 0
je 0x409900
cmp byte [0x4152f4], 0
je 0x409c78
cmp byte [0x415434], 0
jne 0x409c78
push ebp
push ebx
push edi
push esi
sub esp, 0x12c
mov ebx, ecx
mov esi, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
xorps xmm0, xmm0
movups xmmword [esp + 0x48], xmm0
movups xmmword [esp + 0x38], xmm0
mov ebp, dword [eax + 4]
mov dword [esp + 0x70], ebp
test ebp, ebp
je 0x409903
mov dword [esp], ebp
mov edi, edx
call sub.msvcrt.dll_strlen
mov edx, edi
jmp 0x409905
xor eax, eax
ret
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x14], 1
call fcn.0040e8f4
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], 0
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x8c]
cmp edi, dword [esp + 0x40]
jae 0x409989
mov dword [esp], eax
mov ecx, edi
call fcn.0040e9de
sub esp, 4
add edi, 0xc
jmp 0x40999a
mov dword [esp], eax
lea ecx, [esp + 0x38]
call fcn.0040b340
sub esp, 4
mov edi, eax
mov esi, ebx
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x8c]
call fcn.0040e9e4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x4099c1
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [esi]
add esi, 4
cmp ebx, esi
je 0x409bee
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
jmp 0x4099ea
mov ebx, eax
cmp eax, esi
je 0x409bee
mov eax, dword [ebx + 0x1c]
add eax, ebp
mov dword [esp + 0x34], eax
movzx eax, byte [0x41579c]
xor eax, 1
mov dword [esp + 0x78], str.code_should_be_clang_formatted___Wclang_format_violations_
mov word [esp + 0x88], 0x103
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
lea edi, [esp + 0x8c]
mov ecx, edi
call fcn.0040ea08
sub esp, 0x20
call fcn.0040e9c0
cmp byte [0x41527c], 0
setne cl
cmp byte [0x4153bc], 0
sete dl
and dl, cl
mov dword [esp + 4], eax
movzx eax, dl
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp], 0
mov ecx, edi
call fcn.0040e9ea
sub esp, 0x10
mov edi, dword [0x415174]
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
sub edi, 1
mov dword [esp + 0x30], ecx
cmovae eax, ecx
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x409b1b
shl eax, 2
lea esi, [eax + eax*4]
jmp 0x409af5
add esi, 0xffffffec
je 0x409b10
test byte [ebp + esi - 0xc], 1
je 0x409af0
mov eax, dword [ebp + esi - 4]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x409af0
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xdc]
cmp ebp, eax
je 0x409b2e
mov dword [esp], ebp
call sub.msvcrt.dll_free
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x409b48
mov dword [esp + 0xc8], eax
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0xb8], 1
mov ebp, dword [esp + 0x2c]
jne 0x409b80
test byte [esp + 0xac], 1
jne 0x409b99
test byte [esp + 0x94], 1
jne 0x409bb2
cmp edi, dword [esp + 0x30]
jae 0x409bc7
jmp 0x409bee
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0xac], 1
je 0x409b60
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x94], 1
je 0x409b6a
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
cmp edi, dword [esp + 0x30]
jb 0x409bee
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x409be0
nop
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x409bd0
jmp 0x4099e0
mov eax, dword [ebx + 8]
cmp dword [eax], ebx
mov ebx, eax
jne 0x409be0
jmp 0x4099e0
mov esi, dword [esp + 0x44]
test esi, esi
je 0x409c3a
mov edi, dword [esp + 0x48]
mov eax, esi
cmp edi, esi
jne 0x409c17
jmp 0x409c2e
add edi, 0xfffffff4
cmp edi, esi
je 0x409c2a
test byte [edi - 0xc], 1
je 0x409c10
mov eax, dword [edi - 4]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x409c10
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], esi
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov edi, dword [esp + 0x38]
test edi, edi
je 0x409c6e
mov esi, dword [esp + 0x3c]
mov eax, edi
cmp esi, edi
je 0x409c62
nop dword [eax]
add esi, 0xfffffff4
mov ecx, esi
call fcn.0040e9e4
cmp esi, edi
jne 0x409c50
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
cmp byte [0x41579c], 0
setne al
ret