joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c904
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41c923
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41c933
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x41ca55
test ebx, ebx
jl 0x41ca55
test esi, esi
jle 0x41ca55
mov eax, dword [ebp - 8]
call fcn.0040739c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040739c
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x41c9f2
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x41ca55
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41c9d7
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41c9a6
inc dword [ebp - 0x14]
jmp 0x41c9b6
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x41c9b6
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x41c9c1
or eax, 0xffffffff
jmp 0x41c9d7
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41c9d4
inc eax
jmp 0x41c9d7
or eax, 0xffffffff
test eax, eax
jl 0x41c9df
cmp esi, eax
jg 0x41c994
cmp esi, eax
jg 0x41c9ea
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41ca58
inc edx
dec dword [ebp - 0x1c]
jne 0x41c990
jmp 0x41ca55
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x41ca55
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41ca3c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41ca1b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x41ca26
or eax, 0xffffffff
jmp 0x41ca3c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41ca39
inc eax
jmp 0x41ca3c
or eax, 0xffffffff
test eax, eax
jl 0x41ca44
cmp esi, eax
jg 0x41ca04
cmp esi, eax
jg 0x41ca4f
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41ca58
inc edx
dec dword [ebp - 0x1c]
jne 0x41ca00
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x414a2f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004148a5

Function at 0x419060
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418bb3

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80d004]
jne 0x40100a
repz ret
jmp fcn.0040130d

Function at 0x403f8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402540
and dword [ebp - 0x14], 0
cmp dword [0x80fadc], 0
mov dword [ebp - 0x18], eax
jne 0x40403e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4040e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4040e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x80fadc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x80fae0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x80fae4], eax
call edi
push eax
call esi
mov dword [0x80faec], eax
test eax, eax
je 0x40403e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x80fae8], eax
mov eax, dword [0x80fae8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404097
cmp dword [0x80faec], ecx
je 0x404097
push eax
call esi
push dword [0x80faec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404097
test ebx, ebx
je 0x404097
call edi
test eax, eax
je 0x40408e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40408e
test byte [ebp - 8], 1
jne 0x404097
or dword [ebp + 0x10], 0x200000
jmp 0x4040ca
mov eax, dword [0x80fae0]
cmp eax, dword [ebp - 0x18]
je 0x4040ca
push eax
call esi
test eax, eax
je 0x4040ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4040ca
mov eax, dword [0x80fae4]
cmp eax, dword [ebp - 0x18]
je 0x4040ca
push eax
call esi
test eax, eax
je 0x4040ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80fadc]
call esi
test eax, eax
je 0x4040e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4040e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x409ce0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x80df60]
sub esp, 0x10
push esi
mov esi, dword [0x817648]
push edi
mov edi, dword [0x817924]
push eax
call fcn.00409bd0
add esp, 4
cmp dword [0x817924], 0x2f
jne 0x409d40
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Bihux_nivew_zuziduzaz_winojego_roli
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
call fcn.00409c20
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409fd0
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x817924]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x409ff2
push 0
push 0
call edi
mov eax, dword [0x817924]
cmp esi, 0x845013
jne 0x40a009
mov eax, dword [0x80ed80]
add eax, 0xa231
mov dword [0x817924], eax
cmp eax, 0x141
jne 0x40a024
mov dword [0x810020], 0xec58acac
mov dword [0x810024], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x409fe0
call fcn.00409d50
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x87d570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x379000]
push edi
jmp 0x87d58a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x87d591
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d580
mov eax, 1
add ebx, ebx
jne 0x87d5a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x87d5b4
jne 0x87d5d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d5d3
dec eax
add ebx, ebx
jne 0x87d5c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x87d598
add ebx, ebx
jne 0x87d5cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x87d625
xor ecx, ecx
sub eax, 3
jb 0x87d5eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x87d65a
sar eax, 1
mov ebp, eax
jmp 0x87d5f6
add ebx, ebx
jne 0x87d5f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d5c4
inc ecx
add ebx, ebx
jne 0x87d604
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87d5c4
add ebx, ebx
jne 0x87d611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x87d606
jne 0x87d622
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x87d606
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x87d644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x87d636
jmp 0x87d586
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x87d644
add edi, ecx
jmp 0x87d586
pop esi
mov edi, esi
mov ecx, 0x20a09
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x87d662
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x87d667
lea edi, [esi + 0x47a000]
mov eax, dword [edi]
or eax, eax
je 0x87d6d8
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x483abc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x483bec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x87d68d
mov ecx, edi
jns 0x87d6bc
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x483bf4]
or eax, eax
je 0x87d6d2
mov dword [ebx], eax
add ebx, 4
jmp 0x87d6aa
call dword [esi + 0x483bf0]
mov ebp, dword [esi + 0x483bf8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x87d70c
sub esp, 0xffffff80
jmp 0x623b4e
Function at 0x1001b6ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1001b6d9
pop dword [ebp - 4]
mov eax, 0x1001b6d9
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xd1b35df9
sub dword [ebp - 0x14], 0x836118ae
mov dword [ebp - 0x10], 0x9a9423b8
add dword [ebp - 0x10], 0x979f288d
mov dword [ebp - 0xc], 0x5eeb55a6
add dword [ebp - 0xc], 0xed60ee88
mov dword [ebp - 8], 0x94a7a403
sub dword [ebp - 8], 0x94a7a403
lea eax, [ebp - 0x14]
push eax
mov eax, 0x87072bf9
add eax, 0x88f8e523
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x5e45b79b
sub dword [ebp - 0x14], 0xe9d34e45
mov dword [ebp - 0x10], 0xfc749a11
add dword [ebp - 0x10], 0x44f7c764
mov dword [ebp - 0xc], 0x96aa3a74
sub dword [ebp - 0xc], 0x333ace08
mov dword [ebp - 8], 0x6fb4dd41
add dword [ebp - 8], 0x904b22bf
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xcf606b73
add eax, 0x409fa58d
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x40cdb
push 0
call eax
mov ecx, 0x70f9866b
add ecx, 0x8f06c4c2
mov esi, eax
mov edx, 0x48fb8d25
add edx, 0xc707dcdb
add edx, dword [ebp - 4]
mov ebx, 0xc55820bb
add ebx, 0xf2ec0b36
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
add esi, 4
add edx, 0xd6a5671e
sub edx, 0xd6a5671a
loop 0x1001b7f6
add eax, 0x2df68d73
add eax, 0xd20a9214
mov ebx, eax
add eax, 0x4270d2ed
add eax, 0xbd8f2d18
mov ecx, 0xe86c92fa
add ecx, 0x27936d06
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x1002e08f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100075dc]
jne 0x1002e6f5
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10032ca0], eax
mov dword [0x10032c9c], ecx
mov dword [0x10032c98], edx
mov dword [0x10032c94], ebx
mov dword [0x10032c90], esi
mov dword [0x10032c8c], edi
mov word [0x10032cb8], ss
mov word [0x10032cac], cs
mov word [0x10032c88], ds
mov word [0x10032c84], es
mov word [0x10032c80], fs
mov word [0x10032c7c], gs
pushfd
pop dword [0x10032cb0]
mov eax, dword [ebp]
mov dword [0x10032ca4], eax
mov eax, dword [ebp + 4]
mov dword [0x10032ca8], eax
lea eax, [ebp + 8]
mov dword [0x10032cb4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10032bf0], 0x10001
mov eax, dword [0x10032ca8]
mov dword [0x10032ba4], eax
mov dword [0x10032b98], 0xc0000409
mov dword [0x10032b9c], 1
mov eax, dword [0x100075dc]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10032ad8]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10032be8], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100075ec
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10032be8], 0
jne 0x1002e7e1
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x401000
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x402110
push str.sadsadsad
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
push str.calc.exe
push str.powershell
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret

