joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51d920
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6091d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x51dacf
movzx eax, word [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jne 0x51d9ac
cmp dword [ebp - 0x118], 0
jne 0x51d994
cmp dword [ebp - 0x110], 2
jne 0x51d994
pop edi
mov dword [esi], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x51da17
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x51d9d1
pop edi
mov dword [esi], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x51d9ee
pop edi
mov dword [esi], 3
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x51dabd
xor eax, eax
cmp byte [ebp - 6], 1
pop edi
setne al
add eax, 3
mov dword [esi], eax
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x51dab7
cmp byte [ebp - 6], 1
jne 0x51da71
mov ecx, dword [ebp - 0x118]
cmp ecx, 2
je 0x51da59
cmp ecx, 3
je 0x51da59
xor eax, eax
cmp ecx, 1
pop edi
sete al
lea eax, [eax*2 + 5]
mov dword [esi], eax
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 9
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x51da9a
mov dword [esi], 8
pop edi
mov dword [esi], 6
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x51da82
pop edi
mov dword [esi], 0xa
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
mov dword [esi], 0xffffffff
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffffe5
pop edi
xor ecx, ebp
pop esi
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
Function at 0x5212a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x6091d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x414]
mov esi, ecx
push 0
push eax
call fcn.0056bdd0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056bdd0
add esp, 0x18
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0x104
test esi, esi
je 0x5213d4
lea eax, [ebp - 0x418]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsSCANNER.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5213d4
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.Path
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5213d4
push ecx
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
push ecx
lea ecx, [ebp - 0x414]
call fcn.0051f8c0
test eax, eax
js 0x5213c8
push str.SCANAPI.DLL
lea ecx, [ebp - 0x20c]
call fcn.0051f7a0
test eax, eax
js 0x5213c8
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00580c77
add esp, 8
test eax, eax
jne 0x5213c8
lea eax, [ebp - 0x414]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.0051f760
push dword [ebp - 0x418]
test eax, eax
js 0x5213ce
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0053cb86
mov esp, ebp
pop ebp
ret
Function at 0x5561b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x587f75
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00587c26

Function at 0x587f80
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00587db0

Function at 0x58a625
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058a178

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
mov ecx, 0x225863b4
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section._RDATA
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x7fe86b04
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x4014e6
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
push 0xfffffffffffffffb
pop eax
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x4014fa
cmp dl, 0xcc
jne 0x401544
inc eax
cmp eax, 0xffffffff
jle 0x4014ed
mov al, byte [ecx]
cmp al, 0x8b
je 0x40150a
cmp al, 0x89
jne 0x401544
cmp byte [ecx + 1], 0xff
jne 0x401544
mov eax, 0x40189c
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x436a10], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x42a014]
push eax
call dword [0x42a034]
mov al, 1
ret 0xc
xor al, al
jmp 0x401541

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x376b3675
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x64ad7dac
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40dad7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, ecx
test esi, esi
jns 0x40db05
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
and eax, 0xfffffffe
and esi, 0x7fffffff
push eax
add esi, edx
push esi
call fcn.0040db86
add esp, 0xc
jmp 0x40db82
push ebx
mov ecx, 0x7fffffff
and esi, ecx
add esi, edx
lea eax, [ebp + 8]
mov ebx, dword [esi]
and dword [ebp + 8], 0
push eax
push 4
push dword [esi + 4]
and ebx, ecx
add ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40db81
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
mov ecx, dword [eax + 0x1c]
push 0
sub ecx, edi
test byte [ebp + 0xc], 0x40
pop eax
setne al
lea eax, [eax*2 - 1]
push eax
mov eax, dword [0x649d84]
imul eax, dword [esi]
push eax
mov eax, dword [0x649d8c]
imul eax, dword [esi]
push eax
mov eax, dword [0x649d80]
mov edx, dword [esi + 4]
xor eax, ecx
push eax
mov ecx, ebx
call fcn.0040e105
add esp, 0x14
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x40e0b5
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [ecx + 0x3c]
add ebx, ecx
push ebp
movzx eax, word [ebx + 0x14]
lea ebp, [ebx + 0x18]
add ebp, eax
push esi
xor eax, eax
xor esi, esi
push edi
mov dword [esp + 0x10], edx
cmp ax, word [ebx + 6]
jae 0x40e0f5
mov edi, ebp
push edi
push edx
call fcn.0041dd46
pop ecx
pop ecx
test eax, eax
je 0x40e0fd
movzx eax, word [ebx + 6]
mov edx, dword [esp + 0x10]
inc esi
add edi, 0x28
cmp esi, eax
jb 0x40e0d8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
imul esi, esi, 0x28
lea eax, [esi + ebp]
jmp 0x40e0f7
Function at 0x40ec07
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x436900
call fcn.00428820
mov esi, ecx
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
push dword [ebp + 0xc]
push 0x40
push 0
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed08
or dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40ecf7
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40ecf7
mov dword [ebp - 4], 1
lea edi, [esi + 0xc0]
push dword [ebp + 0xc]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed08
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0x4550
jne 0x40ecf7
mov eax, 0x10b
cmp word [esi + 0xd8], ax
jne 0x40ecf7
movzx eax, word [esi + 0xc6]
test ax, ax
je 0x40ecf7
mov edi, eax
imul edi, edi, 0x28
movzx ecx, word [esi + 0xd4]
mov ebx, dword [esi + 0xbc]
add ecx, 0x18
add ebx, ecx
push edi
call fcn.0041de58
pop ecx
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x40eccc
push 8
jmp 0x40ed0e
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push edi
push ebx
push eax
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed08
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + edi]
mov dword [esi + 0x18], eax
xor eax, eax
jmp 0x40ed0f
push 0xb
jmp 0x40ed0e
or dword [ebp - 4], 0xffffffff
push 0x1e
pop eax
call fcn.0042885b
ret 8

