Function at 0x59036820
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591510d8
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x59036847
mov dword [eax], ebx
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x59036a90
mov edx, dword [esp + 0x34]
cmp edx, ebx
je 0x59036a90
cmp edx, 5
jle 0x59036a90
mov edi, 0x5918db08
or ecx, 0xffffffff
xor eax, eax
push str._HTTP
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x5918db08
sub edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
add ecx, esi
push ecx
call fcn.5900f7b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x59036a90
push eax
mov edi, 0x5918db08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.590a1d90
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push 0x5918db04
push ecx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebx
call fcn.590a67d0
mov edx, dword [esp + 0x30]
mov ebx, 1
mov byte [esp + 0x28], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x59036a1c
mov edi, 0x5918b1c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x5918b1c8
call fcn.590966e0
add esp, 0xc
test eax, eax
jne 0x59036994
mov edi, 0x5918b1c8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.590a44d0
mov edi, 0x5918a3c8
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x28], 2
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xc]
not ecx
dec ecx
push ecx
push eax
push 0x5918a3c8
call fcn.590966e0
add esp, 0xc
test eax, eax
je 0x590369d9
mov edi, str.deliver
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x10]
push ecx
push str.deliver
call fcn.590966e0
add esp, 0xc
mov byte [esp + 0x28], bl
test eax, eax
lea ecx, [esp + 0xc]
je 0x59036a17
call fcn.590a22e0
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push 0x5918db04
push eax
lea ecx, [esp + 0x1c]
call fcn.590a67d0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.590a2460
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.590a22e0
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 8]
test eax, eax
jne 0x590368f4
jmp 0x59036a1c
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.590a22e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.590a22e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.590a22e0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
call fcn.590a22e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.590a22e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.590a22e0
mov ecx, dword [0x591638c0]
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push edi
push esi
mov dword [esp + 0x34], 4
call fcn.590354e0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
push 0
push ebx
push edi
push esi
call fcn.59034da0
add esp, 0x30
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.590a7660
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret