joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ea02
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002ea26
xor eax, eax
jmp 0x1002eb82
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002ea44
xor eax, eax
jmp 0x1002eb82
push 1
lea eax, [ebp - 0xc]
push eax
push 0x699a
push dword [ebp - 8]
call fcn.1002c8ed
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002ea67
xor eax, eax
jmp 0x1002eb82
push 0x32aa
lea eax, [ebp - 0xc]
push eax
push 0x4a87
lea eax, [ebp - 8]
push eax
push 0x549c
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x2f70
lea eax, [ebp - 0x10]
push eax
call fcn.1002cb75
add esp, 0x28
push dword [ebp - 8]
push 0x23e0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.1002d2e9
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push 1
push 0x860
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002d200
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x1002eae9
push 0x1aa2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1002d280
add esp, 0x10
push dword [ebp - 4]
call fcn.1002c7d0
pop ecx
test eax, eax
jne 0x1002eafd
xor eax, eax
jmp 0x1002eb82
push 0x3dfc
lea eax, [ebp - 4]
push eax
push 1
push 0x510
push 0x7e3d
call fcn.1002d2e9
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002eb6a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002eb39
xor eax, eax
jmp 0x1002eb82
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002eb52
xor eax, eax
jmp 0x1002eb82
push 0xfe7
push 1
push 0x2206
lea eax, [ebp - 4]
push eax
call fcn.1002df13
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002eb7b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002eb7f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1005a280
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x1066c9fa]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x1066cb10
call fcn.10058c20
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x1005a880
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1008041c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x1005a8a4
jmp 0x1005a913
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1005a8b8
jmp 0x1005a913
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x1005a8e4
jmp 0x1005a913
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x1005a905
jmp 0x1005a913
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062605
mov esp, ebp
pop ebp
ret
Function at 0x1006def8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008041c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006778d
mov dword [ebp - 0x14], eax
cmp dword [0x1066d060], esi
jne 0x1006dfeb
push 0x800
push esi
push 0x1000638c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006df78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006e0cb
push esi
push esi
push 0x1000638c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006e0cb
push 0x100063a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006e0cb
push eax
call ebx
push 0x100063b0
push edi
mov dword [0x1066d060], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100063c0
push edi
mov dword [0x1066d064], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100063d4
push edi
mov dword [0x1066d068], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066d070], eax
test eax, eax
je 0x1006dfe8
push 0x100063f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066d06c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006e010
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006e003
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006e025
push 4
pop eax
jmp 0x1006e0cd
cmp dword [ebp - 0x14], esi
je 0x1006e025
push dword [0x1066d060]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006e00a
mov eax, dword [0x1066d06c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006e083
cmp dword [0x1066d070], edi
je 0x1006e083
push eax
call ebx
push dword [0x1066d070]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006e083
test eax, eax
je 0x1006e083
call ecx
test eax, eax
je 0x1006e078
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006e078
test byte [ebp - 8], 1
jne 0x1006e083
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006e0b3
mov eax, dword [0x1066d064]
cmp eax, edi
je 0x1006e0b0
push eax
call ebx
test eax, eax
je 0x1006e0b0
call eax
mov esi, eax
test esi, esi
je 0x1006e0b0
mov eax, dword [0x1066d068]
cmp eax, edi
je 0x1006e0b0
push eax
call ebx
test eax, eax
je 0x1006e0b0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066d060]
call ebx
test eax, eax
je 0x1006e0cb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006e0cd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062605
mov esp, ebp
pop ebp
ret
Function at 0x426ea0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426ecd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426ecd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x578204b8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3ab15ad6
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x77f5d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a7000]
push edi
jmp 0x77f5ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x77f5f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f5e0
mov eax, 1
add ebx, ebx
jne 0x77f603
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x77f614
jne 0x77f633
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f633
dec eax
add ebx, ebx
jne 0x77f620
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x77f5f8
add ebx, ebx
jne 0x77f62f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x77f685
xor ecx, ecx
sub eax, 3
jb 0x77f64b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x77f6ba
sar eax, 1
mov ebp, eax
jmp 0x77f656
add ebx, ebx
jne 0x77f656
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f624
inc ecx
add ebx, ebx
jne 0x77f664
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f624
add ebx, ebx
jne 0x77f671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x77f666
jne 0x77f682
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x77f666
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x77f6a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x77f696
jmp 0x77f5e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x77f6a4
add edi, ecx
jmp 0x77f5e6
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x77f6c2
cmp byte [edi], 7
jne 0x77f6c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x77f6c7
lea edi, [esi + 0x37d000]
mov eax, dword [edi]
or eax, eax
je 0x77f736
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x409178]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4091b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x77f6f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4091bc]
or eax, eax
je 0x77f730
mov dword [ebx], eax
add ebx, 4
jmp 0x77f711
call dword [esi + 0x4091b8]
mov ebp, dword [esi + 0x4091c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x77f76a
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x4021f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x43ba24]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x128], 0
lea edx, [ebp - 0x128]
push edx
push 0x2001f
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x402292
mov dword [ebp - 0x130], 0
cmp dword [ebp - 0x10], 0
je 0x40227d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4022dc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x138], 0
cmp dword [ebp - 0x10], 0
je 0x4022d1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x11c]
jmp 0x4023d2
mov dword [ebp - 4], 0x100
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x402361
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
call fcn.004021f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x402358
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x13c], 0
cmp dword [ebp - 0x10], 0
je 0x402350
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x120]
jmp 0x4023d2
mov dword [ebp - 4], 0x100
jmp 0x4022e3
mov dword [ebp - 0x140], 0
cmp dword [ebp - 0x10], 0
je 0x402388
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x10], 0
xor ecx, ecx
jne 0x402388
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0x10], 0
je 0x4023cc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040e83e
mov esp, ebp
pop ebp
ret 4
Function at 0x4073b5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4073e3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x407401
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040731f
jmp 0x407401
mov eax, dword [esi + 0x14]
test eax, eax
je 0x407401
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040731f
test edi, edi
mov eax, edi
jne 0x4073eb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x43d0d0]
test ecx, ecx
je 0x4074c4
jmp 0x4073b4
ret 8

