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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x81f803
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], esi
or eax, dword [esi + 0x24]
mov byte [esi + 0x82], cl
jne 0x5f3063
push dword [ebp + 0x18]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0xcc]
test eax, eax
setne cl
mov byte [esi + 0x81], cl
jmp 0x5f3209
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp edx, 0xffffffff
mov byte [esp + 0x65], cl
sete al
mov byte [esp + 0xb], al
mov byte [esp + 0x64], al
mov eax, dword [esi]
mov dword [esi], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x60], 1
mov dword [esp + 0x58], vtable.CryptoPP::Timer.0
mov dword [esp + 0x24], eax
call fcn.005f1c5b
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
sub eax, dword [esi]
sbb edi, dword [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x20]
call fcn.005f2e10
cmp edi, edx
ja 0x5f30dd
jb 0x5f30d3
cmp dword [esp + 0x28], eax
jae 0x5f30dd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
jmp 0x5f30e1
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
or eax, dword [esp + 0x14]
jne 0x5f30fc
cmp byte [edi + 0x81], 0
je 0x5f317e
cmp byte [esp + 0xb], 0
jne 0x5f3120
lea ecx, [esp + 0x58]
call fcn.005f1cf6
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x5f311b
sub ecx, eax
mov dword [esp + 0xc], ecx
jmp 0x5f3120
and dword [esp + 0xc], 0
push dword [ebp + 0x18]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push dword [ebp + 0x14]
push dword [esp + 0x14]
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call dword [eax + 0xcc]
test eax, eax
mov dword [esp + 0x1c], eax
setne al
mov byte [edi + 0x81], al
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x5f3172
push dword [esp + 0x14]
lea ecx, [edi + 0x20]
push dword [esp + 0x14]
call fcn.005f2edd
mov eax, dword [esp + 0x10]
add dword [esi], eax
mov eax, dword [esp + 0x14]
adc dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5f3209
cmp dword [esp + 0x20], 0xffffffff
jne 0x5f318c
cmp dword [esp + 0x24], 0
je 0x5f319f
mov eax, dword [esi + 4]
cmp eax, dword [esp + 0x24]
ja 0x5f3207
jb 0x5f319f
mov eax, dword [esi]
cmp eax, dword [esp + 0x20]
jae 0x5f3207
cmp byte [esp + 0xb], 0
jne 0x5f31cb
lea ecx, [esp + 0x58]
call fcn.005f1cf6
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x5f31be
sub ecx, eax
mov dword [esp + 0xc], ecx
jmp 0x5f31c7
and dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5f3207
lea ecx, [edi + 0x20]
mov dword [esp + 0x1c], ecx
call fcn.005f2e93
fst qword [esp + 0x50]
xor ecx, ecx
cmp byte [esp + 0xb], cl
jne 0x5f321f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
fild qword [esp + 0x30]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x5f3221
mov byte [edi + 0x82], 1
xor eax, eax
mov ecx, dword [esp + 0x104]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
fstp st(0)
push ecx
lea ecx, [esp + 0x7c]
call fcn.005f1e34
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x10c], 0
and dword [esp + 0x40], 0
mov edi, vtable.CryptoPP::CallStack.0
mov dword [esp + 0x3c], str.NonblockingSource::GeneralPump2_____speed_limit
mov dword [esp + 0x38], edi
call fcn.005f2e93
fcom qword [0x868818]
fnstsw ax
test ah, 0x44
jnp 0x5f328b
lea eax, [esp + 0x38]
mov dword [esp + 0x48], str.LimitedBandwidth::GetWaitObjects__
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
push eax
push ecx
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x50], edi
fstp qword [esp]
call fcn.005f20a0
jmp 0x5f328d
fstp st(0)
fld qword [esp + 0x50]
call fcn.007adcec
push eax
lea ecx, [esp + 0x7c]
call fcn.005f2430
or dword [esp + 0x10c], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.005f2109
jmp 0x5f30aa