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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59149e70
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.590705b0
movsx eax, byte [esi + 0xc]
add esp, 8
sub eax, 2
je 0x59070966
mov eax, dword [esp + 0x38]
push ebp
push esi
mov eax, dword [eax]
lea edi, [eax + 0x14]
push edi
call fcn.5906fc90
push 1
push edi
call fcn.5906b7d0
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 0x59070a16
mov eax, dword [esi + 0x5c]
push 5
push 0x5917da2c
push eax
call fcn.5908e200
add esp, 0xc
test eax, eax
je 0x59070a78
mov ecx, dword [esi + 0x5c]
push 4
push str.GET
push ecx
call fcn.5908e200
add esp, 0xc
test eax, eax
je 0x59070a78
mov edx, dword [esi + 0x5c]
push 5
push str.HEAD
push edx
call fcn.5908e200
add esp, 0xc
test eax, eax
je 0x59070a78
mov eax, dword [esi + 0x5c]
push 4
push str.PUT
push eax
call fcn.5908e200
add esp, 0xc
test eax, eax
je 0x59070a78
mov ecx, dword [esi + 0x5c]
push 7
push str.DELETE
push ecx
call fcn.5908e200
add esp, 0xc
test eax, eax
je 0x59070a78
mov edx, dword [esi + 0x5c]
push 8
push str.OPTIONS
push edx
call fcn.5908e200
add esp, 0xc
test eax, eax
je 0x59070a78
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
sub eax, edx
test eax, eax
jg 0x59070a9b
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
sub ecx, edx
test ecx, ecx
jle 0x59070a9b
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.5908e200
add esp, 0xc
test eax, eax
je 0x59070a78
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.5908e200
add esp, 0xc
test eax, eax
jne 0x59070a9b
lea edi, [ebx + 0x14]
push ebp
push esi
push edi
call fcn.5906fc90
push 1
push edi
call fcn.5906b7d0
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 0x59070dff
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
je 0x59070dff
test eax, eax
je 0x59070dac
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 [0x5919cca0]
mov edi, 1
test eax, eax
je 0x59070b04
mov eax, dword [ebx + 0x28]
push eax
push str.SniffHttpEmail_1___d_
push str.Winncap
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x14
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x59070bc8
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.5906b540
add esp, 0xc
test eax, eax
je 0x59070c0c
lea eax, [ebx + 0x14]
push eax
call fcn.5906b830
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
je 0x59070ba1
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x14]
cmp edx, 0xffffffff
mov dword [esp + 0x38], ecx
je 0x59070b61
push ecx
push eax
call fcn.5906afb0
add esp, 8
test eax, eax
je 0x59070ba3
mov eax, dword [ebx + 0x24]
push 2
push eax
push 3
push ebp
push esi
mov dword [ebx + 0x28], 1
call fcn.59070330
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x59070ba3
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.5906b020
add esp, 0x20
mov edi, eax
jmp 0x59070ba3
xor edi, edi
mov eax, dword [0x5919cca0]
test eax, eax
je 0x59070c04
push edi
push str.SniffHttpEmail____d_
push str.Winncap
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x14
jmp 0x59070c04
mov ecx, dword [ebx + 0x24]
push 2
push ecx
push 3
push ebp
push esi
call fcn.59070330
add esp, 0x14
test eax, eax
jne 0x59070d09
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.5906b020
add esp, 0x20
mov edi, eax
test edi, edi
jne 0x59070d09
push 1
push 0x5919dbb8
lea ecx, [esp + 0x20]
call fcn.590ac020
mov edx, dword [0x5919dbdc]
xor esi, esi
cmp edx, esi
mov dword [esp + 0x2c], esi
jle 0x59070cd7
mov edi, dword [0x5919dbd8]
mov ecx, dword [ebx + 0x24]
mov eax, edi
cmp dword [eax], ecx
jne 0x59070c51
mov ebp, dword [eax + 8]
cmp ebp, dword [esp + 0x10]
jne 0x59070c51
mov ebp, dword [eax + 0xc]
cmp ebp, dword [esp + 0x14]
je 0x59070c5b
inc esi
add eax, 0x20
cmp esi, edx
jl 0x59070c3b
jmp 0x59070cd7
mov eax, dword [0x5919cca0]
test eax, eax
je 0x59070ca6
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 0x5919cc34
call fcn.5907cd70
mov edx, dword [0x5919dbdc]
mov edi, dword [0x5919dbd8]
add esp, 0x28
mov eax, edx
mov ecx, esi
sub eax, esi
shl ecx, 5
dec eax
add ecx, edi
test eax, eax
je 0x59070cd0
shl eax, 5
inc esi
push eax
shl esi, 5
add esi, edi
push esi
push ecx
call fcn.59081ba0
mov edx, dword [0x5919dbdc]
add esp, 0xc
dec edx
mov dword [0x5919dbdc], edx
add ebx, 0x14
push 1
push ebx
call fcn.5906b7d0
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.590ac080
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 0x5919dbb8
lea ecx, [esp + 0x20]
call fcn.590ac020
mov edx, dword [0x5919dbdc]
xor eax, eax
test edx, edx
mov dword [esp + 0x2c], 1
jle 0x59070d88
mov esi, dword [ebx + 0x24]
mov ecx, dword [0x5919dbd8]
cmp dword [ecx], esi
jne 0x59070d4c
mov edi, dword [ecx + 8]
cmp edi, dword [esp + 0x10]
jne 0x59070d4c
mov edi, dword [ecx + 0xc]
cmp edi, dword [esp + 0x14]
je 0x59070d56
inc eax
add ecx, 0x20
cmp eax, edx
jl 0x59070d36
jmp 0x59070d88
cmp eax, 0xffffffff
je 0x59070d88
mov edx, dword [ebp]
mov esi, dword [0x5919dbd8]
shl eax, 5
mov ecx, dword [edx + 0x10]
mov dword [eax + esi + 8], ecx
mov ecx, dword [0x5919dbd8]
mov edx, dword [edx + 0x14]
mov dword [eax + ecx + 0xc], edx
mov ecx, dword [0x5919dbd8]
mov edx, dword [ebx + 0x1c]
mov dword [eax + ecx + 0x18], edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.590ac080
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 [0x5919cca0]
test eax, eax
je 0x59070dce
push str.SniffHttpEmail_2
push str.Winncap
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
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.5906f010
add esp, 0x14
test eax, eax
jne 0x59070dff
lea ecx, [ebx + 0x14]
push 1
push ecx
call fcn.5906b7d0
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