Function at 0x1002e810
Capabilities:
Create thread
Start http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078793
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100934c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x108]
cmp dword [eax], 0
je 0x1002e877
mov dword [ebp - 0x100], 0x431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ddd0
mov eax, dword [ebp - 0x100]
jmp 0x1002ea97
mov ecx, 1
mov word [ebp - 0x30], cx
xor edx, edx
mov word [ebp - 0x2e], dx
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp + 0x28]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp + 0x2c]
mov dword [edx + 0x10], eax
push 0
push 1
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.HTTPAPI.dll_HttpInitialize]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1002e8eb
push 0x1002d4e0
mov edx, dword [ebp - 0x34]
push edx
push str.HttpInitialize_failed_with
push 0x10097d68
call fcn.10026c30
add esp, 8
mov ecx, eax
call fcn.1002f7d0
mov ecx, eax
call fcn.1002f7b0
push 0
mov ecx, dword [ebp - 0x108]
call fcn.1002eac0
push 0
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.HTTPAPI.dll_HttpCreateHttpHandle]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1002e933
push 0x1007e444
mov ecx, dword [ebp - 0x34]
push ecx
push str.HttpCreateHttpHandle_failed_with
push 0x10097d68
call fcn.10026c30
add esp, 8
mov ecx, eax
call fcn.1002f7d0
push eax
call fcn.10026c30
add esp, 8
jmp 0x1002ea79
push 0x1007e46c
lea ecx, [ebp - 0x54]
call fcn.1000dd50
mov byte [ebp - 4], 1
push 1
push 3
lea ecx, [ebp - 0xfc]
call fcn.10030350
mov byte [ebp - 4], 2
lea edx, [ebp - 0xfc]
test edx, edx
je 0x1002e972
lea eax, [ebp - 0xfc]
add eax, 0x10
mov dword [ebp - 0x10c], eax
jmp 0x1002e97c
mov dword [ebp - 0x10c], 0
push 0x1007e470
mov ecx, dword [ebp + 0x24]
push ecx
push 0x1007e474
push 0x1007e478
push 0x1007e47c
mov edx, dword [ebp - 0x10c]
push edx
call fcn.100359b0
add esp, 8
push eax
call fcn.10035cc0
add esp, 8
push eax
call fcn.10035cc0
add esp, 8
mov ecx, eax
call fcn.1002faa0
push eax
call fcn.10035cc0
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xfc]
call fcn.10030480
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x114]
push edx
lea ecx, [ebp - 0x54]
call fcn.10021bf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.1000ddd0
lea ecx, [ebp - 0x54]
call fcn.1000de10
push eax
mov ecx, dword [ebp - 0x108]
call fcn.1002eb50
lea ecx, [ebp + 8]
call fcn.1000de10
push eax
mov ecx, dword [ebp - 0x108]
call fcn.1002ef20
push 0
push 0
mov eax, dword [ebp - 0x108]
push eax
push 0x1002e7f0
push 0
push 0
call fcn.10055b48
add esp, 0x18
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.1002eaf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.1000ddd0
xor edx, edx
jne 0x1002e886
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x104], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ddd0
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053489
mov esp, ebp
pop ebp
ret 0x28