Function at 0x100345b0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
mov edi, dword [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
not ecx
dec ecx
xor edi, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0xea60
ja 0x100347e5
mov ebp, dword [esp + 0x18]
sub ebp, edi
dec ebp
jns 0x1003460b
xor ebp, ebp
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x3c], eax
cmp dword [ecx + 0x44], eax
je 0x10034652
mov edx, dword [esp + 0x34]
cmp edx, dword [ecx + 0x28]
jne 0x1003462a
mov eax, 1
jmp 0x10034631
cmp edx, dword [ecx + 0x2c]
jne 0x10034631
xor eax, eax
mov ecx, dword [esp + 0x14]
push 0x1d4c0
add edi, esi
push eax
push ebp
push edi
call fcn.10034c90
test eax, eax
mov dword [esp + 0x3c], eax
je 0x100347c0
jmp 0x10034696
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.100348c0
test eax, eax
je 0x10034817
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10034681
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100347c4
mov ecx, dword [esp + 0x34]
add edi, esi
push 0
push ebp
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x10034732
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10034722
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x10034722
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x24]
push 0
push edx
lea ecx, [esp + 0x44]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edi
call fcn.10004cb0
add esp, 0x14
test eax, eax
je 0x10034827
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
add ecx, ebx
mov byte [ecx + edx], 0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x1003472a
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x3c]
add ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x10034736
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x10]
add ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x10034736
mov ebx, dword [esp + 0x10]
cmp eax, 1
jl 0x10034845
test esi, esi
je 0x1003474b
mov byte [ebx + esi], 0
mov eax, dword [esp + 0x3c]
sub ebp, eax
jne 0x100347a2
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x48]
add eax, edi
push eax
mov dword [esp + 0x1c], eax
call fcn.1024cbd1
add esp, 4
mov ebp, eax
test esi, esi
je 0x1003478b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x44]
mov esi, ebp
mov eax, dword [edi]
test eax, eax
je 0x100347a0
push eax
call fcn.1024cbfa
add esp, 4
mov dword [edi], ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
sub ebx, eax
push eax
add ebx, esi
push ecx
push ebx
call fcn.10079750
mov ebx, eax
add esp, 0xc
neg ebx
sbb ebx, ebx
inc ebx
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x100345eb
mov eax, dword [esp + 0x4c]
mov byte [edi + esi], 0
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0x20
mov byte [edi + esi], 0
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1003480b
push str.CTransfer::RecvUntilTerminator:_TMGateway:_Timed_Out_waiting_for_response_from_SMTP_server
push str.CTransfer
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x20
mov byte [edi + esi], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x20
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
add edx, eax
pop edi
pop esi
pop ebp
mov byte [edx + ecx], 0
xor eax, eax
pop ebx
add esp, 0x20
ret 0x20
test esi, esi
je 0x10034851
mov edx, dword [esp + 0x38]
mov byte [ebx + edx], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x20