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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x444034]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
cmp dword [edi + 0x18], 4
jne 0x409a11
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 8], eax
xorps xmm0, xmm0
xor eax, eax
movq qword [esp + 0x3a], xmm0
mov word [esp + 0x28], ax
movups xmmword [esp + 0x2a], xmm0
mov dword [esp + 0x42], eax
mov word [esp + 0x46], ax
lea ecx, [edi + 0x6c]
push 0xffffffffffffffff
push 0x20
lea eax, [esp + 0x30]
push eax
call fcn.0040a7f0
lea ecx, [edi + 0x6c]
cmp eax, 0x20
jne 0x4099f5
cmp word [esp + 0x2a], 1
jne 0x4097f7
cmp word [esp + 0x2c], 0
lea ecx, [edi + 0x6c]
jne 0x4097f7
cmp word [esp + 0x2e], 5
lea ecx, [edi + 0x6c]
jne 0x4097f7
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movq qword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x446450]
mov edi, eax
mov eax, dword [esp + 8]
mov ecx, eax
inc eax
movzx esi, dl
push 0x40
shl ecx, 8
inc edx
mov dword [esp + 0xc], eax
or esi, ecx
lea eax, [esp + 0x7c]
mov dword [esp + 0x18], edi
push 0
push eax
mov dword [esp + 0x24], esi
mov dword [0x446450], edx
call fcn.00417c20
push esi
push edi
push dword [esp + 0x24]
lea eax, [esp + 0x90]
push str.TEC__X__X__X
push eax
call fcn.00406df0
push 0x9c
call fcn.00414870
push 0x9c
mov esi, eax
push 0
push esi
mov dword [esp + 0x54], esi
call fcn.00417c20
add esp, 0x30
mov ecx, esi
call fcn.00409660
mov esi, eax
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esi + 0x6c]
call fcn.0040a510
test eax, eax
jne 0x40991d
test esi, esi
je 0x4098e7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edi, dword [esp + 0xc]
mov eax, 4
mov word [esp + 0x2e], ax
push 0x4e20
push 0x20
mov eax, dword [edi + 0x10]
lea ecx, [edi + 0x6c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x36], 0x10000
call fcn.0040a960
jmp 0x4097f4
mov edi, dword [esp + 0xc]
push 0x2f
push 0
movups xmm0, xmmword [edi + 0x2a]
movups xmmword [esi + 0x2a], xmm0
movups xmm0, xmmword [edi + 0x3a]
movups xmmword [esi + 0x3a], xmm0
movups xmm0, xmmword [edi + 0x4a]
movups xmmword [esi + 0x4a], xmm0
movups xmm0, xmmword [edi + 0x5a]
mov dword [esi + 0xc], 1
movups xmmword [esi + 0x5a], xmm0
mov eax, dword [esp + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
movzx eax, word [edi + 0x20]
mov word [esi + 0x20], ax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x24], eax
movzx eax, word [esp + 0x44]
mov word [esi + 0x28], ax
lea eax, [esp + 0x51]
push eax
mov dword [esi + 0x18], 6
call fcn.00417c20
mov dword [esp + 0x54], 0xecec
mov eax, 4
mov word [esp + 0x5a], ax
add esp, 0xc
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x58], eax
movzx eax, word [esi + 0x20]
mov dword [esp + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movups xmm0, xmmword [esp + 0x10]
push 0x4e20
mov dword [esp + 0x64], eax
lea ecx, [edi + 0x6c]
push 0x30
lea eax, [esp + 0x50]
push eax
movups xmmword [esp + 0x74], xmm0
call fcn.0040a960
cmp eax, 0x30
je 0x409a27
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x4097f4
mov eax, dword [edi + 0x80]
cmp eax, 0xf0000006
je 0x4097f7
cmp eax, 0xf0000003
je 0x4097f4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004143be
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xbc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004143be
mov esp, ebp
pop ebp
ret