Function at 0x421770
Capabilities:
Create directory
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x486cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4cdd70]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x23a4]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x18], 0
test eax, eax
push 0x4d2100
je 0x4217d8
push 0x251c
push str.CAL_ARFCN19G
push str.TD_APC
call edi
test eax, eax
jne 0x4217e9
push 0x4d2100
push str.9500
jmp 0x4217dd
push 0x4ca52c
push str.CAL_ARFCN19G
push str.TD_APC
call esi
mov eax, dword [ebx + 0x23a0]
push 0x4d2100
test eax, eax
je 0x421819
push 0x251c
push str.CAL_ARFCN19G
push str.TD_AGC
call edi
test eax, eax
jne 0x42182a
push 0x4d2100
push str.9500
jmp 0x42181e
push 0x4ca52c
push str.CAL_ARFCN19G
push str.TD_AGC
call esi
mov eax, dword [ebx + 0x1e14]
push 0x4d2100
test eax, eax
je 0x42185a
push 0x2767
push str.CAL_ARFCN2G
push str.TD_APC
call edi
test eax, eax
jne 0x42186b
push 0x4d2100
push str.10087
jmp 0x42185f
push 0x4ca52c
push str.CAL_ARFCN2G
push str.TD_APC
call esi
mov eax, dword [ebx + 0x1e10]
push 0x4d2100
test eax, eax
je 0x42189b
push 0x2767
push str.CAL_ARFCN2G
push str.TD_AGC
call edi
test eax, eax
jne 0x4218ac
push 0x4d2100
push str.10087
jmp 0x4218a0
push 0x4ca52c
push str.CAL_ARFCN2G
push str.TD_AGC
call esi
mov eax, dword [ebx + 0x1e10]
test eax, eax
je 0x4218dc
mov ecx, dword [ebx + 0x23a0]
test ecx, ecx
jne 0x4218d8
push 0x4d2100
push 0x4ca50c
push str.CAL_AGC
push str.TD_FDT
call esi
jmp 0x42191e
test eax, eax
jne 0x4218fe
mov eax, dword [ebx + 0x23a0]
test eax, eax
jne 0x4218fe
push 0x4d2100
push 0x4ca52c
push str.CAL_AGC
push str.TD_FDT
call esi
jmp 0x42191e
push 0x4d2100
push 0x4ca4f4
push str.CAL_AGC
push str.TD_FDT
call esi
mov dword [ebx + 0x1e10], 1
mov eax, dword [ebx + 0x1e14]
test eax, eax
mov eax, dword [ebx + 0x23a4]
jne 0x42194a
test eax, eax
jne 0x421966
push 0x4d2100
push 0x4ca52c
push str.Arfcn_Num
push str.TD_FDT
call esi
jmp 0x421986
test eax, eax
jne 0x421966
push 0x4d2100
push 0x4ca50c
push str.Arfcn_Num
push str.TD_FDT
call esi
jmp 0x421986
push 0x4d2100
push 0x4ca4f4
push str.Arfcn_Num
push str.TD_FDT
call esi
mov dword [ebx + 0x1e14], 1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x421ab7
mov eax, dword [ebx + 0x1a6c]
mov dword [ebx + 0x2338], 1
cmp eax, 8
je 0x421a5b
cmp eax, 0xa
je 0x421a5b
push str.GuiCfg
push 0x4c9684
push 0x4d2204
lea ecx, [esp + 0x18]
cmp eax, 9
push str._s_s_s
push ecx
jne 0x421a18
call fcn.00461dbf
mov edx, dword [esp + 0x20]
add esp, 0x14
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x4c96cc
lea ecx, [esp + 0x10]
call fcn.00469620
lea eax, [ebx + 0x1267c]
lea ecx, [esp + 0xc]
push eax
call fcn.0046965c
push str..AntNonsignal
lea ecx, [esp + 0x10]
call fcn.00469620
jmp 0x421ac5
call fcn.00461dbf
mov edx, dword [esp + 0x20]
add esp, 0x14
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x4c96cc
lea ecx, [esp + 0x10]
call fcn.00469620
lea eax, [ebx + 0x1267c]
lea ecx, [esp + 0xc]
push eax
call fcn.0046965c
push str..cfg
lea ecx, [esp + 0x10]
call fcn.00469620
jmp 0x421ac5
push str.GuiCfg
push 0x4c9684
push 0x4d2204
lea ecx, [esp + 0x18]
push str._s_s_s
push ecx
call fcn.00461dbf
mov edx, dword [esp + 0x20]
add esp, 0x14
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x4c96cc
lea ecx, [esp + 0x10]
call fcn.00469620
lea eax, [ebx + 0x1267c]
lea ecx, [esp + 0xc]
push eax
call fcn.0046965c
push str..ant
lea ecx, [esp + 0x10]
call fcn.00469620
jmp 0x421ac5
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
call fcn.004693cd
mov edx, dword [esp + 0xc]
push 0x4ca4cc
push edx
call fcn.00452205
lea edx, [ebx + 0x36a0]
mov esi, eax
mov ecx, 0x41
xor eax, eax
mov edi, edx
push 0x104
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1265c]
push eax
push edx
call fcn.00452030
add esp, 0x14
test esi, esi
je 0x421b57
push esi
lea ecx, [ebx + 0x53f4]
call fcn.004136c0
push esi
lea ecx, [ebx + 0x120b4]
call fcn.004138a0
push esi
lea ecx, [ebx + 0x1a6c]
call fcn.00413210
push esi
call fcn.00452157
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.00469244
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.00469244
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8