Function at 0x41cf20
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x138
mov eax, dword [0x70635c]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [0x6ec0d0]
push ebp
mov ebp, dword [esp + 0x140]
push eax
push str.Initial_logging_level__d_n
push 4
call fcn.0041dc50
mov ecx, dword [str.1.7.0_unknown_build_hash]
push ecx
push str.Libwebsockets_version:__s_n
push 4
call fcn.0041dc50
push str.IPV6_not_compiled_in_n
push 4
call fcn.0041dc50
push str.libev_support_not_compiled_in_n
push 4
call fcn.0041dc50
add esp, 0x28
call fcn.0041eae0
test eax, eax
je 0x41cf9d
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00606c9e
add esp, 0x138
ret
push ebx
push esi
push 0x350
call fcn.0041f4a0
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x41cfdd
push str.No_memory_for_websocket_context_n
push 1
call fcn.0041dc50
add esp, 8
pop esi
pop ebx
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00606c9e
add esp, 0x138
ret
mov dword [esi + 0x2f8], 0x7530
cmp dword [ebp + 0x54], ebx
je 0x41cff9
mov dx, word [ebp + 0x54]
mov word [esi + 0x348], dx
jmp 0x41d005
mov eax, 1
mov word [esi + 0x348], ax
cmp word [esi + 0x348], 1
jle 0x41d01b
mov ecx, 1
mov word [esi + 0x348], cx
mov edx, dword [ebp + 8]
mov dword [esi + 0x168], edx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x160], eax
mov ecx, dword [ebp]
mov dword [esi + 0x2fc], ecx
mov dword [esi + 0x310], ebx
mov byte [esi + 0x178], bl
mov edx, dword [ebp + 0x38]
mov dword [esi + 0x314], edx
mov eax, dword [ebp + 4]
mov dword [esi + 0x15c], eax
mov ecx, dword [ebp + 0x40]
mov dword [esi + 0x32c], ecx
mov edx, dword [ebp + 0x48]
mov dword [esi + 0x334], edx
mov eax, dword [ebp + 0x44]
mov dword [esi + 0x330], eax
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
je 0x41d07e
mov dword [esi + 0x31c], eax
jmp 0x41d088
mov dword [esi + 0x31c], 0x14
movzx eax, word [ebp + 0x50]
cmp ax, bx
je 0x41d09a
mov word [esi + 0x344], ax
jmp 0x41d0a6
mov ecx, 0x400
mov word [esi + 0x344], cx
movzx eax, word [ebp + 0x52]
cmp ax, bx
je 0x41d0b8
mov word [esi + 0x346], ax
jmp 0x41d0c4
mov edx, 0x10
mov word [esi + 0x346], dx
xor eax, eax
cmp ax, word [esi + 0x348]
push edi
mov dword [esp + 0x10], ebx
jge 0x41d18d
lea edi, [esi + 0x30]
jmp 0x41d0e0
push 0x1000
call fcn.0041f4a0
add esp, 4
mov dword [edi + 0x1c], eax
cmp eax, ebx
je 0x41d1fb
movsx ecx, word [esi + 0x344]
movsx edx, word [esi + 0x346]
imul ecx, edx
push ecx
push ebx
call fcn.0041f490
add esp, 8
mov dword [edi - 4], eax
cmp eax, ebx
je 0x41d3a6
movsx eax, word [esi + 0x346]
imul eax, eax, 0xc80
push eax
call fcn.0041f4a0
mov dword [edi], eax
xor ecx, ecx
add esp, 4
xor eax, eax
cmp cx, word [esi + 0x346]
jge 0x41d16a
movsx edx, word [esi + 0x344]
mov ebx, dword [edi]
imul edx, eax
add edx, dword [edi - 4]
inc eax
mov dword [ebx + ecx + 4], edx
movsx edx, word [esi + 0x346]
add ecx, 0xc80
cmp eax, edx
jl 0x41d143
xor ebx, ebx
cmp dword [edi], ebx
je 0x41d3a6
mov eax, dword [esp + 0x10]
movsx ecx, word [esi + 0x348]
inc eax
add edi, 0x40
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x41d0e0
mov eax, dword [ebp + 0x58]
cmp eax, ebx
jne 0x41d1a4
mov eax, dword [esi + 0x2f8]
movsx ecx, word [esi + 0x348]
cdq
idiv ecx
mov edx, eax
mov dword [esi + 0x318], eax
movsx eax, word [esi + 0x348]
push edx
push eax
push str._Threads:__d_each__d_fds_n
push 4
call fcn.0041dc50
push 0x130
lea ecx, [esp + 0x28]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0x1c
mov dword [esp + 0xdc], esi
cmp dword [ebp + 0x48], ebx
jne 0x41d211
cmp dword [ebp + 0x40], ebx
jle 0x41d211
push str.info__ka_interval_cant_be_0_if_ka_time_used_n
push 1
call fcn.0041dc50
add esp, 8
xor eax, eax
jmp 0x41d37d
push str.OOM_n
push 1
call fcn.0041dc50
add esp, 8
xor eax, eax
jmp 0x41d37d
movsx eax, word [esi + 0x348]
imul eax, dword [esi + 0x318]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.0041f4a0
add esp, 4
mov dword [esi + 0x1c], eax
cmp eax, ebx
jne 0x41d25b
mov edx, dword [esi + 0x2f8]
push edx
push str.OOM_allocating__d_fds_n
push 1
call fcn.0041dc50
add esp, 0xc
push esi
call fcn.0041cd70
add esp, 4
xor eax, eax
jmp 0x41d37d
push ebp
push esi
call fcn.0041eeb0
add esp, 8
test eax, eax
jne 0x41d3a6
push esi
push ebp
call fcn.0041ef90
mov eax, dword [ebp + 0x3c]
push 0x130
push str._mem:_per_conn:_________5u_bytes__protocol_rx_buf_n
push 4
mov dword [esi + 0x164], eax
call fcn.0041dc50
mov ecx, dword [str.unknown]
mov dword [esi + 0x278], ecx
mov edx, dword [0x61be38]
push ebp
push esi
mov dword [esi + 0x27c], edx
call fcn.00424450
add esp, 0x1c
cmp dword [ebp + 0x28], ebx
je 0x41d2c7
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x41d2c2
mov dword [esi + 0x310], eax
mov eax, dword [ebp + 0x28]
jmp 0x41d2d9
push str.http_proxy
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x41d2e3
push eax
push esi
call fcn.0041e3e0
add esp, 8
push esi
push ebp
call fcn.0041f660
add esp, 8
test eax, eax
jne 0x41d3a6
push esi
push ebp
call fcn.0041fac0
add esp, 8
test eax, eax
jne 0x41d3a6
push esi
push ebp
call fcn.004234e0
add esp, 8
test eax, eax
jne 0x41d3a6
push ebp
call fcn.0041ead0
mov dword [esi + 0x328], ebx
mov eax, dword [ebp + 8]
add esp, 4
cmp dword [eax + 4], ebx
je 0x41d364
mov ecx, dword [esi + 0x328]
push ebx
push ebx
push ebx
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + ecx*8 + 4]
lea edx, [esp + 0x20]
push 0x1b
push edx
call eax
inc dword [esi + 0x328]
mov ecx, dword [esi + 0x328]
mov eax, dword [ebp + 8]
lea ecx, [ecx + ecx*2]
add esp, 0x14
cmp dword [eax + ecx*8 + 4], ebx
jne 0x41d330
cmp dword [ebp], 0xffffffff
push ebx
push ebx
je 0x41d396
push ebx
push ebx
push esi
call fcn.0041f2c0
add esp, 0x14
test eax, eax
jl 0x41d3a6
mov eax, esi
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.00606c9e
add esp, 0x138
ret
push 1
push ebx
push esi
call fcn.0041f2c0
add esp, 0x14
test eax, eax
jge 0x41d37b
push esi
call fcn.0041cd70
add esp, 4
xor eax, eax
jmp 0x41d37d