Function at 0x41b560
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e70d9
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x268], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x268], 1
mov eax, dword [0x51a22c]
cmp eax, edi
je 0x41b61e
lea ecx, [esp + 0x1c]
push ecx
push 0x28
call eax
cmp eax, edi
jl 0x41b61e
lea esi, [esp + 0x2c]
lea eax, [esp + 0x1c]
call fcn.0044b590
mov byte [esp + 0x268], 2
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
mov ebx, 1
mov dword [esp + 0x20], ebx
cmp eax, edi
je 0x41b604
mov dword [esp + 0x18], edi
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
push edx
push esi
call eax
mov byte [esp + 0x17], 0
test eax, eax
jge 0x41b623
mov byte [esp + 0x17], 1
mov dword [esp + 0x268], 1
test bl, 1
je 0x41b63c
lea ecx, [esp + 0x2c]
call fcn.00409540
cmp byte [esp + 0x17], 0
je 0x41b67d
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x41b65b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41b676
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x41b886
push 0x206
lea ecx, [esp + 0x5a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x60], ax
call fcn.004cc620
add esp, 0xc
lea esi, [esp + 0x2c]
lea eax, [esp + 0x18]
call fcn.0044b590
mov byte [esp + 0x268], 3
mov eax, dword [eax]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x28]
call eax
push eax
push 0x4f6964
mov ecx, 0x104
lea ebx, [esp + 0x5c]
call fcn.0041c650
add esp, 8
mov ecx, esi
mov byte [esp + 0x268], 1
call fcn.00409540
push str..AppSCProc.ini
mov ecx, ebx
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xcb20
call fcn.004c94d1
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
jne 0x41b72e
mov byte [esp + 0x268], al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41b718
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
jmp 0x41b66c
lea eax, [esp + 0x54]
push eax
push 0x6590
push edi
push 0
push 0
push str.ExplorerRunFiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x41b788
push edi
call fcn.004ca7dd
mov byte [esp + 0x26c], bl
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x41b772
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
jmp 0x41b66c
mov eax, edi
mov esi, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b790
sub eax, edx
sar eax, 1
mov ebp, eax
lea eax, [esp + 0x3c]
push eax
call fcn.00428680
mov byte [esp + 0x268], 4
jmp 0x41b7b9
mov ebx, dword [esp + 0x28]
test ebp, ebp
je 0x41b83c
mov ecx, esi
sub ecx, edi
sar ecx, 1
cmp ecx, ebx
jae 0x41b83c
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b7d0
sub eax, edx
sar eax, 1
mov ebp, eax
je 0x41b830
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00406bd0
lea ebx, [esp + 0x24]
lea edi, [esp + 0x2c]
mov byte [esp + 0x268], 5
call fcn.0041bc50
mov byte [esp + 0x268], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b82c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
lea esi, [esi + ebp*2 + 2]
test esi, esi
jne 0x41b7b5
push edi
call fcn.004ca7dd
add esp, 4
lea esi, [esp + 0x3c]
call fcn.00416810
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41b866
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41b881
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004c961b
add esp, 0x258
ret