Function at 0x41f920
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x714
push esi
mov esi, ecx
mov ax, word [esi + 0x126]
mov word [esp + 0xc], ax
mov al, byte [esi + 0x98]
test al, al
je 0x41f94d
mov al, byte [esi + 0x12a]
shl al, 1
mov byte [esp + 6], al
jmp 0x41f957
mov cl, byte [esi + 0x12a]
mov byte [esp + 6], cl
mov edx, dword [esi + 8]
push ebx
push edi
mov ecx, 0x100
mov al, byte [edx + 0xa6]
lea edi, [esp + 0x20]
mov byte [esp + 0x1c], al
xor eax, eax
rep stosd dword es:[edi], eax
mov al, byte [esi + 0x12c]
mov byte [esp + 0xf], 0
dec eax
je 0x41f9aa
dec eax
je 0x41f988
xor ebx, ebx
jmp 0x41f9b1
xor ebx, ebx
xor ecx, ecx
mov bx, word [esi + 0x124]
mov cx, word [esi + 0x128]
shr ebx, 1
imul ebx, ecx
sar ebx, 0x10
and ebx, 0xff
jmp 0x41f9b1
mov bx, word [esi + 0x128]
xor eax, eax
xor cl, cl
mov ax, word [esi + 0x128]
mov byte [esp + 0x10], cl
cmp eax, 1
jle 0x41f9d6
inc cl
mov edx, 1
shl edx, cl
cmp edx, eax
jl 0x41f9c5
mov byte [esp + 0x10], cl
mov al, byte [esi + 0xea]
not al
shr al, 3
and al, 1
mov byte [esp + 0x12], al
mov al, byte [esp + 0x724]
test al, al
jne 0x41f9f9
mov byte [esp + 0x11], 0
jmp 0x41fa0e
mov al, byte [esp + 0x734]
cmp al, 0xff
jne 0x41fa0a
mov al, byte [esi + 0x4699]
mov byte [esp + 0x11], al
mov eax, dword [0x4971e8]
push eax
push 0
push str.SpecialHLF
push str.Scan
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov cl, byte [esi + 0x2c]
mov dl, byte [esi + 0x14d]
mov byte [esp + 0x13], al
mov al, byte [esi + 0x14c]
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x22], al
mov ax, cx
mov byte [esp + 0x24], cl
mov cl, byte [esp + 0xe]
shr ax, 8
mov byte [esp + 0x25], cl
mov ecx, esi
mov byte [esp + 0x21], dl
mov word [esp + 0x18], ax
mov byte [esp + 0x23], al
call fcn.004244c0
mov dl, byte [esi + 0x16d]
mov cl, byte [esi + 0x16e]
mov byte [esp + 0x2e], al
xor eax, eax
mov al, byte [esi + 0x16f]
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], al
mov al, byte [esi + 0x170]
xor edx, edx
mov byte [esp + 0x34], al
mov dl, byte [esi + 0x171]
mov al, byte [esp + 0x10]
mov byte [esp + 0x32], cl
mov cl, byte [esi + 0x172]
mov byte [esp + 0x33], dl
mov dl, byte [esi + 0x23]
mov byte [esp + 0x40], al
mov byte [esp + 0x35], cl
mov cl, byte [esi + 0x12b]
xor eax, eax
mov byte [esp + 0x3f], dl
mov dl, byte [esi + 0x151]
mov al, bh
mov byte [esp + 0x41], cl
mov byte [esp + 0x43], al
mov al, byte [esp + 0x13]
xor ecx, ecx
mov byte [esp + 0x42], dl
mov cl, byte [esi + 0x129]
mov dl, byte [esi + 0x128]
test al, al
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], dl
jne 0x41fb09
mov al, byte [esi + 0x11c]
mov byte [esp + 0x50], al
jmp 0x41fb13
mov cl, byte [esi + 0x46b0]
mov byte [esp + 0x50], cl
mov al, byte [esi + 0x12d]
mov dl, byte [esi + 0x52f4]
mov byte [esp + 0x52], al
mov al, byte [esi + 0x150]
mov cl, al
mov byte [esp + 0x51], dl
and cl, 1
mov byte [esp + 0x54], 0
test al, 2
mov byte [esp + 0x53], cl
je 0x41fb44
mov byte [esp + 0x54], 1
test al, 4
je 0x41fb4d
mov byte [esp + 0x54], 2
mov eax, dword [esi + 0x100]
mov dl, byte [esp + 0x730]
push str.Samsung
push eax
mov byte [esp + 0x5f], dl
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x41fb7f
cmp byte [esi + 0x12e], 0xa
jne 0x41fb7f
mov byte [esp + 0x58], 1
mov ecx, esi
call fcn.00431ad0
mov ecx, esi
mov byte [esp + 0x59], al
call fcn.00431b10
mov cl, byte [esi + 0x134]
mov byte [esp + 0x5a], al
mov byte [esp + 0x5c], cl
mov ecx, esi
call fcn.00426ac0
mov dl, byte [esi + 0x592c]
push 0
push edx
mov ecx, esi
mov byte [esp + 0x65], al
call fcn.00433cc0
mov cl, byte [esp + 0x18]
mov dl, byte [esp + 0x14]
mov byte [esp + 0x61], cl
mov cl, byte [esi + 0x10e]
mov byte [esp + 0x62], dl
mov dl, byte [esi + 0x12f]
cmp cl, 4
mov byte [esp + 0x5e], al
mov al, byte [esp + 0x12]
mov byte [esp + 0x6d], 0
sete cl
neg dl
sbb dl, dl
mov byte [esp + 0x60], al
mov al, byte [esi + 0xe6]
and dl, 4
add dl, 0xc
mov byte [esp + 0x64], cl
mov cl, byte [esp + 0x11]
mov byte [esp + 0x6c], dl
mov edx, dword [esp + 0x72c]
mov byte [esp + 0x63], al
test edx, edx
setne al
mov byte [esp + 0x6f], cl
mov cl, byte [esi + 0x2c]
xor edx, edx
mov byte [esp + 0x6e], al
xor bl, bl
xor al, al
mov dword [esp + 0x91], edx
mov byte [esp + 0x14], bl
test cl, cl
mov dword [esp + 0x95], edx
jbe 0x41fc8e
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov ecx, dword [esp + 0x14]
and ecx, 0xff
mov eax, ecx
cdq
idiv edi
inc al
cmp al, 8
mov byte [esp + 0x1c], al
ja 0x41fc8e
mov edx, dword [esp + 0x1c]
mov cl, byte [ecx + 0x46d6f0]
and edx, 0xff
or byte [esp + edx + 0x90], cl
mov cl, byte [esi + 0x2c]
lea edx, [esp + edx + 0x90]
inc bl
cmp bl, cl
mov byte [esp + 0x14], bl
jb 0x41fc4a
mov ecx, dword [esi + 0x5928]
mov byte [esp + 0x90], al
test ecx, ecx
setne dl
or eax, 0xffffffff
mov byte [esp + 0x7a], dl
mov dword [esp + 0xf0], eax
mov byte [esp + 0x7b], 0xf
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov al, byte [esi + 0xea]
test al, 8
je 0x41fd1b
mov dl, byte [esp + 0xe]
xor al, al
test dl, dl
mov byte [esp + 0x18], 0
jbe 0x41fd35
xor edi, edi
xor ecx, ecx
mov di, word [esi + 0xec]
mov ebx, 1
shl ebx, cl
test edi, ebx
je 0x41fd12
mov ebx, dword [esp + 0x18]
and ebx, 0xff
mov byte [esp + ebx + 0xf0], al
mov bl, byte [esp + 0x18]
inc bl
mov byte [esp + 0x18], bl
inc al
inc ecx
cmp al, dl
jb 0x41fcec
jmp 0x41fd35
mov dl, byte [esp + 0xe]
xor al, al
test dl, dl
jbe 0x41fd35
lea ecx, [esp + 0xf0]
mov byte [ecx], al
inc al
inc ecx
cmp al, dl
jb 0x41fd2c
mov edx, dword [esp + 0x728]
mov eax, dword [esp + 0x724]
lea ecx, [esp + 0x420]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041f6e0
xor ecx, ecx
mov edx, 0x180
xor ebx, ebx
mov bl, byte [esp + ecx + 0x421]
mov byte [esp + ecx + 0x120], bl
mov bl, byte [esp + ecx + 0x420]
mov byte [esp + ecx + 0x121], bl
add ecx, 2
dec edx
jne 0x41fd5b
xor ecx, ecx
mov byte [esp + 0x62], al
mov cl, ah
mov eax, dword [esi + 8]
mov byte [esp + 0x61], cl
mov cl, byte [eax + 0x86]
mov edx, dword [eax + 0xbc]
cmp cl, 0xff
je 0x41fdbc
test edx, edx
je 0x41fdd2
mov edx, ecx
and edx, 0xff
xor ebx, ebx
mov bl, byte [eax + 0xc2]
mov dl, byte [ebx + edx*4 + 0x46d6dc]
jmp 0x41fdd6
test edx, edx
je 0x41fdd2
xor edx, edx
mov dl, byte [eax + 0xc2]
mov dl, byte [edx + 0x46d6e0]
mov byte [esp + 0xf], dl
mov dl, byte [esp + 0xf]
pop edi
cmp cl, 1
pop ebx
jne 0x41fde3
add dl, byte [eax + 0xc3]
xor cx, cx
mov cl, dl
mov dl, byte [eax + 0xb8]
mov byte [esp + 0x78], dl
mov dl, byte [eax + 0x86]
cmp dl, 1
jne 0x41fe04
mov byte [esp + 0x79], 1
jmp 0x41fe0e
mov al, byte [eax + 0xbc]
mov byte [esp + 0x79], al
mov dl, byte [esi + 0x12a]
mov byte [esp + 0x7d], cl
cmp dl, 8
mov byte [esp + 0x7a], 1
sete dl
xor eax, eax
dec edx
mov al, ch
and edx, 0xfffffffe
lea ecx, [esp + 0x18]
add edx, 8
push ecx
mov ecx, esi
mov byte [esp + 0x7f], dl
mov byte [esp + 0x80], al
call fcn.00422680
mov eax, 1
pop esi
add esp, 0x714
ret 0x14