Function at 0x590779a0
Capabilities:
Access peb ldr_data
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59156a40
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x30]
push edi
push ebp
push esi
call fcn.59077650
movsx eax, byte [esi + 0xc]
add esp, 8
sub eax, 2
je 0x59077a06
mov eax, dword [esp + 0x38]
push ebp
push esi
mov eax, dword [eax]
lea edi, [eax + 0x14]
push edi
call fcn.59076cf0
push 1
push edi
call fcn.59071a10
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x64]
mov ebx, dword [ecx]
mov ecx, dword [esi + 0x60]
sub edx, ecx
test edx, edx
jle 0x59077ab6
mov eax, dword [esi + 0x5c]
push 5
push 0x5918cae4
push eax
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59077b18
mov ecx, dword [esi + 0x5c]
push 4
push str.GET
push ecx
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59077b18
mov edx, dword [esi + 0x5c]
push 5
push str.HEAD
push edx
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59077b18
mov eax, dword [esi + 0x5c]
push 4
push str.PUT
push eax
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59077b18
mov ecx, dword [esi + 0x5c]
push 7
push str.DELETE
push ecx
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59077b18
mov edx, dword [esi + 0x5c]
push 8
push str.OPTIONS
push edx
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59077b18
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
sub eax, edx
test eax, eax
jg 0x59077b3b
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
sub ecx, edx
test ecx, ecx
jle 0x59077b3b
mov edi, str.HTTP_1.1_200_OK_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.HTTP_1.1_200_OK_r_n
push edx
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59077b18
mov edi, str.HTTP_1.1_200__r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x18]
not ecx
dec ecx
push ecx
push str.HTTP_1.1_200__r_n
push eax
call fcn.590952c0
add esp, 0xc
test eax, eax
jne 0x59077b3b
lea edi, [ebx + 0x14]
push ebp
push esi
push edi
call fcn.59076cf0
push 1
push edi
call fcn.59071a10
mov ecx, dword [ebp]
add esp, 0x14
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
sub edx, ecx
test edx, edx
jle 0x59077e9f
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
je 0x59077e9f
test eax, eax
je 0x59077e4c
mov eax, dword [ebp]
add eax, 0x10
push eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [0x591ac718]
mov edi, 1
test eax, eax
je 0x59077ba4
mov eax, dword [ebx + 0x28]
push eax
push str.SniffHttpEmail_1___d_
push str.Winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x59077c68
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
sub ecx, edx
mov edx, dword [esi + 0x5c]
lea eax, [ebx + 0x14]
push ecx
push edx
push eax
call fcn.59071770
add esp, 0xc
test eax, eax
je 0x59077cac
lea eax, [ebx + 0x14]
push eax
call fcn.59071a70
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
je 0x59077c41
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x14]
cmp edx, 0xffffffff
mov dword [esp + 0x38], ecx
je 0x59077c01
push ecx
push eax
call fcn.59071190
add esp, 8
test eax, eax
je 0x59077c43
mov eax, dword [ebx + 0x24]
push 2
push eax
push 3
push ebp
push esi
mov dword [ebx + 0x28], 1
call fcn.590773d0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x59077c43
mov ecx, dword [ebx + 0x24]
mov edx, dword [esp + 0x38]
push ebp
push 2
push eax
mov eax, dword [esp + 0x48]
push ecx
push 3
push edx
push eax
push esi
call fcn.59071220
add esp, 0x20
mov edi, eax
jmp 0x59077c43
xor edi, edi
mov eax, dword [0x591ac718]
test eax, eax
je 0x59077ca4
push edi
push str.SniffHttpEmail____d_
push str.Winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
jmp 0x59077ca4
mov ecx, dword [ebx + 0x24]
push 2
push ecx
push 3
push ebp
push esi
call fcn.590773d0
add esp, 0x14
test eax, eax
jne 0x59077da9
mov edx, dword [ebx + 0x24]
mov ecx, dword [esi + 0x5c]
push ebp
push 2
push eax
mov eax, dword [esi + 0x64]
push edx
mov edx, dword [esi + 0x60]
sub eax, edx
push 3
push eax
push ecx
push esi
call fcn.59071220
add esp, 0x20
mov edi, eax
test edi, edi
jne 0x59077da9
push 1
push 0x591ad630
lea ecx, [esp + 0x20]
call fcn.590b48a0
mov edx, dword [0x591ad654]
xor esi, esi
cmp edx, esi
mov dword [esp + 0x2c], esi
jle 0x59077d77
mov edi, dword [0x591ad650]
mov ecx, dword [ebx + 0x24]
mov eax, edi
cmp dword [eax], ecx
jne 0x59077cf1
mov ebp, dword [eax + 8]
cmp ebp, dword [esp + 0x10]
jne 0x59077cf1
mov ebp, dword [eax + 0xc]
cmp ebp, dword [esp + 0x14]
je 0x59077cfb
inc esi
add eax, 0x20
cmp esi, edx
jl 0x59077cdb
jmp 0x59077d77
mov eax, dword [0x591ac718]
test eax, eax
je 0x59077d46
mov edx, esi
shl edx, 5
mov ecx, dword [edx + edi + 0x14]
lea eax, [edx + edi]
push ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push ecx
push edx
push eax
push esi
push str.SniffHttpEmail_g_arrTypeAndTime.RemoveAt__d___Type:_04x__Time:_I64u__TimeBegin:_I64u_
push str.maillog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
mov edx, dword [0x591ad654]
mov edi, dword [0x591ad650]
add esp, 0x28
mov eax, edx
mov ecx, esi
sub eax, esi
shl ecx, 5
dec eax
add ecx, edi
test eax, eax
je 0x59077d70
shl eax, 5
inc esi
push eax
shl esi, 5
add esi, edi
push esi
push ecx
call fcn.59088c50
mov edx, dword [0x591ad654]
add esp, 0xc
dec edx
mov dword [0x591ad654], edx
add ebx, 0x14
push 1
push ebx
call fcn.59071a10
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.590b4900
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push 1
push 0x591ad630
lea ecx, [esp + 0x20]
call fcn.590b48a0
mov edx, dword [0x591ad654]
xor eax, eax
test edx, edx
mov dword [esp + 0x2c], 1
jle 0x59077e28
mov esi, dword [ebx + 0x24]
mov ecx, dword [0x591ad650]
cmp dword [ecx], esi
jne 0x59077dec
mov edi, dword [ecx + 8]
cmp edi, dword [esp + 0x10]
jne 0x59077dec
mov edi, dword [ecx + 0xc]
cmp edi, dword [esp + 0x14]
je 0x59077df6
inc eax
add ecx, 0x20
cmp eax, edx
jl 0x59077dd6
jmp 0x59077e28
cmp eax, 0xffffffff
je 0x59077e28
mov edx, dword [ebp]
mov esi, dword [0x591ad650]
shl eax, 5
mov ecx, dword [edx + 0x10]
mov dword [eax + esi + 8], ecx
mov ecx, dword [0x591ad650]
mov edx, dword [edx + 0x14]
mov dword [eax + ecx + 0xc], edx
mov ecx, dword [0x591ad650]
mov edx, dword [ebx + 0x1c]
mov dword [eax + ecx + 0x18], edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.590b4900
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [0x591ac718]
test eax, eax
je 0x59077e6e
push str.SniffHttpEmail_2
push str.Winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x10
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
push ebp
sub edx, eax
mov eax, dword [esi + 0x5c]
push esi
push edx
push eax
push ebx
call fcn.59076020
add esp, 0x14
test eax, eax
jne 0x59077e9f
lea ecx, [ebx + 0x14]
push 1
push ecx
call fcn.59071a10
add esp, 8
mov dword [ebx + 0x24], 0xffffffff
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret