Function at 0x404da0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x416fc6
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
push ebx
push esi
call fcn.00404040
mov esi, dword [esp + 0x1f0]
cmp esi, eax
jae 0x404de1
push esi
call fcn.004046e0
mov ebx, dword [esp + 0x1f8]
add esp, 4
cmp ebx, eax
jb 0x404dfa
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
add esp, 0x1e4
ret
push ebp
push edi
mov ebp, 0x10
xor eax, eax
mov ecx, ebp
lea edi, [esp + 0xa4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xe4]
push 0x104
push eax
call fcn.00403f90
add esp, 8
test al, al
je 0x40502a
lea edi, [esp + 0xe4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404e33
mov ecx, dword [str.loading_ad_ad.ini]
mov edx, dword [0x4188b4]
mov eax, dword [0x4188b8]
mov dword [edi], ecx
mov ecx, dword [0x4188bc]
mov dword [edi + 4], edx
mov dx, word [0x4188c0]
mov dword [edi + 8], eax
mov al, byte [0x4188c2]
push ebx
mov dword [edi + 0xc], ecx
push str.width_u
lea ecx, [esp + 0x54]
mov word [edi + 0x10], dx
push 0x1f
push ecx
mov byte [edi + 0x12], al
call fcn.0040cafb
lea edx, [esp + 0x7c]
push esi
push edx
call fcn.0040aa00
push eax
lea eax, [esp + 0x30]
push str.FlashGroup
xor edi, edi
push eax
mov dword [esp + 0x214], edi
call fcn.004016f0
mov ecx, dword [eax + 0x18]
add esp, 0x24
cmp ecx, ebp
jb 0x404eb5
mov eax, dword [eax + 4]
jmp 0x404eb8
add eax, 4
lea ecx, [esp + 0xe4]
push ecx
push 0x40
lea edx, [esp + 0xac]
push edx
push edi
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x2c]
setne byte [esp + 0x13]
cmp eax, ebp
jb 0x404ef3
mov edx, dword [esp + 0x18]
push edx
call fcn.0040c618
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
mov dword [esp + 0x1f0], 0xffffffff
jb 0x404f25
mov eax, dword [esp + 0x70]
push eax
call fcn.0040c618
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x40502a
lea ecx, [esp + 0xa4]
push ecx
call fcn.0040caf6
mov edx, dword [esp + 0x204]
mov dword [edx], eax
push ebx
xor eax, eax
mov ecx, ebp
lea edi, [esp + 0xac]
push str.height_u
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push 0x1f
push eax
call fcn.0040cafb
lea ecx, [esp + 0x9c]
push esi
push ecx
call fcn.0040aa00
push eax
lea edx, [esp + 0x50]
push str.FlashGroup
push edx
mov dword [esp + 0x218], 1
call fcn.004016f0
mov ecx, dword [eax + 0x18]
add esp, 0x28
cmp ecx, ebp
jb 0x404f9e
mov eax, dword [eax + 4]
jmp 0x404fa1
add eax, 4
lea ecx, [esp + 0xe4]
push ecx
push 0x40
lea edx, [esp + 0xac]
push edx
push 0
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x48]
setne bl
cmp eax, ebp
jb 0x404fdb
mov edx, dword [esp + 0x34]
push edx
call fcn.0040c618
add esp, 4
cmp dword [esp + 0xa0], ebp
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
jb 0x405009
mov eax, dword [esp + 0x8c]
push eax
call fcn.0040c618
add esp, 4
test bl, bl
je 0x40502a
lea ecx, [esp + 0xa4]
push ecx
call fcn.0040caf6
mov edx, dword [esp + 0x208]
mov dword [edx], eax
add esp, 4
mov al, 1
jmp 0x40502c
xor al, al
mov ecx, dword [esp + 0x1e8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1e4
ret