Function at 0x4823e0
Capabilities:
Check os version
Copy file
Create a process with modified i/o handles and window
Create process on windows
Get common file path
Log keystrokes via polling
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x563022
mov eax, dword fs:[0]
push eax
sub esp, 0xdb4
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0xdb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0xdc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xdd8]
mov esi, ecx
xor edi, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov ebx, 1
cmp dword [esi + 0xb0], edi
jne 0x4824ef
cmp dword [esp + 0xddc], edi
jne 0x4824ef
cmp dword [esp + 0xde0], edi
jne 0x4824ef
mov dword [esp + 0x4c], ebx
cmp dword [0x5ed7f4], edi
je 0x482505
cmp dword [esi + 0x2ac], edi
ja 0x48247d
cmp dword [esi + 0x2a8], edi
jbe 0x482505
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.0044c040
add esp, 8
test eax, eax
je 0x482505
mov edx, dword [esp + 0x3c]
cmp edx, dword [esi + 0x2ac]
jne 0x4824a7
mov eax, dword [esp + 0x38]
cmp eax, dword [esi + 0x2a8]
je 0x482505
lea ecx, [esp + 0x14]
call fcn.00401d10
mov ecx, dword [esi + 0x24]
push ecx
lea edx, [esp + 0x18]
push 0x5473
push edx
mov dword [esp + 0xddc], edi
call fcn.00402140
mov eax, dword [esp + 0x20]
add esp, 0xc
push edi
push 4
push eax
call fcn.0050c485
lea ecx, [esp + 0x14]
cmp eax, 7
jne 0x4824f5
call fcn.00401b40
xor eax, eax
jmp 0x482d81
mov dword [esp + 0x4c], edi
jmp 0x482505
mov dword [esp + 0xdd0], 0xffffffff
call fcn.00401b40
mov edx, dword [esi + 0xa4]
mov eax, dword [esi + 0xf4]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [esi + 0x2e0], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], edi
call fcn.0047f0d0
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
cmp eax, edi
jne 0x482554
push 0xffffffffffffffff
push edi
push 0x5bfb
call fcn.0050c4d3
xor eax, eax
jmp 0x482d81
mov ebx, dword [esp + 0x2c]
mov esi, dword [esi + 0xf8]
sub ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
test ecx, ecx
jle 0x48288d
mov dword [esp + 0x48], edi
cmp esi, 0xf4240
jle 0x482582
add esi, 0xfff0bdc0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
cmp esi, 0x4b0
je 0x48287a
cmp esi, 0x4b1
je 0x48287a
cmp esi, 0xfde9
je 0x4827be
cmp dword [esp + 0xddc], edi
jne 0x4827be
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
sub esi, ebx
push esi
lea edi, [edx + ebx*2]
push edi
push 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [esp + 0x44], 0
mov ebp, eax
je 0x4827ba
mov esi, dword [0x5ba340]
test esi, esi
je 0x482607
mov ebp, dword [0x5ba33c]
jmp 0x48270e
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4828df
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push 0x54b5
push edx
mov dword [esp + 0xddc], 1
call fcn.00402140
add esp, 0xc
cmp dword [0x5ba354], 0
je 0x4826ba
lea ecx, [esp + 0x38]
call fcn.00401d10
push 0x54c8
mov byte [esp + 0xdd4], 2
call fcn.00508953
test eax, eax
je 0x482684
push 0x54c8
push eax
lea ecx, [esp + 0x40]
call fcn.00401d70
mov esi, dword [esp + 0x38]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00401fb0
lea eax, [esi - 0x10]
mov byte [esp + 0xdd0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4826ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
push 0
push 0x23
push edi
call fcn.0050c485
xor ebp, ebp
mov esi, eax
cmp dword [0x5ba354], ebp
je 0x4826e7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4826e7
mov dword [0x5ba340], esi
lea eax, [edi - 0x10]
mov dword [esp + 0xdd0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48270e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 6
jne 0x4827a7
test ebp, ebp
je 0x482724
mov dword [esp + 0x14], ebp
jmp 0x482864
push 0
lea ecx, [esp + 0xc4]
call fcn.004aab10
push 0x5534
mov dword [esp + 0xdd4], 3
call fcn.00508953
test eax, eax
je 0x48275d
push 0x5534
push eax
lea ecx, [esp + 0x198]
call fcn.00401d70
lea ecx, [esp + 0xc0]
call fcn.0044c630
cmp eax, 1
jne 0x4828e9
cmp dword [0x5ba340], 0
mov eax, dword [esp + 0x188]
mov dword [esp + 0x14], eax
je 0x48278b
mov dword [0x5ba33c], eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xdd0], 0xffffffff
call fcn.00453760
jmp 0x482864
cmp esi, 2
je 0x482922
mov dword [esp + 0x44], 0
jmp 0x4827be
test ebp, ebp
jne 0x4827e4
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
push 0
push 0
push 0
push 0
sub esi, ebx
push esi
lea edi, [ecx + ebx*2]
push edi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
xor ebx, ebx
cmp dword [esp + 0x14], 0x104029
jne 0x4827f5
mov ebx, 3
lea eax, [ebx + ebp + 1]
cmp eax, 0x7fffffff
jge 0x482944
push eax
call fcn.004ff95f
add esp, 4
mov dword [esp + 0x24], eax
cmp ebx, 3
jne 0x482821
mov byte [eax], 0xef
mov byte [eax + 1], 0xbb
mov byte [eax + 2], 0xbf
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
push 0
push 0
push ebp
lea ecx, [ebx + eax]
push ecx
push esi
push edi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add eax, ebx
push edx
mov dword [esp + 0x20], eax
mov byte [eax + ecx], 0
call fcn.004ff96a
add esp, 4
test ebp, ebp
jle 0x482864
mov dword [esp + 0x48], 1
cmp dword [esp + 0x44], 0
je 0x48288d
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
xor edi, edi
jmp 0x482574
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], 1
lea ecx, [esp + 0x54]
xor ebp, ebp
call fcn.0044e500
mov dword [esp + 0xdd0], 4
cmp dword [esp + 0x48], ebp
je 0x4829e3
mov eax, dword [esp + 0x34]
push 1
push ebp
push 0xc0000000
push eax
lea ecx, [esp + 0x64]
call fcn.0044f040
test eax, eax
jne 0x482959
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004ff96a
add esp, 4
xor edi, edi
jmp 0x4829e7
push 0x80004005
call fcn.00401340
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push eax
mov dword [edx + 0x2e0], 1
call fcn.004ff96a
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xdd0], 0xffffffff
call fcn.00453760
xor eax, eax
jmp 0x482d81
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
push edx
mov dword [ecx + 0x2e0], 1
call fcn.004ff96a
add esp, 4
xor eax, eax
jmp 0x482d81
push 0xffffffffffffffff
push 0x10
push 0x54c0
call fcn.0050c4d3
xor eax, eax
jmp 0x482d81
cmp dword [esp + 0x14], 0x4b1
mov ebx, dword [esp + 0x1c]
jne 0x482987
mov ecx, dword [esp + 0x20]
mov eax, ebx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x2c]
sar edx, 1
sub edx, eax
push edx
lea edx, [ecx + eax*2]
push edx
call fcn.0046daf0
add esp, 8
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
push 0xffffffffffffffff
push 6
mov ecx, esi
mov dword [esi + 0x2c0], edi
mov dword [esi + 0x2c4], ebx
call fcn.0047ba50
mov eax, dword [esi + 0x2c0]
cmp eax, edi
je 0x4829b8
mov ebx, dword [esi + 0x2c4]
mov edi, eax
xor eax, eax
mov dword [esi + 0x2c0], eax
mov dword [esi + 0x2c4], eax
mov eax, dword [esp + 0xde4]
push eax
push ebx
push edi
lea ecx, [esp + 0x60]
call fcn.0044f330
mov ebp, eax
mov dword [esi + 0x154], ebx
jmp 0x4829eb
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x54]
call fcn.0044b4d0
mov ecx, dword [esp + 0x14]
push edi
mov dword [esi + 0xf8], ecx
call fcn.004ff96a
add esp, 4
test ebp, ebp
jne 0x482a26
lea ecx, [esp + 0x54]
mov dword [esp + 0xdd0], 0xffffffff
call fcn.0044e540
xor eax, eax
jmp 0x482d81
mov edx, dword [0x5ed0c0]
cmp dword [edx + 0x1824], 1
jne 0x482a70
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
mov ecx, esi
call edx
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
test eax, eax
je 0x482a70
mov ecx, dword [esi + 0xf8]
push 0
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, eax
call fcn.0048b410
cmp dword [esp + 0xde0], 0
je 0x482d08
xor edx, edx
mov word [esp + 0x9b4], dx
lea edx, [esp + 0x38]
push edx
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwarePHP
xor eax, eax
xor ecx, ecx
push reloc.WSOCK32.dll_bind
mov word [esp + 0x5b8], ax
mov word [esp + 0x1a8], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x482afb
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x198]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
push str.InstallDir
push eax
mov dword [esp + 0x30], 0x410
mov dword [esp + 0x44], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x57e81c
lea edx, [esp + 0x198]
push 0x208
push edx
call fcn.0053fd9f
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x1a4]
push 0x208
push ecx
call fcn.0053fd9f
push 0x57e818
lea edx, [esp + 0x1b0]
push 0x208
push edx
call fcn.0053fd9f
add esp, 0x24
lea eax, [esp + 0x9b4]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x5a4]
push ecx
push ebx
lea edx, [esp + 0x9bc]
push 0x57e810
push edx
call fcn.0044f000
add esp, 0x10
push ebx
push 0x80
push 2
lea eax, [esp + 0x7c]
push eax
push 3
push 0xc0000000
lea ecx, [esp + 0x5bc]
push ecx
mov dword [esp + 0x8c], 0xc
mov dword [esp + 0x94], 1
mov dword [esp + 0x90], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x482d08
xor eax, eax
push 0x44
push eax
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
call fcn.0053ff80
mov ebp, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 0xc
xor eax, eax
push 0xfffffffffffffff6
mov dword [esp + 0x80], 0x44
mov word [esp + 0xb0], ax
mov dword [esp + 0xac], 0x101
call ebp
push 0xfffffffffffffff4
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edi
call ebp
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x80]
push edx
push 0
push 0
push 0
push 1
push 0
mov dword [esp + 0xd8], eax
push 0
lea eax, [esp + 0x1b4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x482c92
lea ecx, [esp + 0x2b]
call fcn.00409ca0
mov ecx, dword [esp + 0x60]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x60]
mov ebx, eax
neg ebx
sbb ebx, ebx
push edx
inc ebx
call ebp
mov eax, dword [esp + 0x64]
push eax
call ebp
lea ecx, [esp + 0x2b]
call fcn.0040adf0
jmp 0x482cdc
lea ecx, [esp + 0x18]
call fcn.00401d10
lea ecx, [esp + 0x194]
push ecx
lea edx, [esp + 0x1c]
push 0x550e
push edx
mov byte [esp + 0xddc], 5
call fcn.00402140
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push 0
push eax
call fcn.0050c485
lea ecx, [esp + 0x18]
mov byte [esp + 0xdd0], 4
call fcn.00401b40
push edi
call ebp
test ebx, ebx
je 0x482d08
mov ecx, dword [esp + 0x34]
push 0
push ecx
lea edx, [esp + 0x5ac]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esp + 0x5a4]
push eax
call fcn.0044be30
add esp, 4
xor edi, edi
cmp dword [esp + 0x4c], edi
je 0x482d68
cmp dword [0x5ed7f0], edi
jne 0x482d20
cmp dword [0x5ed7f4], edi
je 0x482d68
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
push edx
call fcn.0044c040
add esp, 8
test eax, eax
je 0x482d5c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp dword [esi + 0x2a8], eax
jne 0x482d4e
cmp dword [esi + 0x2ac], ecx
je 0x482d5c
mov dword [esi + 0x2a8], eax
mov dword [esi + 0x2ac], ecx
jmp 0x482d68
mov dword [esi + 0x2ac], edi
mov dword [esi + 0x2a8], edi
lea ecx, [esp + 0x54]
mov dword [esp + 0xdd0], 0xffffffff
call fcn.0044e540
mov eax, 1
mov ecx, dword [esp + 0xdc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdb0]
xor ecx, esp
call fcn.0053f73f
add esp, 0xdc0
ret 0x10