Function at 0x41f370
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd64
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0xd60], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x41e1d0
mov dword [esp + 0x14], eax
mov dword [0x6210b0], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
call fcn.00417190
call fcn.0040dff0
call fcn.0040e2e0
push 0x8fe
lea eax, [esp + 0x46d]
push ebx
push eax
mov byte [esp + 0x474], bl
call fcn.0050e6a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea edx, [esp + 0x468]
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x41f3f0
mov esi, 0xf
lea eax, [esp + 0x468]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41f415
sub eax, ecx
push eax
lea ecx, [esp + 0x46c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00403ac0
push 7
push 0x534e88
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.0041fcf0
mov edi, eax
call fcn.0041f290
push 0x7e
lea ecx, [esp + 0xde]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xe4], ax
call fcn.0050e6a0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push 0x624920
push 0x40
lea edx, [esp + 0xe0]
push edx
push 0x536cb0
push 0x536cb4
push 0x536cc8
call esi
mov ecx, 0x535034
lea eax, [esp + 0xd8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f4c9
cmp dx, bx
je 0x41f4c5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f4c9
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41f4a3
xor eax, eax
jmp 0x41f4ce
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x41f4dc
mov dword [0x623514], 1
push 0x7e
lea ecx, [esp + 0x5e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x64], ax
call fcn.0050e6a0
add esp, 0xc
push 0x624920
push 0x40
lea edx, [esp + 0x60]
push edx
push 0x536cb0
push str.NBDJC
push 0x536cc8
call esi
mov ecx, 0x535034
lea eax, [esp + 0x58]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f546
cmp dx, bx
je 0x41f542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f546
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41f520
xor eax, eax
jmp 0x41f54b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x41f555
mov dword [0x61c238], ebx
cmp edi, ebx
jl 0x41f73d
push str.C:WindowsSystem32cBLK.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0041fac0
mov ecx, 6
mov esi, str..pipeNPS_Pipe_Server_
lea edi, [esp + 0x360]
rep movsd dword es:[edi], dword [esi]
push 0xea
lea eax, [esp + 0x37e]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0050e6a0
mov ecx, 6
mov esi, str..pipeNPS_Pipe_Client_
lea edi, [esp + 0x164]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
push 0xea
lea ecx, [esp + 0x176]
push ebx
push ecx
movsw word es:[edi], word [esi]
call fcn.0050e6a0
add esp, 0xc
push 0x98
call fcn.0050a753
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41f60f
sub esp, 0x1c
mov ecx, esp
mov eax, 0x6222e8
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x2c], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41f5f4
sub eax, esi
push eax
push 0x6222e8
call fcn.00403ac0
call fcn.0041c460
jmp 0x41f611
xor eax, eax
mov dword [0x623510], eax
cmp eax, ebx
jne 0x41f656
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x41f632
mov edx, dword [esp + 0x24]
push edx
call fcn.0050a226
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x54], esi
jb 0x41f9f1
mov eax, dword [esp + 0x40]
push eax
jmp 0x41f9e9
push 0x6222e8
lea ecx, [esp + 0x364]
push 0x104
push ecx
call fcn.0050ba5f
add esp, 0xc
push 0x6222e8
lea edx, [esp + 0x15c]
push 0x104
push edx
call fcn.0050ba5f
add esp, 0xc
lea eax, [esp + 0x360]
push eax
lea edi, [esp + 0x15c]
call fcn.0041c640
test eax, eax
jne 0x41f61a
call fcn.0041c050
push 0x1270
call fcn.0050a753
add esp, 4
cmp eax, ebx
je 0x41f726
mov ecx, dword [0x6222c4]
push 0x6222c8
push 0x622c08
push ebx
push 0x622308
push ecx
push eax
call fcn.00420290
mov esi, eax
cmp esi, ebx
je 0x41f726
push esi
call fcn.0041c600
call fcn.0041f260
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x6210b8], 1
lea ebx, [ebx]
push 5
call esi
cmp dword [0x6210b8], ebx
jne 0x41f700
mov edi, dword [0x623510]
mov esi, edi
cmp edi, ebx
je 0x41f726
call fcn.0041c590
push esi
call fcn.0050a226
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00403700
lea ecx, [esp + 0x3c]
call fcn.00403700
jmp 0x41f9f1
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x14], 2
mov esi, eax
jl 0x41f847
mov edi, dword [esi + 4]
add esi, 4
cmp byte [edi], 0x2f
je 0x41f847
push 0x206
lea eax, [esp + 0x15e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x164], dx
call fcn.0050e6a0
add esp, 0xc
push 0x5336ac
push edi
call fcn.0050a835
add esp, 8
test eax, eax
jne 0x41f7d7
mov eax, dword [esi]
push 0x5336bc
push eax
call fcn.0050a835
add esp, 8
test eax, eax
jne 0x41f7d7
jmp 0x41f7c0
movzx ecx, word [eax + 0x5336ac]
mov word [esp + eax + 0x158], cx
add eax, 2
cmp cx, bx
jne 0x41f7c0
mov eax, dword [esi]
mov edx, eax
jmp 0x41f7e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f7e0
lea edi, [esp + 0x158]
sub eax, edx
add edi, 0xfffffffe
jmp 0x41f800
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x41f800
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x41f847
xor eax, eax
movzx ecx, word [esp + eax + 0x158]
mov word [eax + 0x623518], cx
add eax, 2
cmp cx, bx
jne 0x41f830
push 6
push str.__skin
lea edx, [esp + 0x44]
push edx
xor esi, esi
call fcn.0041fcf0
test eax, eax
jle 0x41f863
mov esi, 1
mov dword [esp + 0x18], 0xa
call fcn.0041e770
push str.SCRIPT_DEBUGGER
call fcn.0041eba0
push str.SCRIPT_DEBUGGER_IE
call fcn.0041eba0
mov eax, dword [0x6210b0]
push eax
mov dword [0x626824], eax
call fcn.004e34a0
mov eax, dword [esp + 0x14]
add esp, 4
push eax
mov dword [0x626824], eax
call fcn.004e34a0
add esp, 4
cmp esi, ebx
jne 0x41f8e0
call fcn.0041ea80
add eax, 0xfffffffa
cmp eax, 6
ja case.0x41f8c1.6
movzx eax, byte [eax + 0x41fa14]
jmp dword [eax*4 + 0x41fa0c]
push 0x3212f
push 0x584370
jmp 0x41f8ea
push 0x29664
push 0x5b64a8
jmp 0x41f8ea
push 0x3c6df
push 0x5dfb10
call fcn.004acee0
add esp, 8
push 0x120c
call fcn.0050a753
add esp, 4
cmp eax, ebx
je 0x41f90b
push eax
call fcn.0040e500
jmp 0x41f90d
xor eax, eax
mov dword [0x6210b4], eax
cmp eax, ebx
je 0x41f9b6
cmp word [0x623518], bx
jne 0x41f947
push 0x624920
push 0x8ff
push 0x623518
push 0x533194
push str.HOME
push 0x536cc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [0x6210b4]
push SysReAllocString
push SysReAllocString
push 0x267
push 0x3b6
push 0x100
push 0x10cf0000
push ebx
push ebx
call fcn.004abb90
mov esi, dword [0x6210b4]
mov eax, dword [esi + 4]
add esi, 4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f993
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004aff90
mov edx, dword [0x6222c0]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [0x6210bc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041c180
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x41f9ce
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0050a226
add esp, 4
mov byte [esp + 0x24], bl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
cmp dword [esp + 0x54], esi
jb 0x41f9f1
mov edx, dword [esp + 0x40]
push edx
call fcn.0050a226
add esp, 4
mov ecx, dword [esp + 0xd6c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0050a231
mov esp, ebp
pop ebp
ret 0x10