Function at 0x5f3879
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x81f8cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0xd0]
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], eax
xor ecx, ecx
cmp dword [ebp + 0x10], 0xffffffff
mov eax, dword [edi]
mov dword [edi], ecx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
mov dword [edi + 4], ecx
sete al
mov byte [esp + 0xb], al
mov byte [esp + 0x9c], al
mov eax, dword [esi]
mov byte [esp + 0x9d], cl
mov ecx, esi
mov dword [esp + 0x98], 1
mov dword [esp + 0x90], vtable.CryptoPP::Timer.0
call dword [eax + 0xa4]
cmp byte [esi + 0xa5], 0
mov dword [esp + 0x1c], eax
jne 0x5f3f14
jmp 0x5f3910
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0xa0]
cmp edx, eax
jne 0x5f3ea7
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x5f4026
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp byte [esi + 0xa4], al
je 0x5f3c6d
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x5f3999
lea ecx, [esp + 0x90]
call fcn.005f1cf6
mov ecx, dword [ebp + 0x10]
and dword [esp + 0x68], 0
cmp ecx, eax
mov dword [esp + 0x64], str.NetworkSource::DoPump_____wait_receive_result
mov dword [esp + 0x6c], esi
mov dword [esp + 0x60], vtable.CryptoPP::CallStackWithNr.0
jbe 0x5f3980
sub ecx, eax
jmp 0x5f3982
xor ecx, ecx
lea eax, [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0x14]
call fcn.005f2a92
test al, al
je 0x5f4026
mov edi, dword [esp + 0xc]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x5f3ad1
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x5f3ad1
mov al, byte [esp + 0xb]
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], al
call fcn.00404c40
and dword [esp + 0x11c], 0
cmp dword [esp + 0x54], 0x60
jae 0x5f39f2
push 0
push 0x60
lea ecx, [esp + 0x50]
call fcn.00404a50
push 0xa
lea eax, [esp + 0x104]
push esi
push eax
call fcn.005b6270
mov dword [esp + 0x1c], eax
push 0xa
lea eax, [esp + 0xc0]
push dword [esp + 0x28]
mov byte [esp + 0x130], 1
push eax
call fcn.005b6270
mov dword [esp + 0x2c], eax
mov edi, str.NetworkSource::DoPump_____received
mov byte [esp + 0x134], 2
push edi
call fcn.007ae880
add esp, 0x1c
lea ecx, [esp + 0x48]
push eax
push edi
call fcn.004030a0
push 0xffffffffffffffff
push 0
push dword [esp + 0x1c]
mov ecx, eax
call fcn.00476540
mov edi, str._bytes___nr:
mov dword [esp + 0x14], eax
push edi
call fcn.007ae880
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push edi
call fcn.00476620
push 0xffffffffffffffff
push 0
push dword [esp + 0x18]
mov ecx, eax
call fcn.00476540
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x120], 1
call fcn.00404c40
and byte [esp + 0x11c], 0
push 1
lea ecx, [esp + 0x104]
call fcn.00404c40
mov ecx, dword [esi + 0x88]
lea edx, [esp + 0x48]
push edx
mov eax, dword [ecx]
call dword [eax]
or dword [esp + 0x11c], 0xffffffff
push 1
lea ecx, [esp + 0x4c]
call fcn.00404c40
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
and byte [esi + 0xa4], 0
add dword [esi + 0xa0], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test al, al
jne 0x5f390d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x5f390d
mov eax, dword [esi + 0x90]
cmp dword [esi + 0xa0], eax
je 0x5f390d
mov ecx, dword [esi + 0x88]
mov byte [esi + 0xa4], 1
test ecx, ecx
je 0x5f3c4d
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x5f3c4d
mov al, byte [esp + 0xb]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call fcn.00404c40
cmp dword [esp + 0x44], 0x60
mov dword [esp + 0x11c], 3
jae 0x5f3b68
push 0
push 0x60
lea ecx, [esp + 0x40]
call fcn.00404a50
push 0xa
lea eax, [esp + 0xf4]
push esi
push eax
call fcn.005b6270
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x90]
push 0xa
sub eax, dword [esi + 0xa0]
mov byte [esp + 0x12c], 4
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.005b6270
mov dword [esp + 0x28], eax
mov edi, str.NetworkSource::DoPump_____receiving
mov byte [esp + 0x134], 5
push edi
call fcn.007ae880
add esp, 0x1c
lea ecx, [esp + 0x38]
push eax
push edi
call fcn.004030a0
push 0xffffffffffffffff
push 0
push dword [esp + 0x18]
mov ecx, eax
call fcn.00476540
mov edi, str._bytes___nr:
mov dword [esp + 0x10], eax
push edi
call fcn.007ae880
pop ecx
mov ecx, dword [esp + 0x10]
push eax
push edi
call fcn.00476620
push 0xffffffffffffffff
push 0
push dword [esp + 0x1c]
mov ecx, eax
call fcn.00476540
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 4
call fcn.00404c40
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x120], 3
call fcn.00404c40
mov ecx, dword [esi + 0x88]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
or dword [esp + 0x11c], 0xffffffff
push 1
lea ecx, [esp + 0x3c]
call fcn.00404c40
mov eax, dword [esi + 0x90]
mov edx, dword [esi + 0xa0]
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov eax, ecx
jmp 0x5f3e7e
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov eax, dword [ecx]
call dword [eax + 8]
test al, al
je 0x5f3b14
lea ecx, [esp + 0x90]
call fcn.005f1cf6
mov ecx, dword [ebp + 0x10]
and dword [esp + 0x88], 0
cmp ecx, eax
mov dword [esp + 0x84], str.NetworkSource::DoPump_____wait_receive
mov dword [esp + 0x8c], esi
mov dword [esp + 0x80], vtable.CryptoPP::CallStackWithNr.0
jbe 0x5f3cc2
sub ecx, eax
jmp 0x5f3cc4
xor ecx, ecx
lea eax, [esp + 0x80]
push eax
push ecx
mov ecx, dword [esp + 0x14]
call fcn.005f2a92
test al, al
je 0x5f4026
mov eax, dword [esi + 0xa0]
mov edi, dword [esi + 0x90]
mov ecx, dword [esp + 0xc]
sub edi, eax
push edi
mov edi, dword [esi + 0x94]
mov edx, dword [ecx]
add edi, eax
push edi
call dword [edx + 0x10]
mov byte [esi + 0xa4], 1
jmp 0x5f390d
mov edi, dword [esp + 0xc]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x5f3e46
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x5f3e46
mov al, byte [esp + 0xb]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00404c40
cmp dword [esp + 0x34], 0x60
mov dword [esp + 0x11c], 6
jae 0x5f3d67
push 0
push 0x60
lea ecx, [esp + 0x30]
call fcn.00404a50
push 0xa
lea eax, [esp + 0xe4]
push esi
push eax
call fcn.005b6270
mov dword [esp + 0x20], eax
push 0xa
lea eax, [esp + 0xd0]
push dword [esp + 0x28]
mov byte [esp + 0x130], 7
push eax
call fcn.005b6270
mov dword [esp + 0x28], eax
mov edi, str.NetworkSource::DoPump_____immediately_received
mov byte [esp + 0x134], 8
push edi
call fcn.007ae880
add esp, 0x1c
lea ecx, [esp + 0x28]
push eax
push edi
call fcn.004030a0
push 0xffffffffffffffff
push 0
push dword [esp + 0x18]
mov ecx, eax
call fcn.00476540
mov edi, str._bytes___nr:
mov dword [esp + 0x10], eax
push edi
call fcn.007ae880
pop ecx
mov ecx, dword [esp + 0x10]
push eax
push edi
call fcn.00476620
push 0xffffffffffffffff
push 0
push dword [esp + 0x1c]
mov ecx, eax
call fcn.00476540
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x120], 7
call fcn.00404c40
push 1
lea ecx, [esp + 0xe4]
mov byte [esp + 0x120], 6
call fcn.00404c40
mov ecx, dword [esi + 0x88]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
call dword [eax]
or dword [esp + 0x11c], 0xffffffff
push 1
lea ecx, [esp + 0x2c]
call fcn.00404c40
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, edi
add dword [esi + 0xa0], eax
mov eax, dword [edi]
call dword [eax + 0x18]
test al, al
jne 0x5f3e9b
mov eax, dword [esi + 0x90]
mov edx, dword [esi + 0xa0]
mov ecx, eax
shr ecx, 1
cmp edx, ecx
ja 0x5f3e9b
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov eax, ecx
mov edi, dword [esi + 0x94]
mov ecx, dword [esp + 0x10]
add edx, edi
push edx
call dword [eax + 0x10]
test al, al
jne 0x5f3d0b
jmp 0x5f390d
and byte [esi + 0xa4], 0
jmp 0x5f390d
mov ecx, dword [esp + 0x20]
sub ecx, dword [edi]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
sbb ecx, dword [edi + 4]
sub eax, edx
xor edx, edx
cmp ecx, edx
ja 0x5f3ece
jb 0x5f3ec8
cmp dword [esp + 0x58], eax
jae 0x5f3ece
mov edx, dword [esp + 0x58]
jmp 0x5f3ed0
mov edx, eax
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x98], edx
je 0x5f3f14
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x9c]
add eax, ecx
add edx, ecx
mov ecx, dword [esi + 0x94]
add ecx, edx
jmp 0x5f3efe
mov dl, byte [ebp + 0x18]
cmp byte [eax], dl
je 0x5f3f02
inc eax
cmp eax, ecx
jne 0x5f3ef6
sub eax, dword [esi + 0x94]
sub eax, dword [esi + 0x9c]
mov dword [esi + 0x98], eax
cmp byte [esp + 0xb], 0
jne 0x5f3f25
cmp byte [ebp + 0xc], 0
jne 0x5f3f25
xor cl, cl
jmp 0x5f3f27
mov cl, 1
mov eax, dword [esi + 0x94]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x9c]
mov edx, dword [edx]
push 0
push dword [esi + 0x98]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
call dword [edx + 0x18]
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
je 0x5f3faa
lea ecx, [esp + 0x90]
call fcn.005f1cf6
mov ecx, dword [ebp + 0x10]
and dword [esp + 0x78], 0
cmp ecx, eax
mov dword [esp + 0x74], str.NetworkSource::DoPump_____wait_attachment
mov dword [esp + 0x7c], esi
mov dword [esp + 0x70], vtable.CryptoPP::CallStackWithNr.0
jbe 0x5f3f86
sub ecx, eax
jmp 0x5f3f88
xor ecx, ecx
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x20]
push ecx
lea ecx, [eax + 4]
call fcn.005f2a92
test al, al
je 0x5f403e
mov edi, dword [ebp + 8]
jmp 0x5f3f14
mov eax, dword [esi + 0x98]
mov byte [esi + 0xa5], cl
add dword [edi], eax
adc dword [edi + 4], ecx
mov eax, dword [esi + 0x98]
add dword [esi + 0x9c], eax
cmp byte [ebp + 0x14], cl
mov eax, dword [esi + 0x9c]
je 0x5f3fea
cmp eax, dword [esi + 0xa0]
jae 0x5f3fea
mov ecx, dword [esi + 0x94]
mov dl, byte [ebp + 0x18]
cmp byte [eax + ecx], dl
je 0x5f4026
xor ecx, ecx
cmp dword [esp + 0x20], 0xffffffff
jne 0x5f3ff7
cmp dword [esp + 0x24], ecx
je 0x5f4008
mov eax, dword [edi]
cmp eax, dword [esp + 0x20]
jne 0x5f4008
mov eax, dword [edi + 4]
cmp eax, dword [esp + 0x24]
je 0x5f4026
cmp dword [ebp + 0x10], ecx
jbe 0x5f3910
lea ecx, [esp + 0x90]
call fcn.005f1cf6
cmp eax, dword [ebp + 0x10]
jbe 0x5f3910
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x10]
mov byte [esi + 0xa5], 1
jmp 0x5f4028