Function at 0x401843
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401882
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401882
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401882
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401882
cmp dword [ecx + 0x74], 0xe
jbe 0x401882
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b31a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push 0x40b
mov ecx, 0x643a9c
call fcn.004273a0
mov eax, dword [0x64356c]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0041d800
mov dword [esp + 0x28], 0
push 0x5ca93c
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00406800
mov byte [esp + 0x34], 1
push 0x5ca92c
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00406800
add esp, 0x20
mov byte [esp + 0x20], 3
lea ecx, [esp]
call fcn.0042ee10
call fcn.0041a2a0
test eax, eax
je 0x40a824
mov edx, dword [esp + 0x10]
push 0x1f4
push 0x14
push edx
call fcn.0041c5b0
add esp, 0xc
test eax, eax
je 0x40a824
push 0
sub esp, 8
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.0042edc0
mov byte [esp + 0x2c], 4
mov ecx, dword [0x64356c]
push ecx
mov byte [esp + 0x30], 3
call fcn.00426bc0
add esp, 8
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.0042edc0
mov byte [esp + 0x28], 5
mov byte [esp + 0x28], 3
call fcn.00420fb0
add esp, 8
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x10]
call fcn.0042ee10
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 8]
call fcn.0042ee10
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x10]
call fcn.0042ee10
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 8]
call fcn.0042ee10
mov ecx, dword [esp + 0x18]
mov eax, 2
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x41c100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b53f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push 0x24
sub esp, 8
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x5c9dfc
call fcn.00432c00
mov dword [esp + 0x30], 0
sub esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5cbd1c
call fcn.00431410
mov byte [esp + 0x38], 1
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], 0xffffffff
mov ecx, 0x643ad0
call fcn.0044b540
mov dword [esp + 0x28], 2
mov eax, dword [eax]
push eax
sub esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5c9dfc
call fcn.00432c00
mov byte [esp + 0x34], 3
sub esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5ccf90
call fcn.00432c00
mov byte [esp + 0x3c], 4
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x40], 2
mov ecx, 0x643ad0
call fcn.0044b540
mov byte [esp + 0x2c], 5
mov eax, dword [eax]
mov ecx, dword [esp + 0x34]
push eax
call fcn.004ccf1d
cmp eax, 6
sete bl
mov byte [esp + 0x24], 2
lea ecx, [esp + 0xc]
call fcn.0042ee10
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0042ee10
mov ecx, dword [esp + 0x1c]
xor eax, eax
test bl, bl
setne al
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret

