Function at 0x5040bf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xa0
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x9c], eax
mov ecx, dword [str.ERf_FHC_Cmd]
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
push esi
mov esi, dword [esp + 0xb8]
movzx eax, byte [esi]
push edi
mov edi, dword [esp + 0xb4]
push eax
push ecx
push str.phy_cell_id
push 0
push ebp
push edi
call fcn.0503f000
movzx edx, byte [esi + 1]
mov eax, dword [str.ERf_FHC_Cmd]
push edx
push eax
push str.fdd_band_start_index
push 1
push ebp
push edi
call fcn.0503f000
movzx ecx, byte [esi + 2]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
push str.fdd_band_end_index
push 2
push ebp
push edi
call fcn.0503f000
movzx eax, byte [esi + 3]
mov ecx, dword [str.ERf_FHC_Cmd]
add esp, 0x48
push eax
push ecx
push str.tdd_band_start_index
push 3
push ebp
push edi
call fcn.0503f000
movzx edx, byte [esi + 4]
mov eax, dword [str.ERf_FHC_Cmd]
push edx
push eax
push str.tdd_band_end_index
push 4
push ebp
push edi
call fcn.0503f000
movzx ecx, byte [esi + 5]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
push str.fdd_to_tdd_switch_time
push 5
push ebp
push edi
call fcn.0503f000
movzx eax, byte [esi + 6]
mov ecx, dword [str.ERf_FHC_Cmd]
add esp, 0x48
push eax
push ecx
push str.tdd_to_fdd_switch_time
push 6
push ebp
push edi
call fcn.0503f000
movzx edx, byte [esi + 7]
mov eax, dword [str.ERf_FHC_Cmd]
push edx
push eax
push str.tdd_tx_rx_switch_time
push 7
push ebp
push edi
call fcn.0503f000
movzx ecx, byte [esi + 8]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
push str.freq_switch_time
push 8
push ebp
push edi
call fcn.0503f000
movzx eax, byte [esi + 9]
mov ecx, dword [str.ERf_FHC_Cmd]
add esp, 0x48
push eax
push ecx
push str.band_switch_time
push 9
push ebp
push edi
call fcn.0503f000
movzx edx, byte [esi + 0xa]
mov eax, dword [str.ERf_FHC_Cmd]
push edx
push eax
push str.txCmd.tx_step_width
push 0xa
push ebp
push edi
call fcn.0503f000
movzx ecx, byte [esi + 0xb]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
push str.txCmd.band_num
push 0xb
push ebp
push edi
call fcn.0503f000
movzx eax, word [esi + 0x8ec8]
mov ecx, dword [str.ERf_FHC_Cmd]
add esp, 0x48
push eax
push ecx
push str.txCmd.freq_offst
push 0x8ec8
push ebp
push edi
call fcn.0503f040
movzx edx, word [esi + 0x8eca]
mov eax, dword [str.ERf_FHC_Cmd]
push edx
push eax
push str.txCmd.afc_dac
push 0x8eca
push ebp
push edi
call fcn.0503f040
movzx ecx, byte [esi + 0x8ecc]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
push str.txCmd.afc_data_type
push 0x8ecc
push ebp
push edi
call fcn.0503f000
movzx eax, byte [esi + 0x8ecd]
mov ecx, dword [str.ERf_FHC_Cmd]
add esp, 0x48
push eax
push ecx
push str.txCmd.close_loop_disable
push 0x8ecd
push ebp
push edi
call fcn.0503f000
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
xor al, al
mov byte [esp + 0x13], al
jmp 0x5040df4
mov al, byte [esp + 0x13]
cmp al, byte [esi + 0xb]
jae 0x50410ca
movzx eax, al
push eax
lea edx, [esp + 0x30]
push str.txCmd.band_param__d_.band_index
push edx
mov dword [esp + 0x20], eax
call ebx
mov eax, dword [esp + 0x20]
mov edx, dword [str.ERf_FHC_Cmd]
imul eax, eax, 0xe46
movzx ecx, byte [eax + esi + 0xc]
push ecx
push edx
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x38], eax
add eax, 0xc
push eax
push ebp
push edi
call fcn.0503f000
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push str.txCmd.band_param__d_.freq_num
push eax
call ebx
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + esi + 0xd]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
lea ecx, [esp + 0x64]
push ecx
add eax, 0xd
push eax
push ebp
push edi
call fcn.0503f000
add esp, 0x48
xor al, al
mov byte [esp + 0x12], al
jmp 0x5040e84
mov al, byte [esp + 0x12]
mov edx, dword [esp + 0x20]
cmp al, byte [edx + esi + 0xd]
jae 0x50410b8
movzx eax, al
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push str.txCmd.band_param__d_.freq_param__d_.ul_freq
push ecx
call ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
imul edx, edx, 0xa6
add eax, edx
movzx ecx, word [eax + esi + 0xe]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x38], eax
add eax, 0xe
push eax
push ebp
push edi
call fcn.0503f080
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x5c]
push str.txCmd.band_param__d_.freq_param__d_.ul_bw
push ecx
call ebx
mov eax, dword [esp + 0x54]
movzx edx, byte [eax + esi + 0x10]
mov ecx, dword [str.ERf_FHC_Cmd]
push edx
push ecx
lea edx, [esp + 0x6c]
push edx
add eax, 0x10
push eax
push ebp
push edi
call fcn.0503f000
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add esp, 0x50
push eax
push ecx
lea edx, [esp + 0x34]
push str.txCmd.band_param__d_.freq_param__d_.pwr_step_num
push edx
call ebx
mov eax, dword [esp + 0x2c]
movzx ecx, byte [eax + esi + 0x11]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
lea ecx, [esp + 0x44]
push ecx
add eax, 0x11
push eax
push ebp
push edi
call fcn.0503f000
add esp, 0x28
xor al, al
mov byte [esp + 0x11], al
jmp 0x5040f64
mov al, byte [esp + 0x11]
mov edx, dword [esp + 0x1c]
cmp al, byte [edx + esi + 0x11]
jae 0x50410a6
mov ecx, dword [esp + 0x14]
movzx eax, al
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x38]
push str.txCmd.band_param__d_.freq_param__d_.pwr_step_value__d_
push edx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
imul eax, eax, 0x723
add eax, dword [esp + 0x38]
imul ecx, ecx, 0x53
add eax, ecx
mov ecx, dword [str.ERf_FHC_Cmd]
mov dword [esp + 0x3c], eax
lea eax, [eax + eax + 0x12]
movzx edx, word [eax + esi]
push edx
push ecx
lea edx, [esp + 0x48]
push edx
push eax
push ebp
push edi
call fcn.0503f040
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x64]
push str.txCmd.band_param__d_.freq_param__d_.pwr_step_pa_gain__d_
push eax
call ebx
mov eax, dword [esp + 0x68]
mov edx, dword [str.ERf_FHC_Cmd]
lea eax, [eax + eax + 0x48]
movzx ecx, word [eax + esi]
add esp, 0x40
push ecx
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
push ebp
push edi
call fcn.0503f040
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
lea edx, [esp + 0x50]
push str.txCmd.band_param__d_.freq_param__d_.pwr_step_pa_gain_tbl_indx__d_
push edx
call ebx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
add eax, ecx
movzx edx, byte [eax + esi + 0x7e]
mov ecx, dword [str.ERf_FHC_Cmd]
push edx
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x60], eax
add eax, 0x7e
push eax
push ebp
push edi
call fcn.0503f000
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
add esp, 0x44
push eax
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x38]
push str.txCmd.band_param__d_.freq_param__d_.pwr_step_pa_mode__d_
push eax
call ebx
mov eax, dword [esp + 0x3c]
movzx ecx, byte [eax + esi + 0x99]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
lea ecx, [esp + 0x48]
push ecx
add eax, 0x99
push eax
push ebp
push edi
call fcn.0503f000
mov al, byte [esp + 0x3d]
inc al
add esp, 0x2c
mov byte [esp + 0x11], al
cmp al, 0x1b
jb 0x5040f60
mov al, byte [esp + 0x12]
inc al
mov byte [esp + 0x12], al
cmp al, 0x16
jb 0x5040e80
mov al, byte [esp + 0x13]
inc al
mov byte [esp + 0x13], al
cmp al, 0xa
jb 0x5040df0
movzx edx, byte [esi + 0x8ece]
mov eax, dword [str.ERf_FHC_Cmd]
push edx
push eax
push str.rxCmd.tx_to_rx_time
push 0x8ece
push ebp
push edi
call fcn.0503f000
movzx ecx, byte [esi + 0x8ecf]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
push str.rxCmd.band_num
push 0x8ecf
push ebp
push edi
call fcn.0503f000
add esp, 0x30
xor al, al
mov byte [esp + 0x13], al
jmp 0x5041124
mov al, byte [esp + 0x13]
cmp al, byte [esi + 0x8ecf]
jae 0x504139b
movzx eax, al
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x30]
push str.rxCmd.band_param__d_.band_index
push eax
call ebx
mov eax, dword [esp + 0x20]
mov edx, dword [str.ERf_FHC_Cmd]
imul eax, eax, 0x9a2
movzx ecx, byte [eax + esi + 0x8ed0]
push ecx
push edx
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x38], eax
add eax, 0x8ed0
push eax
push ebp
push edi
call fcn.0503f000
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push str.rxCmd.band_param__d_.freq_num
push eax
call ebx
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + esi + 0x8ed1]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
lea ecx, [esp + 0x64]
push ecx
add eax, 0x8ed1
push eax
push ebp
push edi
call fcn.0503f000
add esp, 0x48
xor al, al
mov byte [esp + 0x11], al
jmp 0x50411c4
mov al, byte [esp + 0x11]
mov edx, dword [esp + 0x20]
cmp al, byte [edx + esi + 0x8ed1]
jae 0x5041389
movzx eax, al
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push str.rxCmd.band_param__d_.freq_param__d_.dl_freq
push ecx
call ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
imul edx, edx, 0x70
add eax, edx
movzx ecx, word [eax + esi + 0x8ed2]
mov edx, dword [str.ERf_FHC_Cmd]
push ecx
push edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x38], eax
add eax, 0x8ed2
push eax
push ebp
push edi
call fcn.0503f080
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x5c]
push str.rxCmd.band_param__d_.freq_param__d_.temperature_indx
push ecx
call ebx
mov eax, dword [esp + 0x54]
movzx edx, byte [eax + esi + 0x8ed4]
mov ecx, dword [str.ERf_FHC_Cmd]
push edx
push ecx
lea edx, [esp + 0x6c]
push edx
add eax, 0x8ed4
push eax
push ebp
push edi
call fcn.0503f000
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add esp, 0x50
push eax
push ecx
lea edx, [esp + 0x34]
push str.rxCmd.band_param__d_.freq_param__d_.pwr_step_num
push edx
call ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [str.ERf_FHC_Cmd]
lea ecx, [eax + esi + 0x8ed5]
mov dword [esp + 0x38], ecx
movzx ecx, byte [ecx]
push ecx
push edx
lea ecx, [esp + 0x44]
push ecx
add eax, 0x8ed5
push eax
push ebp
push edi
call fcn.0503f000
add esp, 0x28
xor al, al
mov byte [esp + 0x12], al
jmp 0x50412b4
mov al, byte [esp + 0x12]
mov edx, dword [esp + 0x28]
cmp al, byte [edx]
jae 0x5041377
mov ecx, dword [esp + 0x14]
movzx eax, al
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x38]
push str.rxCmd.band_param__d_.freq_param__d_.gain1__d_
push edx
call ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
imul edx, edx, 0x4d1
add edx, dword [esp + 0x30]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8]
mov edx, dword [str.ERf_FHC_Cmd]
mov dword [esp + 0x38], eax
lea eax, [eax + eax + 0x8ed6]
movzx ecx, word [eax + esi]
push ecx
push edx
lea ecx, [esp + 0x48]
push ecx
push eax
push ebp
push edi
call fcn.0503f040
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
lea edx, [esp + 0x64]
push str.rxCmd.band_param__d_.freq_param__d_.gain2__d_
push edx
call ebx
mov eax, dword [esp + 0x64]
mov edx, dword [str.ERf_FHC_Cmd]
lea eax, [eax + eax + 0x8f0c]
movzx ecx, word [eax + esi]
add esp, 0x40
push ecx
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
push ebp
push edi
call fcn.0503f040
mov al, byte [esp + 0x2a]
inc al
add esp, 0x18
mov byte [esp + 0x12], al
cmp al, 0x1b
jb 0x50412b0
mov al, byte [esp + 0x11]
inc al
mov byte [esp + 0x11], al
cmp al, 0x16
jb 0x50411c0
mov al, byte [esp + 0x13]
inc al
mov byte [esp + 0x13], al
cmp al, 0xa
jb 0x5041120
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0520b902
add esp, 0xa0
ret