Function at 0x466130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62fbd7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 4], 2
jne 0x4663bf
cmp dword [0x6ac25c], 0
jne 0x4664d6
cmp dword [0x6ac264], 0
jne 0x4664d6
push 0x44
call fcn.00606edf
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.005d7110
push 0x28d
mov dword [0x6ac25c], eax
mov dword [ebp - 4], 1
call fcn.00606edf
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
mov ecx, dword [0x6ac25c]
mov esi, dword [esi + 4]
push ecx
mov dword [ebp - 0x18], esp
mov ebx, dword [ecx + 0x3c]
mov ecx, esp
push str._index.html
call fcn.005a5400
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push dword [ebp + 8]
call fcn.005a5400
push esi
push ecx
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004e8bc0
mov byte [ebp - 4], 1
mov esi, dword [0x6ac25c]
mov dword [0x6ac264], eax
mov dword [eax + 0x258], 0x6ac264
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x5e0ec0
push 0
push 0
call fcn.0061408e
add esp, 0x18
mov dword [esi + 0xc], eax
cmp byte [0x6a6be0], 0
je 0x466481
push 0x10
mov byte [0x6a6be0], 0
call fcn.00606edf
add esp, 4
mov esi, eax
push 0
push 0
push 0
mov dword [esi + 0xc], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
mov dword [0x6af2a8], esi
call fcn.00602100
push str.FCGI_Lib_is_initialized_n
push 0x6a6e70
call fcn.0042abc0
add esp, 8
call fcn.00602820
test eax, eax
jne 0x466346
cmp dword [0x6a7580], eax
jne 0x466346
mov dword [0x6a7580], 1
mov dword [0x6af2ac], eax
push str.localhost:10008
push str.Api_socket_is_opened_on__s_n
push 0x6a6e70
call fcn.0042abc0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0xc
xor edi, edi
cmp edi, 1
jge 0x466481
push 0x1c
call fcn.00606edf
add esp, 4
mov esi, eax
push 0
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [esi], vtable.CMaaThread.0
call ebx
mov dword [esi + 0x14], eax
lea eax, [esi + 0x10]
mov dword [eax], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x18], 0xaa5555aa
mov dword [esi], vtable.FCgiWebApiApp.0
test esi, esi
je 0x466343
push eax
push 0
push esi
push 0x5e0ec0
push 0
push 0
call fcn.0061408e
add esp, 0x18
mov dword [esi + 0xc], eax
inc edi
jmp 0x4662d4
mov dword [0x6af2ac], eax
test eax, eax
jns 0x4662b5
push str.localhost:10008
push str.Error_opening_FCGI_socket__s_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x6ac260], 0
jne 0x4664d6
cmp dword [0x6ac258], 0
jne 0x4664d6
push 0x44
call fcn.00606edf
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.005d7110
push 0x28d
mov dword [0x6ac260], eax
mov dword [ebp - 4], 6
call fcn.00606edf
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 7
mov ecx, dword [0x6ac25c]
mov esi, dword [esi + 4]
push ecx
mov dword [ebp - 0x18], esp
mov ebx, dword [ecx + 0x3c]
mov ecx, esp
push str._index.html
call fcn.005a5400
push ecx
mov ecx, esp
mov byte [ebp - 4], 8
push dword [ebp + 8]
call fcn.005a5400
push esi
push ecx
push ebx
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004e8bc0
mov esi, dword [0x6ac260]
mov dword [0x6ac258], eax
mov dword [eax + 0x258], 0x6ac258
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x5e0ec0
push 0
push 0
call fcn.0061408e
add esp, 0x18
mov dword [esi + 0xc], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10