Function at 0x404ac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x416f9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
push ebx
push esi
push edi
call fcn.00404040
mov esi, dword [ebp + 8]
cmp esi, eax
jae 0x404cbe
push esi
call fcn.004046e0
mov ebx, dword [ebp + 0xc]
add esp, 4
cmp ebx, eax
jae 0x404cbe
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.00403f90
add esp, 8
test al, al
je 0x404cbe
lea edi, [esp + 0xb8]
dec edi
jmp 0x404b70
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404b70
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.0040cafb
lea eax, [esp + 0x74]
push esi
push eax
call fcn.0040aa00
push eax
lea ecx, [esp + 0x64]
push str.FlashGroup
xor edi, edi
push ecx
mov dword [esp + 0x400], edi
call fcn.004016f0
mov ecx, dword [eax + 0x18]
mov esi, 0x10
add esp, 0x24
cmp ecx, esi
jb 0x404bf7
mov eax, dword [eax + 4]
jmp 0x404bfa
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 0x404c39
mov eax, dword [esp + 0x4c]
push eax
call fcn.0040c618
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 0x404c68
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0040c618
add esp, 4
test bl, bl
jne 0x404cbe
lea edx, [esp + 0xb8]
push 0x104
push edx
call fcn.00403f90
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.0040cafb
lea eax, [esp + 0x1dc]
push 0x418920
push eax
call fcn.0040cbd2
add esp, 0x24
cmp eax, edi
jne 0x404cd5
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.0040cb52
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.004044a0
mov esi, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0x1c0]
push edx
mov ecx, esi
call fcn.00401680
push str._ver
lea eax, [esp + 0x84]
push esi
push eax
call fcn.00404350
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x3f4], 2
call fcn.00404400
add esp, 0x18
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov byte [esp + 0x3e8], 3
call fcn.00401470
lea ecx, [esp + 0x9c]
call fcn.00401350
lea ecx, [esp + 0x80]
call fcn.00401350
lea ecx, [esp + 0x2c]
call fcn.00401350
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