Function at 0x4d4ac5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10e8
call fcn.0054cd40
mov dword [ebp - 0x10f4], ecx
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x10c0], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0x1070], 0
mov dword [ebp - 0x1074], 0
mov dword [ebp - 0x10c8], 0
lea ecx, [ebp - 0x24]
call fcn.004013e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004013e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c4]
call fcn.004013e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10f4]
call fcn.004c62af
test eax, eax
je 0x4d4bc9
mov edx, dword [ebp + 0x10]
push edx
push 0x5af320
lea eax, [ebp - 0x24]
push eax
call fcn.0055ea77
add esp, 0xc
jmp 0x4d4c0a
mov ecx, dword [ebp - 0x868]
mov dword [ebp - 0x10ec], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c4]
call fcn.00560ea1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00560ea1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00560ea1
mov eax, dword [ebp - 0x10ec]
jmp 0x4d5094
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bec0
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x107c], 0
push 0x20
push 0
lea ecx, [ebp - 0x10bc]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov dword [ebp - 0x107c], 0
jmp 0x4d4c59
mov edx, dword [ebp - 0x107c]
add edx, 1
mov dword [ebp - 0x107c], edx
cmp dword [ebp - 0x107c], 0x17
jge 0x4d4c9f
mov eax, dword [ebp - 0x107c]
imul eax, eax, 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4764]
cmp edx, dword [eax + 0x5b8460]
jne 0x4d4c9d
mov eax, dword [ebp - 0x107c]
imul eax, eax, 0x14
mov ecx, dword [eax + 0x5b8458]
push ecx
lea edx, [ebp - 0x10bc]
push edx
call fcn.0054bec0
add esp, 8
jmp 0x4d4c9f
jmp 0x4d4c4a
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cl, byte [eax + 5]
push ecx
mov edx, dword [ebp + 0x14]
xor eax, eax
mov al, byte [edx + 4]
push eax
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx + 3]
push edx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp + 0x14]
xor eax, eax
mov al, byte [edx + 1]
push eax
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx]
push edx
push str.Flash__02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0x864]
push eax
call fcn.0054c45b
add esp, 0x20
mov ecx, dword [ebp + 0x10]
push ecx
push 0x800
lea edx, [ebp - 0x106c]
push edx
push 0x5d9734
lea eax, [ebp - 0x864]
push eax
lea ecx, [ebp - 0x10bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4d4d1a
jmp 0x4d5058
lea edx, [ebp - 0x106c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
jne 0x4d4d38
jmp 0x4d503e
mov dword [ebp - 0x86c], 0
push 0x5af344
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x86c], eax
cmp dword [ebp - 0x86c], 0
jne 0x4d4d77
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x844]
push eax
call fcn.0054bec0
add esp, 8
jmp 0x4d4d9a
mov ecx, dword [ebp - 0x86c]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x844]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x844]
push edx
call fcn.0054c3e0
add esp, 4
mov dword [ebp - 0x1070], eax
mov dword [ebp - 0x10], 0
push 0x5af348
lea eax, [ebp - 0x844]
push eax
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d4e9d
push 0x800
push 0
lea ecx, [ebp - 0x824]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push 0x800
lea eax, [ebp - 0x824]
push eax
push 0x5d9738
lea ecx, [ebp - 0x844]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4d4e2d
mov edx, dword [ebp - 0x86c]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4d5031
mov eax, dword [ebp - 0x14]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
jne 0x4d4e4e
mov ecx, dword [ebp - 0x86c]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d5031
lea edx, [ebp - 0x824]
push edx
call fcn.0054c3e0
add esp, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax + 1]
cmp edx, dword [ebp + 0x1c]
jge 0x4d4e98
lea eax, [ebp - 0x824]
push eax
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x1c]
push ecx
call fcn.0054bed0
add esp, 8
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x1c]
push edx
call fcn.0054c3e0
add esp, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1c], edx
jmp 0x4d501a
push 0x20
push 0
lea eax, [ebp - 0x10e8]
push eax
call fcn.0054bfb0
add esp, 0xc
push 0x20
push 0
lea ecx, [ebp - 0x109c]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x10e8]
push eax
call fcn.0054bec0
add esp, 8
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
lea edx, [ebp - 0x109c]
push edx
call fcn.0054bec0
add esp, 8
lea eax, [ebp - 0x1074]
push eax
push 0x5af34c
lea ecx, [ebp - 0x10e8]
push ecx
call fcn.0054c6fc
add esp, 0xc
lea edx, [ebp - 0x10c8]
push edx
push 0x5af350
lea eax, [ebp - 0x109c]
push eax
call fcn.0054c6fc
add esp, 0xc
mov ecx, dword [ebp - 0x1074]
mov dword [ebp - 0x107c], ecx
jmp 0x4d4f3f
mov edx, dword [ebp - 0x107c]
add edx, 1
mov dword [ebp - 0x107c], edx
mov eax, dword [ebp - 0x107c]
cmp eax, dword [ebp - 0x10c8]
jg 0x4d501a
mov ecx, dword [ebp - 0x107c]
push ecx
push 0x5af354
lea edx, [ebp - 0x844]
push edx
call fcn.0054c45b
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x824]
push eax
call fcn.0054bfb0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push 0x800
lea edx, [ebp - 0x824]
push edx
push 0x5d973c
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4d4fb6
jmp 0x4d4f30
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0054c3e0
add esp, 4
test eax, eax
jne 0x4d4fcb
jmp 0x4d4f30
lea edx, [ebp - 0x824]
push edx
call fcn.0054c3e0
add esp, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax + 1]
cmp edx, dword [ebp + 0x1c]
jge 0x4d5015
lea eax, [ebp - 0x824]
push eax
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x1c]
push ecx
call fcn.0054bed0
add esp, 8
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x1c]
push edx
call fcn.0054c3e0
add esp, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1c], edx
jmp 0x4d4f30
cmp dword [ebp - 0x86c], 0
jne 0x4d5025
jmp 0x4d503e
mov eax, dword [ebp - 0x86c]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, 1
test ecx, ecx
jne 0x4d4d23
mov edx, dword [ebp + 0x18]
push edx
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x4d5058
mov dword [ebp - 0x868], 1
mov eax, dword [ebp - 0x868]
mov dword [ebp - 0x10f0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c4]
call fcn.00560ea1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00560ea1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00560ea1
mov eax, dword [ebp - 0x10f0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18