Function at 0x47f930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49862d
mov eax, dword fs:[0]
push eax
mov eax, 0x10c8
call fcn.0048dd70
mov eax, dword [0x4be4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10d0], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push eax
mov dword [ebp - 0x10c0], eax
lea eax, [ebp - 0x1088]
push eax
mov dword [ebp - 0x10d4], edi
mov dword [ebp - 0x10cc], ebx
mov byte [ebp - 0x10b9], 1
call fcn.0047b080
lea eax, [ebp - 0x1088]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0047d600
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.0047adf0
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
cmp dword [esi + 0x28], 0
je 0x47fcd7
cmp byte [esi + 0x38], 0
je 0x47fbdb
push dword [ebp - 0x10c0]
lea ecx, [ebp - 0x1040]
call fcn.004016c0
cmp dword [ebp - 0x102c], 8
lea eax, [ebp - 0x1040]
mov edx, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1040]
cmovae eax, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c4], eax
lea edi, [ebp - 0x1040]
mov eax, dword [ebp - 0x1030]
cmovae ecx, edx
cmovae edi, edx
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x47fa70
mov esi, dword [ebp - 0x10c4]
mov ebx, eax
sub esi, edi
movzx eax, word [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, ebx
jne 0x47fa52
mov ebx, dword [ebp - 0x10cc]
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.0047b080
push eax
lea eax, [ebp - 0x10a0]
mov byte [ebp - 4], 4
push eax
call fcn.0047d600
push eax
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 5
push eax
call fcn.0047adf0
add esp, 0x18
lea ecx, [ebp - 0x10a0]
call fcn.00403770
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 8
call fcn.00403770
mov esi, dword [ebp - 0x10d0]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x47fad3
mov eax, dword [eax]
cmp dword [ebp - 0x1044], 8
lea ecx, [ebp - 0x1058]
mov edx, ebx
cmovae ecx, dword [ebp - 0x1058]
cmp dword [ebx + 0x14], 8
jb 0x47faf1
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x49b864
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47fb14
mov edi, dword [ebp - 0x10d4]
lea eax, [ebp - 0x1010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402680
mov edx, dword [ebp - 0x1044]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x47fb78
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fb6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fbcb
push edx
push ecx
call fcn.0048c947
add esp, 8
mov edx, dword [ebp - 0x102c]
xor eax, eax
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x47fbdb
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fbd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47fbd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x47fc51
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x47fbed
mov eax, dword [eax]
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
mov edx, ebx
cmovae ecx, dword [ebp - 0x1028]
cmp dword [ebx + 0x14], 8
jb 0x47fc0b
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x49b864
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47fc30
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402680
mov eax, dword [edi + 0x10]
mov byte [ebp - 0x10b9], 1
test eax, eax
jne 0x47fcd7
mov byte [ebp - 0x10b9], 1
cmp byte [esi + 0x38], al
jne 0x47fcd7
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x47fc77
mov eax, dword [eax]
mov edx, dword [ebp - 0x10c0]
cmp dword [edx + 0x14], 8
jb 0x47fc85
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x47fc8f
mov ecx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x49b864
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47fcb2
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402680
mov byte [ebp - 0x10b9], 0
cmp dword [edi + 0x10], 0
jne 0x47fd52
cmp dword [esi + 0x10], 0
je 0x47fd52
cmp dword [esi + 0x14], 8
jb 0x47fcef
mov esi, dword [esi]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
cmp dword [ebx + 0x14], 8
jb 0x47fd0b
mov ebx, dword [ebx]
push esi
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x49b864
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1010]
lea ecx, [edx + 2]
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x47fd30
sub edx, ecx
lea eax, [ebp - 0x1010]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00402680
mov bl, 1
jmp 0x47fd58
mov bl, byte [ebp - 0x10b9]
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x47fd98
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47fd8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fe32
push edx
push ecx
call fcn.0048c947
add esp, 8
mov edx, dword [ebp - 0x105c]
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
cmp edx, 0x10
jb 0x47fdeb
mov ecx, dword [ebp - 0x1070]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47fde1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fe32
push edx
push ecx
call fcn.0048c947
add esp, 8
mov edx, dword [ebp - 0x1074]
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 0xf
mov byte [ebp - 0x1070], 0
cmp edx, 0x10
jb 0x47fe42
mov ecx, dword [ebp - 0x1088]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47fe38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47fe38
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cbb4
mov esp, ebp
pop ebp
ret 0xc