Function at 0x10012c8f
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10032263
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100405a0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x100405a0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, edx
mov dword [esp + 0x10], edi
mov eax, ecx
mov dword [esp + 0x24], eax
cmp dword [ebp + 8], 0xa
jl 0x10012ce5
call fcn.10012b36
jmp 0x10013199
push eax
call sym.wbcom.dll_WebHost_GetIEServerHWND
mov esi, eax
xor ebx, ebx
push esi
mov dword [esp + 0x60], ebx
call fcn.10018322
push esi
call fcn.10018322
push esi
call fcn.1001834e
push esi
call fcn.1001834e
mov eax, dword [edi]
lea ecx, [esp + 0x5c]
push ecx
push 0x10033430
push edi
call dword [eax]
test eax, eax
js 0x10013184
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x68]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x10013176
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x54]
mov ecx, dword [eax]
push edx
push 0x10033560
push eax
call dword [ecx]
test eax, eax
js 0x10013176
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x10013176
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push edx
push ecx
call dword [eax + 0x1b0]
test eax, eax
js 0x10012d85
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x10012d85
mov eax, dword [ecx]
push ebx
push ebx
push ecx
call dword [eax + 0x11c]
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x58]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
js 0x1001316c
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1001316c
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x24]
mov esi, dword [esp + 0x50]
shl esi, 2
push esi
call fcn.1001f85d
pop ecx
push esi
push ebx
push eax
mov dword [esp + 0x24], eax
call fcn.10022310
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x14], ebx
test esi, esi
je 0x1001316c
mov dword [esp + 0x28], esi
mov esi, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x50], ebx
jle 0x10013162
push 0x16
pop edi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov word [esp + 0x3c], di
mov dword [esp + 0x44], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x2c], di
mov dword [esp + 0x34], esi
mov byte [esp + 0x90], 1
lea edx, [esp + 0x60]
push edx
sub esp, 0x10
mov eax, dword [esp + 0x6c]
mov edi, esp
lea esi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
call edi
or dword [esp + 0x90], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call edi
test esi, esi
js 0x1001303e
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1001303e
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
push 0x10033460
push ecx
call dword [eax]
test eax, eax
js 0x1001303e
cmp dword [esp + 0x4c], 0
je 0x1001303e
push 0x10067dd0
push dword [esp + 0x50]
call fcn.1001953b
test eax, eax
je 0x10013034
mov esi, dword [0x10067d78]
lea eax, [esi + 0x458]
test eax, eax
jne 0x10012ecd
mov dword [esp + 0x1c], ebx
jmp 0x10012ee1
mov ecx, dword [esp + 0x4c]
push eax
call fcn.1001c31e
mov esi, dword [0x10067d78]
mov dword [esp + 0x1c], eax
lea ecx, [esi + 0x19c]
test ecx, ecx
jne 0x10012eef
mov edi, ebx
jmp 0x10012f01
push ecx
mov ecx, dword [esp + 0x50]
call fcn.1001c31e
mov esi, dword [0x10067d78]
mov edi, eax
lea ecx, [esi + 0x19c]
mov edx, ecx
lea eax, [edx + 2]
mov dword [esp + 0x7c], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10012f10
sub edx, dword [esp + 0x7c]
sar edx, 1
je 0x10012f27
test edi, edi
jne 0x10012f63
mov edx, ecx
lea eax, [edx + 2]
mov dword [esp + 0x7c], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10012f30
sub edx, dword [esp + 0x7c]
sar edx, 1
jne 0x10012f70
lea edx, [esi + 0x458]
lea eax, [edx + 2]
mov dword [esp + 0x7c], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10012f50
sub edx, dword [esp + 0x7c]
sar edx, 1
je 0x10012f70
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.100129c7
jmp 0x10012fc9
mov edx, ecx
lea eax, [edx + 2]
mov dword [esp + 0x7c], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10012f79
sub edx, dword [esp + 0x7c]
sar edx, 1
je 0x10012f94
test edi, edi
je 0x10013034
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10012f97
sub ecx, edx
sar ecx, 1
jne 0x10013034
lea ecx, [esi + 0x458]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10012fb5
sub ecx, edx
sar ecx, 1
jne 0x10013034
xor eax, eax
inc eax
test eax, eax
je 0x10013034
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x6c]
mov ecx, dword [eax]
push edx
push ebx
push 0x1003bfe8
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x10013034
cmp word [esp + 0x6c], 8
jne 0x10013034
cmp dword [esp + 0x74], 0
je 0x10013034
push str.http:
push dword [esp + 0x78]
call fcn.100213fb
pop ecx
pop ecx
test eax, eax
je 0x10013034
sub eax, dword [esp + 0x74]
test eax, 0xfffffffe
jne 0x10013034
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
add ecx, 4
inc dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esp + 0x20]
inc esi
push 0x16
mov dword [esp + 0x24], esi
pop edi
cmp esi, dword [esp + 0x50]
jl 0x10012dfb
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x1001315e
call fcn.1001b736
cdq
idiv esi
mov ecx, dword [esp + 0x18]
push edi
mov eax, dword [ecx + edx*4]
pop ecx
mov word [esp + 0x2c], cx
mov dword [esp + 0x34], eax
mov dword [esp + 0x90], 2
mov word [esp + 0x3c], cx
mov dword [esp + 0x44], eax
mov byte [esp + 0x90], 3
lea edx, [esp + 0x60]
push edx
sub esp, 0x10
mov eax, dword [esp + 0x6c]
mov edi, esp
lea esi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [esp + 0x3c]
push eax
call edi
or dword [esp + 0x90], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call edi
test esi, esi
js 0x1001315e
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1001315e
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
push 0x10033460
push ecx
call dword [eax]
test eax, eax
js 0x1001315e
cmp dword [esp + 0x4c], 0
je 0x1001315e
mov ecx, dword [0x10067e8c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push dword [esp + 0x68]
push dword [esp + 0x44]
call fcn.10018724
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
push ebx
push ebx
push 0x10012998
push ebx
push ebx
call fcn.100219a5
add esp, 0x18
mov esi, eax
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
xor ebx, ebx
cmp dword [esp + 0x7c], 1
sete bl
mov edi, dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.1001f825
pop ecx
mov eax, dword [esp + 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
jne 0x10013199
call fcn.100128da
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
inc eax
push eax
mov edx, edi
call fcn.10012c8f
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1001f816
mov esp, ebp
pop ebp
ret 4