Function at 0x4119f8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0xff077af4
test edi, edi
je 0x411a31
movzx eax, byte [ebx]
cdq
push 0
xor esi, edx
push 0x1000193
xor ecx, eax
push esi
push ecx
inc ebx
call fcn.004281f0
xor esi, esi
mov ecx, eax
dec edi
jne 0x411a13
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411a3a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x64d178]
or eax, dword [0x64d17c]
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
jne 0x411a9a
xor esi, esi
mov eax, esi
push 8
cdq
pop ebx
mov ecx, eax
shrd eax, edx, 1
and ecx, 1
shr edx, 1
or ecx, 0
je 0x411a7c
xor eax, 0xd7870f42
xor edx, 0xc96c5795
dec ebx
jne 0x411a61
mov dword [esi*8 + 0x64c980], eax
mov dword [esi*8 + 0x64c984], edx
inc esi
cmp esi, 0x100
jl 0x411a5b
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not ecx
not edx
test edi, edi
je 0x411acb
movzx eax, byte [edi]
xor eax, ecx
shrd ecx, edx, 8
and eax, 0xff
shr edx, 8
xor ecx, dword [eax*8 + 0x64c980]
xor edx, dword [eax*8 + 0x64c984]
inc edi
dec ebx
jne 0x411aa8
pop edi
not ecx
pop esi
not edx
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416fe1
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42986b
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x64c954], 0
push esi
je 0x417080
mov esi, 0x64c944
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00419209
mov ecx, eax
call fcn.00419432
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x417031
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00410d25
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.004190be
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x417062
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402161
cmp dword [0x64c954], 0
jne 0x41700e
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x417090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x429340
call fcn.0041e59c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x4170ae
mov eax, dword [esi]
jmp 0x4170b0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41715e
push ecx
push ecx
mov ecx, esi
call fcn.00418714
cmp eax, 0xffffffff
je 0x417103
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00410a91
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.00417090
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402161
inc bl
je 0x417103
xor al, al
jmp 0x41716a
mov ecx, dword [0x64bad4]
test ecx, ecx
je 0x417120
cmp dword [esi + 0x14], 0x10
jb 0x417117
mov eax, dword [esi]
jmp 0x417119
mov eax, esi
push 0
push eax
call ecx
jmp 0x41714a
cmp dword [0x64ac48], 0
je 0x417148
push 0x18
pop eax
call fcn.0041e9c0
push esp
push 0x434ff8
call fcn.0040de8b
push eax
call dword [0x64ac48]
add esp, 0xc
jmp 0x4170ff
xor eax, eax
test eax, eax
je 0x4170ff
push esi
mov ecx, 0x64c944
call fcn.0041903b
mov byte [edi], 0
jmp 0x417168
test eax, 0x410
je 0x4170ff
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417dc8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a371
call fcn.0041e59c
mov eax, 0x1030
call fcn.0041e9c0
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x645b18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x417ebe
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x417eb4
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x417eb4
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024bb
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0041098d
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402161
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a628
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x645120]
push edi
test edx, edx
je 0x41a652
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
sub edx, 4
dec eax
jne 0x41a644
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41a683
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41a683
mov esi, dword [0x645120]
jmp 0x41a667
pop edi
pop esi
pop ebp
ret
Function at 0x425f72
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x644b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041af1e]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041f53e
mov dword [ebp - 0x14], eax
cmp dword [0x64ab78], edi
jne 0x426063
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x425ff0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x426143
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x426143
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426143
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x64ab78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x64ab7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x64ab80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64ab88], eax
test eax, eax
je 0x426060
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64ab84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x426088
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42607b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42609d
push 4
pop eax
jmp 0x426145
cmp dword [ebp - 0x14], edi
je 0x42609d
push dword [0x64ab78]
call dword [fcn.0041af22]
push 3
jmp 0x426082
mov eax, dword [0x64ab84]
mov ebx, dword [fcn.0041af22]
cmp eax, esi
je 0x4260fb
cmp dword [0x64ab88], esi
je 0x4260fb
push eax
call ebx
push dword [0x64ab88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4260fb
test eax, eax
je 0x4260fb
call ecx
test eax, eax
je 0x4260f0
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 0x4260f0
test byte [ebp - 8], 1
jne 0x4260fb
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42612b
mov eax, dword [0x64ab7c]
cmp eax, esi
je 0x426128
push eax
call ebx
test eax, eax
je 0x426128
call eax
mov edi, eax
test edi, edi
je 0x426128
mov eax, dword [0x64ab80]
cmp eax, esi
je 0x426128
push eax
call ebx
test eax, eax
je 0x426128
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x64ab78]
call ebx
test eax, eax
je 0x426143
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x426145
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f29f
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c008]
jne 0x401010
repz ret
jmp fcn.004015e2

