Function at 0x404b30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41700c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
push ebx
push esi
push edi
call fcn.004040b0
mov esi, dword [ebp + 8]
cmp esi, eax
jae 0x404d2e
push esi
call fcn.00404750
mov ebx, dword [ebp + 0xc]
add esp, 4
cmp ebx, eax
jae 0x404d2e
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x1c0]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ecx, 0x41
lea edi, [esp + 0x2c8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb8]
push 0x104
push ecx
mov dword [esp + 0x30], eax
call fcn.00404000
add esp, 8
test al, al
je 0x404d2e
lea edi, [esp + 0xb8]
dec edi
jmp 0x404be0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404be0
mov edx, dword [str.loading_ad_ad.ini]
mov eax, dword [0x4188b4]
mov ecx, dword [0x4188b8]
mov dword [edi], edx
mov edx, dword [0x4188bc]
mov dword [edi + 4], eax
mov ax, word [0x4188c0]
mov dword [edi + 8], ecx
mov cl, byte [0x4188c2]
push ebx
mov dword [edi + 0xc], edx
push str.file_d
lea edx, [esp + 0x14]
mov word [edi + 0x10], ax
push 0x1f
push edx
mov byte [edi + 0x12], cl
call fcn.0040cb6b
lea eax, [esp + 0x74]
push esi
push eax
call fcn.0040aa70
push eax
lea ecx, [esp + 0x64]
push str.FlashGroup
xor edi, edi
push ecx
mov dword [esp + 0x400], edi
call fcn.004019f0
mov ecx, dword [eax + 0x18]
mov esi, 0x10
add esp, 0x24
cmp ecx, esi
jb 0x404c67
mov eax, dword [eax + 4]
jmp 0x404c6a
add eax, 4
lea edx, [esp + 0xb8]
push edx
push 0x104
lea ecx, [esp + 0x2d0]
push ecx
push edi
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
mov eax, dword [esp + 0x60]
neg ebx
sbb bl, bl
inc bl
cmp eax, esi
jb 0x404ca9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0040c688
add esp, 4
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], edi
mov byte [esp + 0x4c], 0
mov dword [esp + 0x3dc], 0xffffffff
jb 0x404cd8
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0040c688
add esp, 4
test bl, bl
jne 0x404d2e
lea edx, [esp + 0xb8]
push 0x104
push edx
call fcn.00404000
lea eax, [esp + 0x2d0]
push eax
lea ecx, [esp + 0xc4]
push ecx
push str._sloading_ad_s
lea edx, [esp + 0x1d4]
push 0x103
push edx
call fcn.0040cb6b
lea eax, [esp + 0x1dc]
push 0x418920
push eax
call fcn.0040cc42
add esp, 0x24
cmp eax, edi
jne 0x404d45
xor al, al
mov ecx, dword [esp + 0x3d4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.0040cbc2
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], edi
mov byte [esp + 0x34], 0
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x3e4], 1
call fcn.00404510
mov esi, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0x1c0]
push edx
mov ecx, esi
call fcn.00401980
push str._ver
lea eax, [esp + 0x84]
push esi
push eax
call fcn.004043c0
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x3f4], 2
call fcn.00404470
add esp, 0x18
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov byte [esp + 0x3e8], 3
call fcn.00401770
lea ecx, [esp + 0x9c]
call fcn.00401650
lea ecx, [esp + 0x80]
call fcn.00401650
lea ecx, [esp + 0x2c]
call fcn.00401650
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret