Function at 0x4119d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57c208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x639ad4]
push ebx
push esi
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push ecx
xor ebx, ebx
push 0x615e9c
push edx
mov dword [esp + 0x40], ebx
call fcn.00562ecb
mov eax, dword [esp + 0x18]
push 0x5c
push eax
call fcn.0054dff0
add esp, 0x14
cmp eax, ebx
je 0x411a23
mov byte [eax + 1], bl
mov ecx, dword [0x639ad4]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
mov byte [esp + 0x34], 1
cmp eax, 3
mov eax, str.ProgramPlugins_
je 0x411a45
mov eax, str.Plugins_
mov edx, dword [esp + 0xc]
push eax
push edx
lea eax, [esp + 0x10]
push 0x615f14
push eax
call fcn.00562ecb
mov ecx, dword [0x639ad4]
add esp, 0x10
mov dword [0x61bd08], 2
mov esi, 1
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x34], 2
mov edx, dword [esp + 8]
push esi
push edx
lea eax, [esp + 0x44]
push str._sNP_IDM_d.dll
push eax
call fcn.00562ecb
mov ecx, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
push ebx
push ecx
lea ecx, [esp + 0x28]
mov word [esp + 0x2c], bx
call fcn.004024c0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x34], 3
cmp eax, ebx
jne 0x411ac0
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0045d550
add esp, 8
test eax, eax
je 0x411af7
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x411adb
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0045d490
add esp, 8
lea ecx, [esp + 0x20]
inc esi
mov byte [esp + 0x34], 2
call fcn.00401070
jmp 0x411a7b
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.00401070
mov edx, dword [esp + 8]
push str.NPIDMan1.dll
push edx
lea eax, [esp + 0x44]
push 0x615f14
push eax
call fcn.00562ecb
mov ecx, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov word [esp + 0x20], bx
call fcn.004024c0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 4
cmp eax, ebx
jne 0x411b4e
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0045d550
add esp, 8
test eax, eax
jne 0x411b74
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x411b69
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0045d490
add esp, 8
mov edx, dword [esp + 8]
push str.NPIDMan2.dll
push edx
lea eax, [esp + 0x44]
push 0x615f14
push eax
call fcn.00562ecb
mov ecx, dword [esp + 0x4c]
add esp, 0x10
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004024c0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x411bab
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0045d550
add esp, 8
test eax, eax
jne 0x411bd1
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x411bc6
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0045d490
add esp, 8
cmp dword [esp + 0x48], ebx
je 0x411c33
lea ecx, [esp + 0x14]
mov dword [0x61bd08], 1
mov byte [esp + 0x34], 2
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.0056a100
lea ecx, [esp + 8]
mov byte [esp + 0x34], bl
call fcn.0056a100
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.0056a100
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
mov edx, dword [0x639ad4]
push edi
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x48]
mov esi, 1
cmp edi, esi
mov byte [esp + 0x38], 5
jl 0x411cf2
mov eax, dword [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x48]
push str._sNP_IDM_d.dll
push ecx
call fcn.00562ecb
mov edx, dword [0x63e500]
add esp, 0x10
lea eax, [esp + 0x14]
push esi
push edx
push str._sNP_IDM_d.dll
push eax
call fcn.00562ecb
mov ecx, dword [esp + 0x50]
add esp, 0x10
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.004024c0
mov edx, dword [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
call fcn.004024c0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x38], 6
cmp ecx, ebx
jne 0x411cc2
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x411cce
lea eax, [esp + 0x28]
push 1
push ebx
push ecx
push eax
call fcn.0045d3c0
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.00401070
inc esi
cmp esi, edi
jle 0x411c54
lea ecx, [esp + 0x14]
mov dword [0x61bd08], 1
mov byte [esp + 0x38], 4
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00401070
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call fcn.0056a100
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.0056a100
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10