Function at 0x4be04dff
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov word [ebp - 0xe], 0x7f
xor ecx, ecx
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1a], 0x7f
xor edx, edx
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov word [ebp - 0x26], 0x7f
xor eax, eax
mov dword [ebp - 0x2c], eax
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x36], 0x7f
xor edx, edx
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
test ebx, ebx
je 0x4be04e60
mov word [ebp - 0x42], 0x2702
push 0x10
call sym.idapi32.dll__OsMalloc
pop ecx
mov ebx, eax
test eax, eax
jne 0x4be04e79
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
push 0x10
push ebx
call fcn.4be25c7f
push 0x7f
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4be04e9b
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
push 0x7f
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4be04eb5
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
push 0x7f
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4be04ecf
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
movsx edx, word [ebp - 0xe]
push edx
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4be04eec
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
movsx edx, word [ebp - 0x1a]
push edx
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4be04f09
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
movsx edx, word [ebp - 0x26]
push edx
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4be04f26
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
mov word [ebx + 4], 0
mov word [ebx + 0xa], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x30], edx
xor esi, esi
push 0x4be53c7e
call fcn.4be41d2c
pop ecx
inc eax
push eax
call sym.idapi32.dll__OsMalloc
pop ecx
mov edi, eax
test eax, eax
jne 0x4be04f5e
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
push 0x4be53c97
push edi
call fcn.4be41cfc
add esp, 8
push 0x4be53cb0
call fcn.4be41d2c
pop ecx
inc eax
push eax
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4be04f91
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
push 0x4be53cb9
push dword [ebp - 0x34]
call fcn.4be41cfc
add esp, 8
push 0x7f
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4be04fbb
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
push 0x7f
call sym.idapi32.dll__OsMalloc
pop ecx
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4be04fd5
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
push 0x7f
call sym.idapi32.dll__OsMalloc
pop ecx
mov esi, eax
test eax, eax
jne 0x4be04fee
mov word [ebp - 0x42], 0x2501
jmp 0x4be05162
lea edx, [ebp - 0x48]
push edx
push 0
push 0x4be53cc2
call sym.idapi32.dll_OsLoadDll
test ax, ax
je 0x4be0500e
mov word [ebp - 0x42], 0
jmp 0x4be05162
cmp dword [ebp - 0x48], 0
je 0x4be0501c
push dword [ebp - 0x48]
call sym.idapi32.dll_OsFreeDll
lea ecx, [ebp - 4]
push ecx
call fcn.4be403a5
test ax, ax
je 0x4be05035
mov word [ebp - 0x42], 0
jmp 0x4be05162
mov word [ebp - 6], 2
push dword [ebp - 0x20]
mov ax, word [ebp - 0x1a]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
mov dx, word [ebp - 0xe]
push edx
push dword [ebp - 0xc]
mov cx, word [ebp - 6]
push ecx
push dword [ebp - 4]
call fcn.4be40369
cmp ax, 0x64
jne 0x4be0506f
mov word [ebp - 0x42], 0
jmp 0x4be0510f
mov dword [ebx], 1
mov word [ebp - 6], 1
push 0x4be53ccd
push esi
call fcn.4be41cfc
add esp, 8
push dword [ebp - 0x34]
movsx eax, word [ebp - 0x36]
push eax
push dword [ebp - 0x3c]
push edi
push esi
push dword [ebp - 0x30]
call sub.KERNEL32.dll_GetPrivateProfileStringA
push edi
push dword [ebp - 0x3c]
call fcn.4be41cd0
add esp, 8
test eax, eax
jne 0x4be050b4
mov edx, dword [ebp - 0x3c]
mov byte [edx], 0
push 0x4be53cd5
push esi
call fcn.4be41cfc
add esp, 8
push dword [ebp - 0x34]
movsx ecx, word [ebp - 0x36]
push ecx
push dword [ebp - 0x40]
push edi
push esi
push dword [ebp - 0x30]
call sub.KERNEL32.dll_GetPrivateProfileStringA
push edi
push dword [ebp - 0x40]
call fcn.4be41cd0
add esp, 8
test eax, eax
jne 0x4be050ed
mov eax, dword [ebp - 0x40]
mov byte [eax], 0
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push ebx
push dword [ebp + 8]
call fcn.4be040e6
test ax, ax
jne 0x4be05162
jmp 0x4be0503b
mov word [ebp - 6], 2
push dword [ebp - 0x2c]
mov dx, word [ebp - 0x26]
push edx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov cx, word [ebp - 0x1a]
push ecx
push dword [ebp - 0x18]
mov ax, word [ebp - 6]
push eax
push dword [ebp - 4]
call fcn.4be4034b
cmp ax, 0x64
jne 0x4be05146
mov word [ebp - 0x42], 0
jmp 0x4be05162
mov word [ebp - 6], 1
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call fcn.4be03d3a
test ax, ax
jne 0x4be05162
jmp 0x4be05115
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [edx], ecx
test ebx, ebx
je 0x4be05192
cmp dword [ebx + 6], 0
je 0x4be0517c
push dword [ebx + 6]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebx + 0xc], 0
je 0x4be0518b
push dword [ebx + 0xc]
call sym.idapi32.dll__OsFree
pop ecx
push ebx
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x14], 0
je 0x4be051a1
push dword [ebp - 0x14]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x20], 0
je 0x4be051b0
push dword [ebp - 0x20]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x2c], 0
je 0x4be051bf
push dword [ebp - 0x2c]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0xc], 0
je 0x4be051ce
push dword [ebp - 0xc]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x18], 0
je 0x4be051dd
push dword [ebp - 0x18]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x24], 0
je 0x4be051ec
push dword [ebp - 0x24]
call sym.idapi32.dll__OsFree
pop ecx
test edi, edi
je 0x4be051f7
push edi
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x34], 0
je 0x4be05206
push dword [ebp - 0x34]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x40], 0
je 0x4be05215
push dword [ebp - 0x40]
call sym.idapi32.dll__OsFree
pop ecx
test esi, esi
je 0x4be05220
push esi
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x4be0522f
push dword [ebp - 0x3c]
call sym.idapi32.dll__OsFree
pop ecx
cmp dword [ebp - 4], 0
je 0x4be0523d
push dword [ebp - 4]
call fcn.4be4031b
mov ax, word [ebp - 0x42]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc