Function at 0x41cd3b
Capabilities:
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], edx
push edi
test cl, cl
je 0x41cf16
mov dword [ebp - 8], 0xc204e2db
mov eax, 0x30de9bf9
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
push 0xffffffffffffffff
mov dword [ebp - 0x68], eax
mov dword [ebp - 8], ebx
pop edi
jmp 0x41cdb7
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0xc], ebx
jmp 0x41cd9c
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xc4], 0x3a0b8ee4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x41cd8b
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x74], edi
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffffe
jg 0x41cd74
xor esi, esi
lea ecx, [ebp - 0xa8]
inc esi
mov dword [ebp - 0x1c], esi
push 2
call fcn.00415aed
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x9c]
push 3
mov dword [ebp - 0x1c], ebx
pop edi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x1c], 0xfffffff6
mov dword [ebp - 0x1c], 0x8c443eb6
push esi
call fcn.00415aed
push esi
lea ecx, [ebp - 0x58]
call fcn.00415aed
mov dword [ebp - 4], ebx
jmp 0x41ce1a
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa8]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x41ce0b
mov dword [ebp - 4], ebx
jmp 0x41ce35
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x9c]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x41ce25
mov dword [ebp - 4], ebx
jmp 0x41ce4f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0x7182
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x41ce3f
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
inc dword [eax]
call fcn.00415bbf
lea ecx, [ebp - 0x9c]
call fcn.00415bbf
lea ecx, [ebp - 0xa8]
call fcn.00415bbf
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], bl
je 0x41cec0
mov dword [ebp - 8], 0xe0648261
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 8], ebx
jmp 0x41cea4
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], bl
je 0x41cea1
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffef
jg 0x41ce92
mov eax, dword [ebp - 8]
push ebx
push 0x168f
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
lea ecx, [ebp - 0x4c]
call fcn.00415aed
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
jmp 0x41cee1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4c]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x41ced4
mov dword [ebp - 8], ebx
jmp 0x41cf03
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [edx + esi*4], eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jle 0x41ceeb
lea ecx, [ebp - 0x4c]
call fcn.00415bbf
jmp 0x41d1cb
push 1
mov dword [ebp - 4], 0xb110c93b
mov dword [ebp - 0x10], ebx
pop esi
mov dword [ebp - 0xc], 0x35984225
push 3
mov dword [ebp - 0x18], 0xfff6
mov dword [ebp - 4], 8
pop edi
jmp 0x41cfe9
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
jmp 0x41cf59
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb4], 0x59ec1348
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x41cf48
mov dword [ebp - 8], 0xa
jmp 0x41cfe0
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 8], ebx
je 0x41cf98
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8], 0xffff9364
neg eax
sbb eax, eax
xor edx, edx
neg eax
cmp eax, 0xffffffff
mov eax, dword [ebp - 8]
setge dl
xor ecx, ecx
cmp edx, eax
mov edx, esi
setne cl
add ecx, dword [ebp - 0xc]
jne 0x41cf9a
mov edx, ebx
mov eax, dword [ebp - 4]
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 8]
cmp edx, eax
setg cl
cmp ecx, dword [ebp - 0x10]
jle 0x41cfb5
mov eax, ebx
cmp dword [ebp - 8], ebx
je 0x41cfb7
mov eax, esi
inc eax
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], ebx
jl 0x41cfdd
inc dword [ebp - 0x18]
dec dword [ebp - 0x10]
jns 0x41cfd5
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x14
jge 0x41cf67
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffff7
je 0x41cf40
push 4
lea ecx, [ebp - 0x40]
call fcn.00415aed
mov dword [ebp - 8], 0x4a18885c
mov eax, 0x925d3c09
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], ebx
jmp 0x41d02a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x40]
mov dword [eax + ecx*4], 0xb3198a8f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x41d01a
mov dword [ebp - 8], ebx
jmp 0x41d19d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x24], 0x4393
mov dword [ebp - 0x20], 0xffffffff
push esi
call fcn.00415aed
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
jmp 0x41d072
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x90], 0x69d1fe90
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x41d061
mov dword [ebp - 4], ebx
jmp 0x41d08c
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
mov dword [eax + ecx*4], 0x9d6b80f4
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x41d07c
mov dword [ebp - 4], ebx
jmp 0x41d189
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xafe497d6
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
sub edx, eax
mov eax, dword [ebp - 4]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, 0xbf2b8319
setle cl
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x90], eax
neg eax
jne 0x41d0e5
mov eax, ebx
cmp dword [ebp - 0x30], ebx
je 0x41d0e7
mov eax, esi
cmp eax, dword [ebp - 8]
je 0x41d0ef
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov edx, 0x8c53
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x40]
sub edx, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x40]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, edx
test ecx, ecx
je 0x41d129
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, ecx
mov eax, dword [ebp - 0xc]
setg dl
xor ecx, ecx
cmp edx, 0x5357
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x64]
setl cl
xor edx, edx
cmp ecx, 4
setne dl
xor ecx, ecx
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
cmp edx, eax
setg cl
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 8]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jle 0x41d099
lea ecx, [ebp - 0x64]
call fcn.00415bbf
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x41d038
lea ecx, [ebp - 0x40]
call fcn.00415bbf
mov edx, dword [ebp + 8]
mov dword [edx], ebx
cmp dword [edx], edi
jge 0x41d1cb
mov esi, dword [ebp - 0x1c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x177e
inc dword [edx]
cmp dword [edx], edi
jl 0x41d1ba
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret