Function at 0x10057450
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097650
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x10138e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1013e770]
push 0xffffffffffffffeb
push dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jne 0x10057495
xor edi, edi
jmp 0x100574a0
push eax
call fcn.1004e3d0
add esp, 4
mov edi, eax
mov esi, dword [0x1013e770]
mov esi, dword [esi]
mov dword [ebp - 0x38], esi
test esi, esi
je 0x100574b5
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
je 0x10057840
test esi, esi
je 0x10057840
test edi, edi
je 0x10057840
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
push ecx
push 0x1009c204
push esi
call dword [eax]
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10057832
mov dword [ebp - 0x30], edx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
push ecx
mov byte [ebp - 4], 2
call dword [eax + 0x48]
test eax, eax
js 0x1005781e
push dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.1004a5d0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10057810
mov dword [ebp - 0x2c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x1b0]
test eax, eax
js 0x1005755f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1005755f
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x11c]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 5
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x100577eb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100577ee
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0x24], 0
jle 0x100577eb
mov ecx, dword [0x1013e770]
call fcn.1004f9a0
cdq
idiv dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
mov eax, 0x16
mov dword [ebp - 0x50], edx
mov word [ebp - 0x58], ax
mov word [ebp - 0x68], ax
mov dword [ebp - 0x60], edx
movdqu xmm0, xmmword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 8
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esp
movdqu xmm0, xmmword [ebp - 0x68]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x2c]
mov edi, eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
js 0x100577da
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100577dd
push eax
lea ecx, [ebp - 0x10]
call fcn.1004ae60
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 9
test eax, eax
je 0x100577cc
mov ecx, dword [0x1013e770]
push 0
push 0
push 0
push 0
push 0
push 1
push 1
push eax
push dword [ebp + 8]
call fcn.1004cc70
push 0
push 0
push 0
push 0x100570d0
push 0
push 0
call fcn.1006f19c
add esp, 0x18
mov edi, eax
mov dword [ebp - 0x34], edi
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10057691
cmp eax, 0xffffffff
jne 0x100577c2
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.10043f00
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 0xa
je 0x100577a5
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0xffffffff
push eax
movdqu xmmword [ebp - 0x68], xmm0
call edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x68]
push edx
push eax
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
call dword [ecx + 0x90]
test eax, eax
jne 0x100576fc
cmp word [ebp - 0x68], 9
jne 0x100576fc
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x60]
mov ecx, dword [eax]
push str.onclick
push eax
call dword [ecx + 0x108]
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x58], xmm0
call edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x58]
push edx
push eax
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
call dword [ecx + 0x98]
test eax, eax
jne 0x10057741
cmp word [ebp - 0x58], 9
jne 0x10057741
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x50]
mov ecx, dword [eax]
push str.onclick
push eax
call dword [ecx + 0x108]
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x48], xmm0
call edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x48]
push edx
push eax
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
call dword [ecx + 0x80]
test eax, eax
jne 0x10057786
cmp word [ebp - 0x48], 9
jne 0x10057786
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x40]
mov ecx, dword [eax]
push str.onclick
push eax
call dword [ecx + 0x108]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x48]
push eax
call edi
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xa
push eax
call edi
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x114]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 9
test eax, eax
je 0x100577c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x100577da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
test eax, eax
je 0x100577eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x100577fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
test eax, eax
je 0x1005780d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
test eax, eax
je 0x1005781e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test eax, eax
je 0x1005782f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10057840
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10057851
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4