Function at 0x511b160
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52297d4
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov al, byte [esp + 0xfc]
mov edi, dword [esp + 0x100]
mov ecx, dword [esp + 0x108]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], 0x30
cmp al, 0x25
jne 0x511b1d3
mov esi, str.RFTestCmdDTS_50P
jmp 0x511b202
cmp al, 0x50
jne 0x511b1e6
mov esi, str.RFTestCmdDTS_100P
mov dword [esp + 0x24], 0x62
jmp 0x511b202
cmp al, 0x5f
jne 0x511b1f1
mov esi, str.RFTestCmdDTS_Lpm_512P
jmp 0x511b1fa
cmp al, 0x75
jne 0x511b202
mov esi, str.RFTestCmdDTS_Lpm_512P_V5
mov dword [esp + 0x24], 0x1fe
cmp dword [esp + 0x104], ebx
je 0x511c266
cmp ecx, ebx
je 0x511c266
mov ebp, dword [esp + 0xf4]
push ebp
mov ecx, 0x53f4cc8
call fcn.050674e0
lea ecx, [esp + 0x4c]
test al, al
jne 0x511b290
push str._ERROR:
push 0xff
push 0x2aef
push str..RF.CPP
call fcn.051ae270
mov esi, eax
mov dword [esp + 0xec], ebx
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push ebp
push str.__d___s__:_invalid_handle_
push eax
push esi
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
mov eax, 0xd
jmp 0x511c26b
push 0x52c722a
push 1
push 0x2af3
push str..RF.CPP
call fcn.051ae270
mov edi, eax
mov dword [esp + 0xec], 1
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebp
push str.__d__________Request________
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x2af4
push str..RF.CPP
lea ecx, [esp + 0x5c]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0xec], 2
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0xf8]
movzx edi, byte [esp + 0xfc]
mov eax, dword [eax + 8]
push ecx
push 1
push 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [edi*4 + 0x527e570]
push eax
push edi
push edx
push 0
push 0
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x54]
push eax
push ebp
push str.__d___s__:_req_s__d____s__d___cnf_s__d__ms_timeout__d_
push ecx
push ebx
call fcn.051ae2d0
add esp, 0x30
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
push 1
push 0
add eax, 0xad24
push eax
push 0x5102eb0
push edi
push 1
lea edx, [esp + 0x48]
push edx
push ebp
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], eax
call fcn.050659a0
mov dword [esp + 0xec], 3
xor edi, edi
test esi, esi
je 0x511b458
mov ebx, dword [esp + 0x38]
push ebx
lea eax, [esp + 0x24]
push eax
push esi
call fcn.051a8740
add esp, 0xc
test eax, eax
je 0x511b454
push str._ERROR:
push 0xff
push 0x2b03
push str..RF.CPP
lea ecx, [esp + 0x5c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0xec], 4
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push ebx
push ebp
push str.__d___s__:_can_not_get_DataFormat_of__s_from_idb
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0xec], 3
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.05065ae0
mov eax, 8
jmp 0x511c26b
mov edi, dword [esp + 0x20]
push 0x4000
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x50]
push ecx
xor ebx, ebx
lea edx, [esp + 0x58]
push edx
push edi
push ebx
push eax
push ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x40], ebx
call fcn.051a85f0
add esp, 0x28
cmp eax, ebx
je 0x511b4e2
sub eax, 1
je 0x511b4c2
sub eax, 1
je 0x511b4bb
sub eax, 1
je 0x511b4b4
lea esi, [ebx + 1]
jmp 0x511b4c7
mov esi, 8
jmp 0x511b4c7
mov esi, 9
jmp 0x511b4c7
mov esi, 0xa
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.05065ae0
mov eax, esi
jmp 0x511c26b
mov ecx, dword [esp + 0xfc]
push ecx
push ebx
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push str.type
push edx
push eax
push ebp
call fcn.05019f90
mov ebx, dword [esp + 0x11c]
mov cl, byte [ebx]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x38], cl
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push edx
push esi
push str.afc_cal
push edi
add ecx, eax
push ecx
push ebp
call fcn.05019f90
movzx edx, byte [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push edx
push esi
push str.pl_cal
push edi
add ecx, eax
push ecx
push ebp
call fcn.05019f90
movzx edx, byte [ebx + 2]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add esp, 0x48
push edx
push esi
push str.sync_sb_num
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a110
movzx edx, word [ebx + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
push esi
push str.power
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a050
mov dl, byte [ebx + 8]
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x64], dl
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
push eax
push esi
push str.AfcDSS.band
push edi
add edx, ecx
push edx
push ebp
call fcn.05019f90
movzx eax, word [ebx + 0xc]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 0x48
push eax
push esi
push str.AfcDSS.arfcn
push edi
add ecx, edx
push ecx
push ebp
call fcn.0501a050
add esp, 0x18
add ebx, 0xe
mov dword [esp + 0x28], ebx
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
mov dword [esp + 0x1c], 0
jmp 0x511b5f0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x80]
push str.AfcDSS.dac_value__d_
push ecx
call ebx
mov edx, dword [esp + 0x34]
movzx eax, word [edx]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x90]
push ecx
push edi
add eax, edx
push eax
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x40]
add dword [esp + 0x4c], 2
inc eax
add esp, 0x24
cmp eax, 0x21
mov dword [esp + 0x1c], eax
jl 0x511b5f0
mov ecx, dword [esp + 0x104]
movzx edx, word [ecx + 0x50]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push esi
push str.AfcDSS.gain
push edi
add eax, ecx
push eax
push ebp
call fcn.0501a050
mov edx, dword [esp + 0x11c]
movzx eax, word [edx + 0x52]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push eax
push esi
push str.AfcDSS.repeat_cnt
push edi
add edx, ecx
push edx
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x134]
mov cl, byte [eax + 0x54]
mov eax, dword [esp + 0x44]
mov byte [esp + 0x50], cl
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
push edx
push esi
push str.AfcDSS.capid_cal
push edi
add ecx, eax
push ecx
push ebp
call fcn.05019f90
mov edx, dword [esp + 0x14c]
mov al, byte [edx + 0x55]
mov edx, dword [esp + 0x5c]
add esp, 0x48
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ecx
push esi
push str.AfcDSS.linear_cal
push edi
add eax, edx
push eax
push ebp
call fcn.05019f90
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 0x58]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
push esi
push str.AfcDSS.capid_min
push edi
add ecx, eax
push ecx
push ebp
call fcn.050fe6b0
mov edx, dword [esp + 0x134]
mov eax, dword [edx + 0x5c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
push eax
push esi
push str.AfcDSS.capid_max
push edi
add edx, ecx
push edx
push ebp
call fcn.050fe6b0
mov eax, dword [esp + 0x74]
add eax, 0xffffffdb
add esp, 0x48
cmp eax, 0x50
ja case.0x511b73e.38
movzx eax, byte [eax + 0x511c2ac]
jmp dword [eax*4 + 0x511c298]
mov ecx, dword [esp + 0x104]
movzx edx, byte [ecx + 0x60]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push esi
push str.step_cnt
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a110
add esp, 0x18
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
jle case.0x511b73e.38
mov edx, dword [esp + 0x104]
add edx, 0x68
mov dword [esp + 0x28], edx
lea ecx, [ecx]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov cl, byte [eax - 4]
push edx
lea eax, [esp + 0x80]
push str.PathLossDSS__d_.band
push eax
mov byte [esp + 0x40], cl
call ebx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push esi
lea edx, [esp + 0x90]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.05019f90
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0xa4]
push str.PathLossDSS__d_.arfcn
push eax
call ebx
mov ecx, dword [esp + 0x58]
movzx edx, word [ecx]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x4c]
push esi
lea eax, [esp + 0xb4]
push eax
push edi
add edx, ecx
push edx
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x70]
add esp, 0x48
add eax, 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
lea esp, [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x84]
push str.PathLossDSS__d_.gain__d_
push eax
call ebx
mov ecx, dword [esp + 0x30]
movzx edx, word [ecx]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push esi
lea eax, [esp + 0x94]
push eax
push edi
add edx, ecx
push edx
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x54]
add dword [esp + 0x48], 2
inc eax
add esp, 0x28
cmp eax, 6
mov dword [esp + 0x2c], eax
jl 0x511b820
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x80]
push str.PathLossDSS__d_.repeat_cnt
push ecx
call ebx
mov edx, dword [esp + 0x34]
movzx eax, word [edx + 0xe]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x90]
push ecx
push edi
add eax, edx
push eax
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x40]
add dword [esp + 0x4c], 0x14
inc eax
add esp, 0x24
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jl 0x511b790
jmp case.0x511b73e.38
mov ecx, dword [esp + 0x104]
movzx edx, byte [ecx + 0x60]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push esi
push str.step_cnt
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a110
add esp, 0x18
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
jle case.0x511b73e.38
mov edx, dword [esp + 0x104]
add edx, 0x68
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov cl, byte [eax - 4]
push edx
lea eax, [esp + 0x80]
push str.PathLossDSS__d_.band
push eax
mov byte [esp + 0x40], cl
call ebx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push esi
lea edx, [esp + 0x90]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.05019f90
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0xa4]
push str.PathLossDSS__d_.arfcn
push eax
call ebx
mov ecx, dword [esp + 0x58]
movzx edx, word [ecx]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x4c]
push esi
lea eax, [esp + 0xb4]
push eax
push edi
add edx, ecx
push edx
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x70]
add esp, 0x48
add eax, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], eax
mov edi, edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x84]
push str.PathLossDSS__d_.gain__d_
push eax
call ebx
mov ecx, dword [esp + 0x3c]
movzx edx, word [ecx]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push esi
lea eax, [esp + 0x94]
push eax
push edi
add edx, ecx
push edx
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x48]
add dword [esp + 0x54], 2
inc eax
add esp, 0x28
cmp eax, 6
mov dword [esp + 0x20], eax
jl 0x511b9a0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x80]
push str.PathLossDSS__d_.repeat_cnt
push ecx
call ebx
mov edx, dword [esp + 0x34]
movzx eax, word [edx + 0xe]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x90]
push ecx
push edi
add eax, edx
push eax
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x40]
add dword [esp + 0x4c], 0x14
inc eax
add esp, 0x24
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jl 0x511b912
jmp case.0x511b73e.38
mov ecx, dword [esp + 0x104]
movzx edx, word [ecx + 0x60]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push esi
push str.step_cnt
push edi
add ecx, eax
push ecx
push ebp
call fcn.05019ff0
mov eax, dword [esp + 0x11c]
xor edx, edx
add esp, 0x18
mov dword [esp + 0x1c], 0
cmp dx, word [eax + 0x60]
jae 0x511bc0e
mov ecx, eax
add ecx, 0x68
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov al, byte [edx - 4]
push ecx
lea edx, [esp + 0x80]
push str.PathLossDSS__d_.band
push edx
mov byte [esp + 0x40], al
call ebx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x90]
push ecx
push edi
add eax, edx
push eax
push ebp
call fcn.05019f90
mov ecx, dword [esp + 0x40]
push ecx
lea edx, [esp + 0xa4]
push str.PathLossDSS__d_.arfcn
push edx
call ebx
mov eax, dword [esp + 0x54]
movzx ecx, word [eax]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push esi
lea edx, [esp + 0xb4]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a050
mov edx, dword [esp + 0x6c]
add esp, 0x48
add edx, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x84]
push str.PathLossDSS__d_.gain__d_
push edx
call ebx
mov eax, dword [esp + 0x3c]
movzx ecx, word [eax]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
lea edx, [esp + 0x94]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x48]
add dword [esp + 0x54], 2
inc eax
add esp, 0x28
cmp eax, 6
mov dword [esp + 0x20], eax
jl 0x511bb21
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x80]
push str.PathLossDSS__d_.repeat_cnt
push eax
call ebx
mov ecx, dword [esp + 0x30]
movzx edx, word [ecx + 0xe]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push esi
lea eax, [esp + 0x90]
push eax
push edi
add edx, ecx
push edx
push ebp
call fcn.0501a050
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov cl, byte [eax + 0x10]
push edx
lea eax, [esp + 0xa4]
push str.PathLossDSS__d_.gsm_lna_mode
push eax
mov byte [esp + 0x58], cl
call ebx
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push esi
lea edx, [esp + 0xb4]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a110
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x64]
movzx ecx, word [edx + 0x60]
add dword [esp + 0x6c], 0x18
inc eax
add esp, 0x48
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x511ba95
lea edx, [esp + 0x7c]
push str.lpm_sb_num
push edx
call ebx
mov eax, dword [esp + 0x10c]
movzx ecx, word [eax + 0x3034]
jmp 0x511be0e
mov edx, dword [esp + 0x104]
movzx eax, word [edx + 0x60]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push esi
push str.step_cnt
push edi
add edx, ecx
push edx
push ebp
call fcn.05019ff0
mov ecx, dword [esp + 0x11c]
xor eax, eax
add esp, 0x18
mov dword [esp + 0x1c], 0
cmp ax, word [ecx + 0x60]
jae 0x511bdf4
mov edx, ecx
add edx, 0x68
mov dword [esp + 0x24], edx
jmp 0x511bc80
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov cl, byte [eax - 4]
push edx
lea eax, [esp + 0x80]
push str.PathLossDSS__d_.band
push eax
mov byte [esp + 0x40], cl
call ebx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push esi
lea edx, [esp + 0x90]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.05019f90
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0xa4]
push str.PathLossDSS__d_.arfcn
push eax
call ebx
mov ecx, dword [esp + 0x54]
movzx edx, word [ecx]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x4c]
push esi
lea eax, [esp + 0xb4]
push eax
push edi
add edx, ecx
push edx
push ebp
call fcn.0501a050
mov eax, dword [esp + 0x64]
add esp, 0x48
push eax
lea ecx, [esp + 0x80]
push str.PathLossDSS__d_.dl_power
push ecx
call ebx
mov edx, dword [esp + 0x30]
movzx eax, word [edx + 4]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x90]
push ecx
push edi
add eax, edx
push eax
push ebp
call fcn.0501a050
mov ecx, dword [esp + 0x48]
add esp, 0x24
add ecx, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x84]
push str.PathLossDSS__d_.gsm_lna_mode__d_
push ecx
call ebx
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0x94]
push ecx
push edi
add eax, edx
push eax
push ebp
call fcn.050fe6b0
mov eax, dword [esp + 0x48]
add dword [esp + 0x54], 4
inc eax
add esp, 0x28
cmp eax, 2
mov dword [esp + 0x20], eax
jl 0x511bd47
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x80]
push str.PathLossDSS__d_.repeat_cnt
push edx
call ebx
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 2]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push esi
lea edx, [esp + 0x90]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a050
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x40]
movzx ecx, word [edx + 0x60]
add dword [esp + 0x48], 0x14
inc eax
add esp, 0x24
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x511bc80
lea edx, [esp + 0x7c]
push str.lpm_sb_num
push edx
call ebx
mov eax, dword [esp + 0x10c]
movzx ecx, word [eax + 0x283c]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push esi
lea edx, [esp + 0x8c]
push edx
push edi
add ecx, eax
push ecx
push ebp
call fcn.0501a050
add esp, 0x20
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push 1
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x54]
push edx
push ebp
call fcn.05032d60
add esp, 0x18
test al, al
jne 0x511bedd
push str._ERROR:
push 0xff
push 0x2bbe
push str..RF.CPP
lea ecx, [esp + 0x5c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0xec], 5
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 8]
push ecx
movsx ecx, word [esp + 0x34]
push edx
mov edx, dword [esp + 0x40]
push ecx
push edx
push ebp
push str.__d___s_token_d_:_SendPrimitive_local_len_d__peer_len_d__fail_
push eax
push esi
call fcn.051ae2d0
add esp, 0x20
mov byte [esp + 0xec], 3
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.05065ae0
mov eax, 2
jmp 0x511c26b
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov esi, dword [esp + 0x60]
add eax, 0xa8d0
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x78], ecx
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0xf8]
add eax, 0xc
cmp dword [eax + 0xa8], 0
mov eax, dword [0x53f1d2c]
jne 0x511bf27
mov eax, dword [0x53f1b14]
cmp eax, ecx
ja 0x511bf2d
mov eax, ecx
push eax
push 0
lea edx, [esp + 0x7c]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x511c01a
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xa800
lea esi, [eax + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0xec], 6
mov eax, dword [esp + 0x30]
push eax
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xa800
call fcn.05192530
push str._WARNING:
push 0xd2
push 0x2bd2
push str..RF.CPP
lea ecx, [esp + 0x5c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0xec], 7
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push ecx
push edx
push ebp
push str.__d___s_token_d_:_Cancel_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0xec], 6
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
mov byte [esp + 0xec], 3
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.05065ae0
mov eax, 0x1e
jmp 0x511c26b
cmp eax, 1
jne 0x511c157
cmp byte [esi + 0x1a20], 0
jne 0x511c081
push str._ERROR:
push 0xff
push 0x2beb
push str..RF.CPP
lea ecx, [esp + 0x5c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0xec], 0xa
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push ecx
push edx
push ebp
push str.__d___s_token_d_:_rf_cnf.m_bOk__false_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
jmp 0x511c23a
mov al, byte [esp + 0xfc]
cmp al, 0x25
jne 0x511c09c
mov edi, dword [esp + 0x3c]
add esi, 0xc
mov ecx, 0xcf
rep movsd dword es:[edi], dword [esi]
jmp 0x511c0de
cmp al, 0x50
jne 0x511c0b0
mov edi, dword [esp + 0x3c]
add esi, 0xc
mov ecx, 0x11a
rep movsd dword es:[edi], dword [esi]
jmp 0x511c0de
cmp al, 0x5f
jne 0x511c0c4
mov edi, dword [esp + 0x3c]
add esi, 0xc
mov ecx, 0x386
rep movsd dword es:[edi], dword [esi]
jmp 0x511c0de
cmp al, 0x75
jne 0x511c0de
mov eax, dword [esp + 0x3c]
push 0x1a0c
add esi, 0xc
push esi
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push 0x52c722a
push 1
push 0x2c05
push str..RF.CPP
lea ecx, [esp + 0x5c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0xec], 0xb
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push ecx
push edx
push ebp
push str.__d___s_token_d_:_OK.
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0xec], 3
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.05065ae0
xor eax, eax
jmp 0x511c26b
cmp eax, 0x102
jne 0x511c1e1
push str._ERROR:
push 0xff
push 0x2bdc
push str..RF.CPP
lea ecx, [esp + 0x5c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0xec], 8
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push ecx
push edx
push ebp
push str.__d___s_token_d_:_WaitForMultipleObjects___timeout_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0xec], 3
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.05065ae0
mov eax, 0xb
jmp 0x511c26b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str._ERROR:
push 0xff
push 0x2be3
push str..RF.CPP
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.051ae270
mov edi, eax
mov byte [esp + 0xec], 9
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push esi
push ecx
push edx
push ebp
push str.__d___s_token_d_:_WaitForMultipleObjects___failed___Err__u_.
push eax
push edi
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0xec], 3
lea ecx, [esp + 0x4c]
call fcn.051ae2c0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.05065ae0
mov eax, 1
jmp 0x511c26b
mov eax, 0xa
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.0520b902
add esp, 0xdc
ret 0x18