Function at 0x1005e410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097e40
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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 + 0x10], 3
jl 0x1005e45b
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005e1a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push esi
call edi
test eax, eax
je 0x1005ea73
cmp dword [ebp + 0xc], 0
je 0x1005ea73
mov eax, dword [0x1013e770]
push 0xffffffffffffffeb
push esi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jne 0x1005e495
xor esi, esi
jmp 0x1005e4a0
push eax
call fcn.1004e3d0
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
push 0x1009c204
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x18], 0
call dword [ecx]
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
test ecx, ecx
je 0x1005ea62
cmp dword [ebp - 0x48], edx
je 0x1005ea62
push esi
call edi
test eax, eax
je 0x1005ea5f
mov ecx, dword [0x1013e770]
push esi
call fcn.100506b0
mov ecx, dword [0x1013e770]
push esi
call fcn.100506b0
mov ecx, dword [0x1013e770]
push esi
call fcn.10050630
mov ecx, dword [0x1013e770]
push esi
call fcn.10050630
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x40]
push edx
push eax
mov byte [ebp - 4], 1
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x1005ea38
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1004a5d0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1005ea21
mov dword [ebp - 0x38], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x1b0]
test eax, eax
js 0x1005e575
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1005e575
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x11c]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 4
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x1005e9f4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005e9f7
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 esi, [eax*4]
push esi
call fcn.1006daa9
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x48], edi
call fcn.1006ff30
xor esi, esi
add esp, 0x10
mov dword [ebp - 0x34], esi
test edi, edi
je 0x1005e9f4
mov dword [ebp - 0x44], edi
xor edi, edi
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x24], esi
jle 0x1005e9e1
lea esi, [edi + 0x16]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x80], si
mov dword [ebp - 0x78], edi
mov word [ebp - 0x70], si
mov dword [ebp - 0x68], edi
movdqu xmm0, xmmword [ebp - 0x80]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 7
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esp
movdqu xmm0, xmmword [ebp - 0x70]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x2c]
mov esi, eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x1005e87d
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1005e880
push eax
lea ecx, [ebp - 0x10]
call fcn.1004ae60
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 8
test eax, eax
je 0x1005e86f
mov ecx, dword [0x1013e770]
push 0x1013e9a0
push eax
call fcn.1004fd30
test eax, eax
je 0x1005e86c
mov eax, dword [0x1013e9b8]
mov ecx, dword [0x1013e770]
add eax, 0x458
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.1004e1c0
mov eax, dword [0x1013e9b8]
mov ecx, dword [0x1013e770]
add eax, 0x19c
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.1004e1c0
mov esi, dword [0x1013e9b8]
add esi, 0x19c
mov byte [ebp - 4], 0xa
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005e6f0
mov eax, dword [ebp - 0x1c]
sub ecx, edx
sar ecx, 1
je 0x1005e71d
test eax, eax
je 0x1005e71d
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
call fcn.1004b020
mov byte [ebp - 4], 0xb
jmp 0x1005e766
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1005e722
sub edx, edi
sar edx, 1
jne 0x1005e787
mov edx, dword [0x1013e9b8]
add edx, 0x458
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1005e742
sub edx, edi
sar edx, 1
je 0x1005e787
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x50], esp
mov ecx, esp
push eax
call fcn.1004b020
mov byte [ebp - 4], 0xc
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.1004b020
mov byte [ebp - 4], 0xa
call fcn.1005d980
add esp, 8
test eax, eax
jne 0x1005e7e5
jmp 0x1005e858
mov edx, esi
lea edi, [edx + 2]
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1005e790
sub edx, edi
sar edx, 1
je 0x1005e7a9
test eax, eax
je 0x1005e85b
lea edx, [esi + 2]
lea esp, [esp]
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x1005e7b0
sub esi, edx
sar esi, 1
jne 0x1005e85b
mov edx, dword [0x1013e9b8]
add edx, 0x458
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1005e7d4
sub edx, esi
sar edx, 1
jne 0x1005e85b
lea eax, [ebp - 0x60]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x60], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x60]
push edx
push 0
push str.href
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0x20]
test eax, eax
js 0x1005e84e
cmp word [ebp - 0x60], 8
jne 0x1005e84e
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1005e84e
push str.http:
push eax
call fcn.1006e7fb
add esp, 8
test eax, eax
je 0x1005e84e
sub eax, dword [ebp - 0x58]
test eax, 0xfffffffe
jne 0x1005e84e
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
add ecx, 4
inc dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
push dword [ebp - 0x2c]
call esi
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 5
test eax, eax
je 0x1005e87d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test eax, eax
je 0x1005e88e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
mov esi, 0x16
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x24]
jl 0x1005e5f3
mov esi, dword [ebp - 0x34]
test esi, esi
jle 0x1005e9e1
mov ecx, dword [0x1013e770]
call fcn.1004f9a0
cdq
idiv esi
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x20], 0
mov eax, dword [ecx + edx*4]
mov ecx, 0x16
mov dword [ebp - 0x68], eax
mov word [ebp - 0x70], cx
mov word [ebp - 0x80], cx
mov dword [ebp - 0x78], eax
movdqu xmm0, xmmword [ebp - 0x70]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esp
movdqu xmm0, xmmword [ebp - 0x80]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x2c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0x80]
push eax
call edi
lea eax, [ebp - 0x70]
push eax
call edi
test esi, esi
js 0x1005e9b8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1005e9c0
push eax
lea ecx, [ebp - 0x44]
call fcn.1004ae60
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x1005e9a5
mov ecx, dword [0x1013e770]
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push eax
push edi
call fcn.1004cc70
push 0
push 0
push 0
push 0x1005de10
push 0
push 0
call fcn.1006f19c
add esp, 0x18
mov esi, eax
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
xor eax, eax
cmp dword [ebp + 8], 1
push esi
sete al
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x1005e9bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
jmp 0x1005e9c3
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
jmp 0x1005e9c3
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 4
test eax, eax
je 0x1005e9e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x48]
call fcn.1006da71
mov eax, dword [ebp - 0x14]
add esp, 4
jmp 0x1005e9fa
mov edi, dword [ebp + 8]
push dword [ebp - 0x48]
call fcn.1006da71
mov eax, dword [ebp - 0x14]
add esp, 4
jmp 0x1005e9fa
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x1005ea08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 2
test eax, eax
je 0x1005ea19
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
jmp 0x1005ea24
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 1
test eax, eax
je 0x1005ea32
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jne 0x1005ea4e
jmp 0x1005ea3b
mov edi, dword [ebp + 8]
call fcn.1005db10
mov eax, dword [ebp + 0x10]
inc eax
push eax
push dword [ebp + 0xc]
push edi
call fcn.1005e410
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0
test eax, eax
je 0x1005ea5f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1005ea73
mov eax, dword [ecx]
push ecx
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 0xc