Function at 0x10057870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100976e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x10138e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 3
jl 0x100578ca
push dword [ebp + 8]
call fcn.10057450
cmp dword [0x1013e8b8], 0
je 0x10057d89
call fcn.10056c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x1013e770]
push 0xffffffffffffffeb
push dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jne 0x100578e8
xor edi, edi
jmp 0x100578f3
push eax
call fcn.1004e3d0
add esp, 4
mov edi, eax
mov esi, dword [0x1013e770]
mov esi, dword [esi]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
test esi, esi
je 0x1005790b
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x10057936
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push 0x1009c204
push esi
call dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10057d6a
cmp dword [ebp - 0x3c], 0
je 0x10057d6a
test esi, esi
je 0x10057d6a
test edi, edi
je 0x10057d6a
mov ecx, dword [0x1013e770]
push edi
call fcn.100506b0
mov ecx, dword [0x1013e770]
push edi
call fcn.100506b0
mov ecx, dword [0x1013e770]
push edi
call fcn.10050630
mov ecx, dword [0x1013e770]
push edi
call fcn.10050630
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
push edx
push eax
mov byte [ebp - 4], 2
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x10057d44
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.1004a5d0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10057d22
mov dword [ebp - 0x34], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x1b0]
test eax, eax
js 0x100579ed
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100579ed
mov ecx, dword [eax]
push edi
push edi
push eax
call dword [ecx + 0x11c]
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 5
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x10057cfa
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10057cfd
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x24]
lea edi, [eax*4]
push edi
call fcn.1006daa9
push edi
push 0
push eax
mov dword [ebp - 0x18], eax
call fcn.1006ff30
mov eax, dword [ebp - 0x18]
xor edi, edi
add esp, 0x10
mov dword [ebp - 0x30], edi
test eax, eax
je 0x10057cfa
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x24], edi
jle 0x10057cf1
mov edi, 0x16
xor esi, esi
jmp 0x10057a70
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x74], di
mov dword [ebp - 0x6c], esi
mov word [ebp - 0x64], di
mov dword [ebp - 0x5c], esi
movdqu xmm0, xmmword [ebp - 0x74]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
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 - 0x64]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x2c]
mov edi, eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
js 0x10057b91
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10057b94
push eax
lea ecx, [ebp - 0x1c]
call fcn.1004ae60
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
test eax, eax
je 0x10057b83
mov ecx, dword [0x1013e770]
push 0x1013e8a4
push eax
call fcn.1004fd30
test eax, eax
je 0x10057b80
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x54], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x54]
push edx
push 0
push str.href
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xa
call dword [ecx + 0x20]
test eax, eax
js 0x10057b76
cmp word [ebp - 0x54], 8
jne 0x10057b76
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10057b76
push str.http:
push eax
call fcn.1006e7fb
add esp, 8
test eax, eax
je 0x10057b76
sub eax, dword [ebp - 0x4c]
test eax, 0xfffffffe
jne 0x10057b76
mov eax, dword [ebp - 0x3c]
mov dword [eax], esi
add eax, 4
inc dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
test eax, eax
je 0x10057b91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test eax, eax
je 0x10057ba2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov edi, 0x16
cmp esi, dword [ebp - 0x24]
jl 0x10057a70
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
test edi, edi
jle 0x10057cee
mov ecx, dword [0x1013e770]
call fcn.1004f9a0
cdq
idiv edi
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov eax, dword [ecx + edx*4]
mov ecx, 0x16
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x64], cx
mov word [ebp - 0x74], cx
mov dword [ebp - 0x6c], eax
movdqu xmm0, xmmword [ebp - 0x64]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esp
movdqu xmm0, xmmword [ebp - 0x74]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x2c]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
js 0x10057cdd
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10057ce0
push eax
lea ecx, [ebp - 0x3c]
call fcn.1004ae60
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x10057ccf
mov ecx, dword [0x1013e770]
push 0
push 0
push 0
push 0
push 0
push 0
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
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10057cbe
cmp eax, 0xffffffff
je 0x10057cbe
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
xor eax, eax
cmp dword [ebp - 0x40], 1
sete al
mov dword [ebp - 0x2c], eax
jmp 0x10057cc5
mov dword [ebp - 0x2c], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10057cdd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test eax, eax
je 0x10057cee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
call fcn.1006da71
add esp, 4
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
test eax, eax
je 0x10057d0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 3
test eax, eax
je 0x10057d1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
test eax, eax
je 0x10057d30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
je 0x10057d44
cmp dword [0x1013e8b8], 0
je 0x10057d56
call fcn.10056c20
jmp 0x10057d56
call fcn.10056df0
mov eax, dword [ebp + 0xc]
inc eax
push eax
push dword [ebp + 8]
call fcn.10057870
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test eax, eax
je 0x10057d67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10057d78
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10057d89
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 8