Function at 0x42eb40
Capabilities:
Create thread
Start http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4786f3
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4934d0]
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 0x42eba7
mov dword [ebp - 0x100], 0x431
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040de50
mov eax, dword [ebp - 0x100]
jmp 0x42edc7
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 0x42ec1b
push 0x42d810
mov edx, dword [ebp - 0x34]
push edx
push str.HttpInitialize_failed_with
push 0x497e80
call fcn.00426f70
add esp, 8
mov ecx, eax
call fcn.00421910
mov ecx, eax
call fcn.0042fab0
push 0
mov ecx, dword [ebp - 0x108]
call fcn.0042edf0
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 0x42ec63
push 0x47e444
mov ecx, dword [ebp - 0x34]
push ecx
push str.HttpCreateHttpHandle_failed_with
push 0x497e80
call fcn.00426f70
add esp, 8
mov ecx, eax
call fcn.00421910
push eax
call fcn.00426f70
add esp, 8
jmp 0x42eda9
push 0x47e46c
lea ecx, [ebp - 0x54]
call fcn.0040ddd0
mov byte [ebp - 4], 1
push 1
push 3
lea ecx, [ebp - 0xfc]
call fcn.00430540
mov byte [ebp - 4], 2
lea edx, [ebp - 0xfc]
test edx, edx
je 0x42eca2
lea eax, [ebp - 0xfc]
add eax, 0x10
mov dword [ebp - 0x10c], eax
jmp 0x42ecac
mov dword [ebp - 0x10c], 0
push 0x47e470
mov ecx, dword [ebp + 0x24]
push ecx
push 0x47e474
push 0x47e478
push 0x47e47c
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00435c60
add esp, 8
push eax
call fcn.00435f70
add esp, 8
push eax
call fcn.00435f70
add esp, 8
mov ecx, eax
call fcn.0042fc10
push eax
call fcn.00435f70
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00430670
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.00422010
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040de50
lea ecx, [ebp - 0x54]
call fcn.0040de90
push eax
mov ecx, dword [ebp - 0x108]
call fcn.0042ee50
lea ecx, [ebp + 8]
call fcn.0040de90
push eax
mov ecx, dword [ebp - 0x108]
call fcn.0042f220
push 0
push 0
mov eax, dword [ebp - 0x108]
push eax
push 0x42eb20
push 0
push 0
call fcn.00455c48
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.0042ee20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040de50
xor edx, edx
jne 0x42ebb6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x104], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040de50
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.00453569
mov esp, ebp
pop ebp
ret 0x28