Function at 0x405845
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040300f
and dword [ebp - 4], 0
cmp dword [0x43f7d4], 0
mov ebx, eax
jne 0x4058f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4059a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4059a7
push eax
call fcn.00402f9d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f7d4], eax
call esi
push eax
call fcn.00402f9d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f7d8], eax
call esi
push eax
call fcn.00402f9d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43f7dc], eax
call esi
push eax
call fcn.00402f9d
pop ecx
mov dword [0x43f7e4], eax
test eax, eax
je 0x4058f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f9d
pop ecx
mov dword [0x43f7e0], eax
mov eax, dword [0x43f7e0]
cmp eax, ebx
je 0x40594e
cmp dword [0x43f7e4], ebx
je 0x40594e
push eax
call fcn.00403018
push dword [0x43f7e4]
mov esi, eax
call fcn.00403018
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40594e
test edi, edi
je 0x40594e
call esi
test eax, eax
je 0x405945
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405945
test byte [ebp - 0xc], 1
jne 0x40594e
or dword [ebp + 0x10], 0x200000
jmp 0x405987
mov eax, dword [0x43f7d8]
cmp eax, ebx
je 0x405987
push eax
call fcn.00403018
pop ecx
test eax, eax
je 0x405987
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405987
mov eax, dword [0x43f7dc]
cmp eax, ebx
je 0x405987
push eax
call fcn.00403018
pop ecx
test eax, eax
je 0x405987
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43f7d4]
call fcn.00403018
pop ecx
test eax, eax
je 0x4059a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4059a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433010
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x43c008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x812534], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x812378], eax
jne 0x433051
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401006
add esp, 0x404
ret
Function at 0x433080
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
cmp ebp, 0x182
jne 0x4330a7
push 0
push 0
push 0
push str.bojeduvugetocoyayuweyukelibari
push str.zabusegagelapacedowi
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
xor edi, edi
test ebp, ebp
jle 0x4330e7
push esi
mov edi, edi
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], 0
call fcn.00433070
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 0x14], eax
nop
sub dword [esp + 0x14], 0x46
mov al, byte [esp + 0x14]
xor byte [edi + ebx], al
inc edi
cmp edi, ebp
jl 0x4330b0
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x433102
mov dword [0x812668], 0xa62e7790
mov dword [0x81266c], 0xffffffff
pop ecx
ret

Function at 0x433110
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x43c008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x43cff0]
push ebx
mov ebx, dword [0x81237c]
push esi
mov esi, dword [0x812534]
push eax
call fcn.00433010
add esp, 4
cmp dword [0x812534], 0x2f
jne 0x43314f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.00433080
add esp, 4
cmp dword [0x812534], 0x568
pop esi
pop ebx
jne 0x433175
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret