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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100324fe
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 dword [esp + 0x38], edx
mov eax, ecx
mov dword [esp + 0x14], eax
cmp edx, 0xa
jl 0x10016e6c
call fcn.10016c95
jmp 0x10017225
push eax
call sym.wbcom.dll_WebHost_GetIEServerHWND
mov ecx, dword [0x10067e8c]
mov esi, eax
mov edi, dword [ecx]
xor ebx, ebx
push esi
mov dword [esp + 0x64], 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 + 0x60]
push ecx
push 0x10033430
push edi
call dword [eax]
test eax, eax
js 0x1001720e
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x64]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x100171fa
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x54]
mov ecx, dword [eax]
push edx
push 0x10033560
push eax
call dword [ecx]
test eax, eax
js 0x100171fa
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x100171fa
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
push ecx
call dword [eax + 0x1b0]
test eax, eax
js 0x10016f14
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x10016f14
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 0x100171ea
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x100171ea
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 + 0x28], eax
call fcn.10022310
mov esi, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x18], ebx
test esi, esi
je 0x100171ea
mov dword [esp + 0x7c], esi
mov esi, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x50], ebx
jle 0x100171da
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 + 0x24], di
mov dword [esp + 0x2c], esi
mov byte [esp + 0x90], 1
lea edx, [esp + 0x5c]
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 + 0x48]
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 + 0x24]
push eax
call edi
or dword [esp + 0x90], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call edi
test esi, esi
js 0x100170b3
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x100170b3
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
push 0x10033460
push ecx
call dword [eax]
test eax, eax
js 0x100170b3
cmp dword [esp + 0x4c], 0
je 0x100170b3
push 0x10067e54
push dword [esp + 0x50]
call fcn.1001953b
test eax, eax
je 0x100170a9
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 0x100170a9
cmp word [esp + 0x6c], 8
jne 0x100170a9
cmp dword [esp + 0x74], 0
je 0x100170a9
push str.http:
push dword [esp + 0x78]
call fcn.100213fb
pop ecx
pop ecx
test eax, eax
je 0x100170a9
sub eax, dword [esp + 0x74]
test eax, 0xfffffffe
jne 0x100170a9
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
add ecx, 4
inc dword [esp + 0x18]
mov dword [esp + 0x7c], 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 0x10016f8a
mov esi, dword [esp + 0x18]
test esi, esi
jle 0x100171da
call fcn.1001b736
cdq
idiv esi
mov ecx, dword [esp + 0x1c]
push edi
mov eax, dword [ecx + edx*4]
pop ecx
mov word [esp + 0x24], cx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x90], 2
mov word [esp + 0x3c], cx
mov dword [esp + 0x44], eax
mov byte [esp + 0x90], 3
lea edx, [esp + 0x5c]
push edx
sub esp, 0x10
mov eax, dword [esp + 0x6c]
mov edi, esp
lea esi, [esp + 0x38]
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 + 0x24]
push eax
call edi
test esi, esi
js 0x100171da
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x100171da
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
push 0x10033460
push ecx
call dword [eax]
test eax, eax
js 0x100171da
cmp dword [esp + 0x4c], 0
mov edi, dword [esp + 0x14]
je 0x100171de
mov ecx, dword [0x10067e8c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push dword [esp + 0x68]
push edi
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 0x10016c66
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
jmp 0x100171de
mov edi, dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.1001f825
pop ecx
jmp 0x100171ee
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100171fe
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
jne 0x10017225
jmp 0x10017212
mov edi, dword [esp + 0x14]
call fcn.10016ba8
mov edx, dword [esp + 0x38]
mov ecx, edi
lea edx, [edx + 1]
call fcn.10016e19
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