Function at 0x420cd0
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x5b5df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov dword [esp + 0x24], 0
cmp dword [esp + 0x2c], 0
je 0x420e08
cmp dword [esp + 0x30], 0
je 0x420d89
push str.__LM
lea ecx, [esp + 0x18]
call fcn.00432c00
mov esi, eax
mov byte [esp + 0x24], 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x10]
call fcn.0042edc0
mov byte [esp + 0x24], 2
push esi
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0041fb60
mov byte [esp + 0x30], 3
mov eax, dword [eax]
push eax
push 0x5cd65c
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.0041b0c0
add esp, 0x1c
mov byte [esp + 0x24], 2
lea ecx, [esp + 4]
call fcn.0042ee10
mov byte [esp + 0x24], 1
lea ecx, [esp + 0xc]
call fcn.0042ee10
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x14]
call fcn.0042ee10
jmp 0x420e2d
push str.__CU
lea ecx, [esp + 8]
call fcn.00432c00
mov esi, eax
mov byte [esp + 0x24], 4
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x10]
call fcn.0042edc0
mov byte [esp + 0x24], 5
push esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041fb60
mov byte [esp + 0x30], 6
mov eax, dword [eax]
push eax
push 0x5cd65c
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call fcn.0041b0c0
add esp, 0x1c
mov byte [esp + 0x24], 5
lea ecx, [esp + 0x14]
call fcn.0042ee10
mov byte [esp + 0x24], 4
lea ecx, [esp + 0xc]
call fcn.0042ee10
mov byte [esp + 0x24], 0
lea ecx, [esp + 4]
call fcn.0042ee10
jmp 0x420e2d
cmp dword [esp + 0x30], 0
push 0x5cd65c
push str.SoftwareMicrosoftWindowsCurrentVersionRun
je 0x420e20
push 0x80000002
jmp 0x420e25
push 0x80000001
call fcn.0041b200
add esp, 0xc
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0042ee10
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x427630
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x427300
push 0
push 0
call fcn.00512cdd
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x427663
mov ecx, dword [esi + 0x2c]
push ecx
call dword [0x5c942c]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x438390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b9251
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 1
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], 0x5cfe28
call fcn.0042ecc0
mov byte [esp + 0x18], 2
lea ebx, [esi + 0x18]
mov ecx, ebx
call fcn.0042ecc0
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x20]
call fcn.0042ecc0
mov byte [esp + 0x18], 4
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00430b50
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.00430b50
xor eax, eax
cmp dword [esp + 0x30], eax
mov dword [esi + 0x2d], eax
setne dl
mov byte [esi + 0x3d], al
mov byte [esi + 0x28], dl
mov dword [esi + 0x29], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x39], eax
mov dword [esi + 0x31], eax
mov byte [esp + 0x18], al
invalid
dec esp

Function at 0x439e40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x439e50
sub eax, esi
sar eax, 1
mov edx, eax
lea edx, [ecx + edx*2]
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x439e82
lea ecx, [ecx]
movzx esi, word [ecx]
imul eax, eax, 0x1000193
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x439e70
pop esi
ret

Function at 0x440c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b9f81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 4], eax
lea eax, [esp + 0xc]
push eax
call fcn.00438330
mov dword [esp + 0x24], 1
push 0x5cfe94
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00440570
mov byte [esp + 0x24], 2
sub esp, 8
mov edx, esp
mov dword [esp + 0x10], esp
push eax
lea eax, [esp + 0x18]
push eax
push edx
call fcn.0041fb60
add esp, 0xc
mov byte [esp + 0x2c], 3
mov esi, dword [esp + 0x34]
push esi
mov byte [esp + 0x30], 2
call fcn.0043f9e0
add esp, 0xc
mov dword [esp + 4], 1
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x14]
call fcn.0042ee10
mov byte [esp + 0x24], 0
lea ecx, [esp + 0xc]
call fcn.0042ee10
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 4
Function at 0x44d9d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bba6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ecx
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 8], esi
mov dword [esi + 8], edx
call fcn.0044d890
xor eax, eax
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x28]
mov byte [esi + 0x30], cl
mov byte [esi + 0x31], al
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x44d9ee
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bba6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ecx
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 8], esi
mov dword [esi + 8], edx
call fcn.0044d890
xor eax, eax
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x28]
mov byte [esi + 0x30], cl
mov byte [esi + 0x31], al
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14