Function at 0x40e83e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43ba24]
jne 0x40e848
repz ret
jmp fcn.00413ce8
Function at 0x41dee5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004145bc
xor ebx, ebx
cmp dword [0x43f890], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41dfba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41df25
xor eax, eax
jmp 0x41e07e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42fb00
push edi
call esi
cmp eax, ebx
je 0x41df1e
push eax
call fcn.00414559
mov dword [esp], 0x42faf0
push edi
mov dword [0x43f890], eax
call esi
push eax
call fcn.00414559
mov dword [esp], 0x42fadc
push edi
mov dword [0x43f894], eax
call esi
push eax
call fcn.00414559
mov dword [0x43f898], eax
lea eax, [ebp - 8]
push eax
call fcn.00411522
test eax, eax
pop ecx
pop ecx
je 0x41df88
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00413df6
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41dfba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00414559
cmp eax, ebx
pop ecx
mov dword [0x43f8a0], eax
je 0x41dfba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00414559
pop ecx
mov dword [0x43f89c], eax
mov eax, dword [0x43f89c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41e033
cmp dword [0x43f8a0], esi
je 0x41e033
push eax
call fcn.004145c5
pop ecx
call eax
cmp eax, ebx
je 0x41e000
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43f8a0]
call fcn.004145c5
pop ecx
call eax
test eax, eax
je 0x41e000
test byte [ebp - 0x18], 1
jne 0x41e033
lea eax, [ebp - 0xc]
push eax
call fcn.00411559
test eax, eax
pop ecx
je 0x41e01b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00413df6
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41e02a
or dword [ebp + 0x10], 0x200000
jmp 0x41e064
or dword [ebp + 0x10], 0x40000
jmp 0x41e064
mov eax, dword [0x43f894]
cmp eax, esi
je 0x41e064
push eax
call fcn.004145c5
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41e064
mov eax, dword [0x43f898]
cmp eax, esi
je 0x41e064
push dword [ebp - 4]
push eax
call fcn.004145c5
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43f890]
call fcn.004145c5
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4229ce
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43ba24]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00422963
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040e9c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x422a1d
cmp dword [ebp - 0x1c], 5
jb 0x422a35
jmp 0x422a31
cmp dword [ebp - 0x10], 1
jne 0x422a35
cmp dword [ebp - 0x1c], 4
ja 0x422a31
jne 0x422a35
cmp dword [ebp - 0x18], 0
jbe 0x422a35
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4304ac
call fcn.00422854
test eax, eax
jge 0x422a56
mov byte [0x440054], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040e83e
add ebp, 0x78
leave
ret
Function at 0x424850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x43ba24]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x114], 0x100
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x424880
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4248e9
cmp dword [ebp + 0x10], 0
jne 0x4248a3
mov eax, 1
jmp 0x4248eb
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4248e9
cmp dword [ebp + 0x14], 0
je 0x4248e2
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0040f7d0
add esp, 8
mov eax, 1
jmp 0x4248eb
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040e83e
mov esp, ebp
pop ebp
ret

Function at 0x424af0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.CMD5Checksum.0
push 0x40
push 0
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.0040e9c0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], 0x67452301
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0x98badcfe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], 0x10325476
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x427650
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x43ba24]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x220], 0
push 0x103
push 0
lea eax, [ebp - 0x21f]
push eax
call fcn.0040e9c0
add esp, 0xc
push 0x43fdc8
lea ecx, [ebp - 0x220]
push ecx
call fcn.0040f7d0
add esp, 8
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x104
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea edx, [ebp - 0x117]
push edx
call fcn.0040e9c0
add esp, 0xc
push 0x434168
lea eax, [ebp - 0x338]
push eax
call fcn.00401380
add esp, 8
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
mov edx, dword [ecx]
mov dword [ebp - 0x344], edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 4]
push edx
push 0x43f974
mov eax, dword [ebp - 0x344]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x331], al
lea ecx, [ebp - 0x338]
call fcn.004019a0
movzx ecx, byte [ebp - 0x331]
test ecx, ecx
je 0x4277ad
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0040f740
add esp, 8
test eax, eax
jne 0x427754
mov eax, 1
jmp 0x427829
mov byte [ebp - 0x330], 0
push 0x106
push 0
lea ecx, [ebp - 0x32f]
push ecx
call fcn.0040e9c0
add esp, 0xc
lea edx, [ebp - 0x220]
push edx
push str.__s_
lea eax, [ebp - 0x330]
push eax
call fcn.0040fa55
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x330]
push edx
call fcn.0040f740
add esp, 8
test eax, eax
jne 0x4277ad
mov eax, 1
jmp 0x427829
push 0x4341d0
lea eax, [ebp - 0x33c]
push eax
call fcn.00401380
add esp, 8
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov edx, dword [ecx]
mov dword [ebp - 0x350], edx
lea eax, [ebp - 0x220]
push eax
call fcn.0040e850
add esp, 4
push eax
lea ecx, [ebp - 0x220]
push ecx
push 1
push 0x43f974
mov edx, dword [ebp - 0x350]
push edx
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x33c]
call fcn.004019a0
xor eax, eax
cmp dword [ebp - 0x224], 0
sete al
jmp 0x427829
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040e83e
mov esp, ebp
pop ebp
ret