Function at 0x5041f80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xac
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0xa8], eax
mov ecx, dword [str.ERf_FHC_Cmd_CaMode]
push ebx
mov ebx, dword [esp + 0xbc]
movzx eax, byte [ebx]
push ebp
push esi
mov esi, dword [esp + 0xbc]
push edi
mov edi, dword [esp + 0xc4]
push eax
push ecx
push str.fdd_to_tdd_switch_time
push 0
push edi
push esi
call fcn.0503f000
movzx edx, byte [ebx + 1]
mov eax, dword [str.ERf_FHC_Cmd_CaMode]
push edx
push eax
push str.fdd_tx_rx_switch_time
push 1
push edi
push esi
call fcn.0503f000
movzx ecx, byte [ebx + 2]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
push edx
push str.tdd_tx_rx_switch_time
push 2
push edi
push esi
call fcn.0503f000
movzx eax, byte [ebx + 3]
mov ecx, dword [str.ERf_FHC_Cmd_CaMode]
add esp, 0x48
push eax
push ecx
push str.freq_switch_time
push 3
push edi
push esi
call fcn.0503f000
movzx edx, byte [ebx + 4]
mov eax, dword [str.ERf_FHC_Cmd_CaMode]
push edx
push eax
push str.band_switch_time
push 4
push edi
push esi
call fcn.0503f000
movzx ecx, byte [ebx + 5]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
push edx
push str.step_time
push 5
push edi
push esi
call fcn.0503f000
movzx eax, byte [ebx + 7]
mov ecx, dword [str.ERf_FHC_Cmd_CaMode]
add esp, 0x48
push eax
push ecx
push str.txCmd.pwr_step_num
push 7
push edi
push esi
call fcn.0503f000
movzx edx, byte [ebx + 6]
mov eax, dword [str.ERf_FHC_Cmd_CaMode]
push edx
push eax
push str.txCmd.band_num
push 6
push edi
push esi
call fcn.0503f000
mov ebp, dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x30
xor al, al
mov byte [esp + 0x12], al
jmp 0x5042094
mov al, byte [esp + 0x12]
cmp al, byte [ebx + 6]
jae 0x5042298
movzx ebx, al
push ebx
lea ecx, [esp + 0x3c]
push str.txCmd.band_param__d_.band_index
push ecx
call ebp
mov edx, dword [esp + 0xd4]
mov eax, ebx
imul eax, eax, 0x58
movzx ecx, byte [eax + edx + 8]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
push edx
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x34], eax
add eax, 8
push eax
push edi
push esi
call fcn.0503f000
push ebx
lea edx, [esp + 0x60]
push str.txCmd.band_param__d_.freq_num
push edx
call ebp
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xf8]
movzx edx, byte [eax + ecx + 9]
lea ecx, [eax + ecx + 9]
push edx
mov dword [esp + 0x64], ecx
mov ecx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
lea edx, [esp + 0x70]
push edx
add eax, 9
push eax
push edi
push esi
call fcn.0503f000
add esp, 0x48
xor al, al
mov byte [esp + 0x13], al
jmp 0x5042126
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc8]
cmp al, byte [ecx + 7]
jae 0x5042211
movzx eax, al
push eax
push ebx
lea edx, [esp + 0x40]
push str.txCmd.band_param__d_.pwr_step_pa_mode__d_
push edx
mov dword [esp + 0x24], eax
call ebp
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xd8]
add eax, ecx
movzx ecx, byte [eax + edx + 0x28]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
push edx
lea ecx, [esp + 0x50]
push ecx
add eax, 0x28
push eax
push edi
push esi
call fcn.0503f000
mov edx, dword [esp + 0x3c]
push edx
push ebx
lea eax, [esp + 0x68]
push str.txCmd.band_param__d_.pwr_step_value__d_
push eax
call ebp
mov edx, dword [esp + 0x4c]
mov ecx, ebx
imul ecx, ecx, 0x2c
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x60], eax
lea eax, [eax + eax + 0x34]
movzx edx, word [eax + ecx]
mov ecx, dword [str.ERf_FHC_Cmd_CaMode]
push edx
push ecx
lea edx, [esp + 0x78]
push edx
push eax
push edi
push esi
call fcn.0503f040
mov eax, dword [esp + 0x64]
add esp, 0x50
push eax
push ebx
lea ecx, [esp + 0x40]
push str.txCmd.band_param__d_.pwr_step_pa_gain__d_
push ecx
call ebp
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xd8]
lea eax, [eax + eax + 0x4a]
movzx ecx, word [eax + edx]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
push edi
push esi
call fcn.0503f040
mov al, byte [esp + 0x3b]
inc al
add esp, 0x28
mov byte [esp + 0x13], al
cmp al, 0xb
jb 0x5042122
xor al, al
mov byte [esp + 0x13], al
jmp 0x5042224
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x30]
cmp al, byte [edx]
jae 0x504227f
movzx eax, al
push eax
push ebx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x40]
push str.txCmd.band_param__d_.ul_freq__d_
push eax
call ebp
mov edx, dword [esp + 0xd8]
mov ecx, ebx
imul ecx, ecx, 0x2c
add ecx, dword [esp + 0x38]
lea eax, [ecx + ecx + 0xa]
movzx ecx, word [eax + edx]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
push edi
push esi
call fcn.0503f080
mov al, byte [esp + 0x3b]
inc al
add esp, 0x28
mov byte [esp + 0x13], al
cmp al, 0xf
jb 0x5042220
mov al, byte [esp + 0x12]
mov ebx, dword [esp + 0xc8]
inc al
mov byte [esp + 0x12], al
cmp al, 0xa
jb 0x5042090
movzx edx, byte [ebx + 0x740]
mov eax, dword [str.ERf_FHC_Cmd_CaMode]
push edx
push eax
push str.rxCmd.band_num
push 0x740
push edi
push esi
call fcn.0503f000
mov eax, 0xfffffff2
add esp, 0x18
sub eax, ebx
mov dword [esp + 0x28], eax
mov eax, 0x750
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
jmp 0x50422eb
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
add ebx, eax
mov dword [esp + 0x1c], 7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x40]
push str.rxCmd.t1_band__d_.gain_rxm__d_
push eax
call ebp
movzx ecx, word [ebx - 0xe]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
push eax
add ecx, ebx
push ecx
push edi
push esi
call fcn.0503f040
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x68]
push str.rxCmd.t1_band__d_.gain_rxd__d_
push ecx
call ebp
movzx edx, word [ebx]
mov eax, dword [str.ERf_FHC_Cmd_CaMode]
push edx
mov edx, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
push ecx
push edx
push edi
push esi
call fcn.0503f040
add dword [esp + 0x70], 2
mov eax, 1
add dword [esp + 0x64], eax
add esp, 0x50
add ebx, 2
sub dword [esp + 0x1c], eax
jne 0x5042301
add dword [esp + 0x18], eax
add dword [esp + 0x24], 0x1c
sub dword [esp + 0x2c], eax
jne 0x50422e0
mov eax, 0xffffff70
sub eax, dword [esp + 0xc8]
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], eax
mov ebx, 0x826
mov dword [esp + 0x28], 2
lea esp, [esp]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], 6
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
add ebx, eax
mov dword [esp + 0x2c], 6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push str.rxCmd.t2_band.gain_rxm__d___d___d_
push ecx
call ebp
movzx edx, word [ebx - 0x90]
mov eax, dword [str.ERf_FHC_Cmd_CaMode]
push edx
mov edx, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x54]
push ecx
add edx, ebx
push edx
push edi
push esi
call fcn.0503f040
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
lea eax, [esp + 0x70]
push str.rxCmd.t2_band.gain_rxd__d___d___d_
push eax
call ebp
movzx ecx, word [ebx]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
add esp, 0x40
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
push ecx
push edi
push esi
call fcn.0503f040
add dword [esp + 0x34], 2
mov eax, 1
add dword [esp + 0x30], eax
add esp, 0x18
add ebx, 2
sub dword [esp + 0x2c], eax
jne 0x50423f1
add dword [esp + 0x20], 0xc
add dword [esp + 0x14], eax
sub dword [esp + 0x30], eax
mov ebx, dword [esp + 0x20]
jne 0x50423d4
add dword [esp + 0x24], eax
sub dword [esp + 0x28], eax
jne 0x50423c0
xor al, al
mov byte [esp + 0x12], al
jmp 0x50424b6
mov al, byte [esp + 0x12]
mov edx, dword [esp + 0xc8]
cmp al, byte [edx + 0x740]
jae 0x5042608
movzx ebx, al
push ebx
lea eax, [esp + 0x3c]
push str.rxCmd.band_param__d_.band_index
push eax
mov dword [esp + 0x20], ebx
call ebp
mov ecx, dword [esp + 0xd4]
mov eax, dword [str.ERf_FHC_Cmd_CaMode]
shl ebx, 4
add ebx, dword [esp + 0x20]
add ebx, ebx
movzx edx, byte [ebx + ecx + 0x8b6]
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [ebx + 0x8b6]
push edx
push edi
push esi
call fcn.0503f000
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
push str.rxCmd.band_param__d_.ca_category
push ecx
call ebp
mov edx, dword [esp + 0xf8]
movzx eax, byte [ebx + edx + 0x8b7]
mov ecx, dword [str.ERf_FHC_Cmd_CaMode]
push eax
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [ebx + 0x8b7]
push eax
push edi
push esi
call fcn.0503f000
mov ecx, dword [esp + 0x5c]
add esp, 0x48
push ecx
lea edx, [esp + 0x3c]
push str.rxCmd.band_param__d_.freq_num
push edx
call ebp
mov eax, dword [esp + 0xd4]
movzx ecx, byte [ebx + eax + 0x8b8]
mov edx, dword [str.ERf_FHC_Cmd_CaMode]
lea eax, [ebx + eax + 0x8b8]
push ecx
push edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
add ebx, 0x8b8
push ebx
push edi
push esi
call fcn.0503f000
add esp, 0x24
xor bl, bl
mov ecx, dword [esp + 0x34]
cmp bl, byte [ecx]
jae 0x50425f6
mov edx, dword [esp + 0x14]
movzx eax, bl
push eax
push edx
lea eax, [esp + 0x40]
push str.rxCmd.band_param__d_.dl_freq__d_
push eax
call ebp
mov ecx, dword [esp + 0x24]
mov edx, ecx
shl edx, 4
movzx eax, bl
add edx, eax
add edx, ecx
mov ecx, dword [esp + 0xd8]
lea eax, [edx + edx + 0x8ba]
movzx edx, word [eax + ecx]
mov ecx, dword [str.ERf_FHC_Cmd_CaMode]
push edx
push ecx
lea edx, [esp + 0x50]
push edx
push eax
push edi
push esi
call fcn.0503f080
inc bl
add esp, 0x28
cmp bl, 0xf
jb 0x5042598
mov al, byte [esp + 0x12]
inc al
mov byte [esp + 0x12], al
cmp al, 0xa
jb 0x50424b2
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0520b902
add esp, 0xac
ret