joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000efb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x1000f110
lea eax, [ecx - 1]
mov ebx, dword [0x10046220]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x10046228
lea eax, [esi + esi]
push eax
call fcn.1000b740
mov ecx, dword [0x10046220]
lea edi, [esi - 1]
mov dword [0x10046234], edi
mov dword [0x10046238], esi
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x1000f107
mov eax, ecx
nop dword [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
mov edx, dword [0x10046228]
imul esi, esi, 0x1000193
and esi, edi
mov edi, dword [edx + esi*8]
lea ebx, [edx + esi*8]
mov dword [ebp - 4], ebx
cmp edi, dword [ebp - 8]
jne 0x1000f073
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x1000f0d9
mov edx, dword [ebx + 4]
mov esi, dword [eax + 8]
cmp esi, dword [edx + 8]
jne 0x1000f0aa
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1000f0a5
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp - 4]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x1000f0d9
cmp edi, edx
je 0x1000f0bc
nop
mov edx, dword [edx + 4]
cmp esi, dword [edx + 8]
je 0x1000f0eb
cmp edi, edx
jne 0x1000f0b0
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp - 4]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov eax, ecx
cmp ecx, dword [ebp - 8]
je 0x1000f107
mov edi, dword [0x10046234]
jmp 0x1000f020
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1000f0d9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.10012510
int3
Function at 0x100101e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov ecx, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 4], ecx
lea edi, [ecx - 1]
sar edi, 1
cmp edx, edi
jge 0x1001022a
nop dword [eax]
lea ecx, [eax + eax]
xor eax, eax
movsd xmm0, qword [esi + ecx*8 + 8]
comisd xmm0, xmmword [esi + ecx*8 + 0x10]
seta al
xor eax, 1
inc eax
add eax, ecx
movsd xmm0, qword [esi + eax*8]
movsd qword [esi + edx*8], xmm0
mov edx, eax
cmp eax, edi
jl 0x10010200
mov ecx, eax
cmp eax, edi
jne 0x10010246
mov edx, dword [ebp - 4]
test dl, 1
jne 0x10010246
movsd xmm0, qword [esi + edx*8 - 8]
lea ecx, [edx - 1]
movsd qword [esi + eax*8], xmm0
lea eax, [ecx - 1]
sar eax, 1
cmp ebx, ecx
jge 0x10010289
mov edx, dword [ebp + 0xc]
movsd xmm1, qword [edx]
nop word [eax + eax]
movsd xmm0, qword [esi + eax*8]
comisd xmm1, xmm0
jbe 0x10010279
movsd qword [esi + ecx*8], xmm0
mov ecx, eax
dec eax
sar eax, 1
cmp ebx, ecx
jl 0x10010260
movsd xmm0, qword [edx]
pop edi
movsd qword [esi + ecx*8], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
movsd xmm0, qword [eax]
movsd qword [esi + ecx*8], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100254cf
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002556c
push ebx
push esi
call fcn.10025498
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100253e1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10025519
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002556b
push edi
push eax
call fcn.10021ad8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10025539
call fcn.10021a9e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002556a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100253e1
add esp, 0x20
test eax, eax
jne 0x10025558
push edi
call fcn.10021a9e
jmp 0x10025560
push ebx
call fcn.10021a9e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100259b3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100363a8
push 0x100363a0
push str.FlsAlloc
push 0x1e
call fcn.1002587d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100259e7
push dword [ebp + 8]
mov ecx, esi
call dword [0x10032210]
call esi
jmp 0x100259ed
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10025a31
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100363b8
push 0x100363b0
push str.FlsGetValue
push 0x20
call fcn.1002587d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10025a68
push dword [ebp + 8]
mov ecx, esi
call dword [0x10032210]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002eee0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002ef0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002ef0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x403e9c
Capabilities:
Encode data using xor

Disassembly:
call fcn.00403ddc
sub ecx, ecx
sub ecx, 0xffffff87
call 0x403e9c
rcr byte [esi - 0x7f], 0x76
push cs
test al, 0xfe
mov eax, dword [0xfcee8346]
xor dword [esi + 0xe], 0x46a1fea8
sub esi, 0xfffffffc
loop 0x403e9f
push esp
inc ebp
sahf
xchg ebx, eax
xor esp, ebx
dec edx
dec edx
imul byte [eax - 0xfaa770]
invalid
Function at 0x405910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
jmp 0x40591f
add eax, edx
jmp 0x40592d
mov ecx, dword [eax + 0x18]
jmp 0x40593f
push eax
nop
jmp 0x40594f
mov ebx, dword [eax + 0x20]
nop
jmp 0x405963
add ebx, edx
nop
nop
test ecx, ecx
nop
jmp 0x40597b
je 0x405ad5
nop
jmp 0x40598c
nop
jmp 0x40599b
xor edi, edi
nop
jmp 0x4059ae
dec ecx
nop
mov esi, dword [ebx + ecx*4]
add esi, edx
nop
jmp 0x4059c2
xor eax, eax
jmp 0x4059d8
lodsb al, byte [esi]
jmp 0x4059eb
ror edi, 0xd
nop
add edi, eax
nop
cmp al, ah
jmp 0x405a06
jne 0x4059b5
nop
nop
add edi, dword [ebp - 8]
nop
jmp 0x405a26
cmp edi, dword [ebp + 0x24]
jmp 0x405a38
jne 0x405966
nop
pop eax
nop
mov ebx, dword [eax + 0x24]
jmp 0x405a57
add ebx, edx
jmp 0x405a6d
mov cx, word [ebx + ecx*2]
nop
mov ebx, dword [eax + 0x1c]
add ebx, edx
nop
jmp 0x405a8c
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
nop
pop ebx
nop
jmp 0x405aac
pop ebx
nop
popal
nop
pop ecx
pop edx
jmp 0x405ac4
push ecx
jmp eax
pop eax
nop
jmp 0x405ae8

Function at 0x409120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfffffffc
push eax
inc ebp
adc byte [ebx + 0x57560c4d], cl
push eax
lea edx, [ecx - 0x2c]
push ecx
pop ds
call 0xffee6b10
mov eax, dword [ebp - 0x10]
fldcw word [ebp - 0xfba7401]
mov ecx, dword [ebp + 8]
cmp byte [ebx + 0xa], 0
add byte [eax], dh
mov ch, byte [edi - 0x7b]
fadd st(4)
mov al, byte [eax]
cmp al, 4
test eax, ebx
les ecx, [esi]
mov byte [ecx - 1], dl
inc eax
inc ecx
mov dl, byte [eax]
mov byte [ecx - 1], dl
mov ah, byte [ecx + eax - 0x75]
push ebp
call 0x8d8192ef
or al, 0x95
add ebp, eax
inc eax
add dh, cl
add dword [eax], esp
inc ecx
dec ebp
adc byte [edx - 0x5caf75ef], dh
inc ecx
inc eax
mov byte [ecx], dl
rol byte [eax - 0x20], 0x41
mov byte [ecx], al
add byte [ebp - 0x1c], 0x99
test dword [edi + 0x6c], 0x412001c6
add al, 0x30
sub byte [esi + 0x30], 0x88
add dword [ebx - 0x77be1fbb], ecx
adc dword [ebp - 0x39010867], ebx
scasb al, byte es:[edi]
and byte [ecx + 4], al
xor byte [eax + 0x18861c2], al
mov eax, dword [ebp - 0x24]
jg 0x409136
adc dword [ecx - 0x67], eax
idiv esi
mov byte [ecx], 0x3a
inc ecx
add al, 0x30
add dl, 0x30
mov byte [ecx], al
mov edi, dword [edx + 0x115fd0d8]
inc ecx
cdq
idiv esi
cmp dword [ecx], eax
cmp ah, byte [edx - 0x3d7fcffc]
xor byte [eax + 0x11884101], cl
inc ecx
das
push ebp
in al, dx
xchg dword [ecx + 0x68], ebx
add byte [edx - 0x3a], bl
clc
and byte [ecx + 0x23], al
mov dl, 0x6c
pop es
add byte [eax], al
pop edx
invalid
Function at 0x40abf0
Capabilities:
Encode data using xor

Disassembly:
in eax, 0x66
mov dh, 0xc8
mov esp, dword [ecx + 0x10]
or ch, 0xd8
and esi, 0x56ff
mov word [eax], cx
sbb esi, 2
cmc
dec eax
pop edx
fsubr st(0), st(0)
add byte [esi - 0x77], ah
xor byte [edi], ch
shr byte [ebx], 0x89
inc ebp
adc byte [ebx - 0x5843a283], cl
test dword [esi - 0x77], ebp
inc ebp
imul ecx, dword [edi], 0xffffff85
cmc
cmpsd dword [esi], dword es:[edi]
invalid
push ebp
mov ebp, esp
test byte [edi + 0xc558b08], cl
in eax, dx
push esi
push edi
mov edi, dword [edx]
sar bh, cl
mov dword [esp + edi*8 + 0x44], edi
dec dword [ecx - 0x27bb0384]
pop edi
pop esi
jl 0x40abff
inc esp
fcomp dword [edi + 0x5e]
xor eax, eax
loop 0x40ab96
in eax, 0x5d
fcom dword [eax]
xor al, 0x8b
jge 0x40ac0f
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
enter 0x5e1, 0x75
or byte [ebx], dh
leave
mov cx, word [esi]
add dword [esi - 0x7fd97efe], 0xffffffd2
add byte [eax], al
mov dword [edi + 0x4f16d408], edi
mov dword [edx], edi
out dx, al
xor byte [esi - 0x77], cl
push ebx
mov eax, dword [ebp + 0x10]
or eax, 0x45864008
jmp 0x40ad51
mov eax, dword [edx]
test eax, eax
mov esi, eax
cld
jne 0x40ac01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2b

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x4011e0
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub edx, 0xcf
mov ebx, 0xc8
ror edi, 0xf4
neg esi
sub edi, 0x36
neg edx
dec edx
sbb edi, 0x37
mov edx, 0xa6
rcl esi, 0x25
add ebx, 0x6e
sub eax, 0x24
rol edi, 0x78
dec edx
inc edx
ror edx, 0x8c
sbb eax, 0xa2
and edi, 0x38
add ebx, 0x46
rcr edx, 0xc6
dec eax
sub edx, 0xc7
sub esi, 0xb6
ror eax, 0xad
rcl esi, 0x45
inc edx
rcl ebx, 0xae
sbb eax, 0xf9
mov edx, 0xe2
rcl ebx, 0xa6
or ebx, 0xc1
bswap ebx
or ebx, 0x23
bswap eax
and edx, 0x51
neg edx
bswap edi
inc esi
rcl edi, 0x5c
add eax, 0xa5
add esi, 0
mov edx, 0xd5
imul eax
bswap esi
imul esi
inc edx
ror esi, 0x9a
not esi
imul edi
inc ebx
xor ecx, ecx
xor edi, edi
not eax
neg ebx
add edx, 0xda
bswap esi
add edi, 0x7f
dec eax
and ebx, 0x29
bswap edi
imul edi
dec ebx
bswap edx
sbb esi, 0xbb
rcr edx, 0x16
sbb edx, 0xc7
sbb edx, 0x97
sub edi, 0xd
or eax, 0x45
neg esi
add esi, 0xcf
mov edi, 0xfd
mov edi, 0xd5
rol ebx, 0x6f
add edx, 0x17
mov ebx, 0x26
inc edx
rol edx, 0xf
dec esi
dec ebx
bswap ebx
imul eax
neg edx
ror ebx, 0xfe
or edx, 0x93
bswap esi
neg edx
neg esi
inc edi
neg esi
sub edx, 0x45
inc edi
not edi
bswap eax
ror eax, 0xaf
inc eax
ror edx, 0xfb
inc edx
add edi, 0xee
mov edx, 0xd6
rcl ebx, 0xb1
sub ebx, 0x70
mov ecx, dword [ebp + 0xc]
dec edi
rcl edi, 0x3f
neg ebx
inc edx
inc edi
add eax, 0x77
imul eax
not edx
dec edx
bswap edi
inc eax
dec eax
imul esi
imul edi
bswap eax
rol eax, 0xc1
bswap edi
rcl eax, 0x12
rol edx, 0x67
sub esi, 0x35
imul edx
dec eax
add edx, 0x83
imul esi
mov eax, 0x86
sub esi, 0xf9
rcl eax, 0xac
not eax
sub eax, 0xd1
rol ebx, 0x8d
neg edx
bswap edi
rcl ebx, 0xde
rcr esi, 0x28
bswap edi
rol esi, 0xde
and edx, 0x10
bswap esi
dec eax
ror ebx, 0xd3
dec eax
imul ebx
bswap edx
add eax, 0xef
sbb ebx, 0xe8
imul esi
dec edi
not esi
inc edx
rcr eax, 0x48
mov edi, dword [ebp + 8]
xor eax, ebx
xor esi, eax
mov ebx, eax
not byte [edi]
xor eax, ebx
xor eax, eax
mov ebx, esi
add byte [edi], 0x50
xor ebx, esi
xor eax, esi
xor eax, ebx
sub byte [edi], 0x76
xor esi, esi
xor esi, ebx
mov eax, eax
imul byte [edi]
inc edi
loop 0x401398
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4069e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d3d0]
jne 0x4069ef
repz ret
jmp fcn.00408289
Function at 0x407076
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.00405e12
and dword [ebp - 4], 0
cmp dword [0x40e268], 0
mov ebx, eax
jne 0x407127
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4071d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4071d8
push eax
call fcn.00405da0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e268], eax
call esi
push eax
call fcn.00405da0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e26c], eax
call esi
push eax
call fcn.00405da0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e270], eax
call esi
push eax
call fcn.00405da0
pop ecx
mov dword [0x40e278], eax
test eax, eax
je 0x407127
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405da0
pop ecx
mov dword [0x40e274], eax
mov eax, dword [0x40e274]
cmp eax, ebx
je 0x40717f
cmp dword [0x40e278], ebx
je 0x40717f
push eax
call fcn.00405e1b
push dword [0x40e278]
mov esi, eax
call fcn.00405e1b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40717f
test edi, edi
je 0x40717f
call esi
test eax, eax
je 0x407176
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407176
test byte [ebp - 0xc], 1
jne 0x40717f
or dword [ebp + 0x10], 0x200000
jmp 0x4071b8
mov eax, dword [0x40e26c]
cmp eax, ebx
je 0x4071b8
push eax
call fcn.00405e1b
pop ecx
test eax, eax
je 0x4071b8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4071b8
mov eax, dword [0x40e270]
cmp eax, ebx
je 0x4071b8
push eax
call fcn.00405e1b
pop ecx
test eax, eax
je 0x4071b8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e268]
call fcn.00405e1b
pop ecx
test eax, eax
je 0x4071d8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4071da
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40633c
pop dword [ebp - 0x4c]
mov eax, 0x37242061
add eax, 0xc91c42db
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x57f4b514
sub dword [ebp - 0x5c], 0x9a26fc9
mov dword [ebp - 0x58], 0x9b6b9899
add dword [ebp - 0x58], 0x96c7b3ac
mov dword [ebp - 0x54], 0x25135f78
sub dword [ebp - 0x54], 0xd8c71b4a
mov dword [ebp - 0x50], 0x66249bee
add dword [ebp - 0x50], 0x99db6412
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x9d6ff8a4
sub eax, 0x9d2f8844
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xefd4f91f
sub dword [ebp - 0x5c], 0x7b628fc9
mov dword [ebp - 0x58], 0xd2cb6ce7
add dword [ebp - 0x58], 0x6ea0f48e
mov dword [ebp - 0x54], 0x64d60d0d
add dword [ebp - 0x54], 0xfe995f5f
mov dword [ebp - 0x50], 0xff1b1ac2
add dword [ebp - 0x50], 0xe4e53e
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x35465
push 0
call eax
mov ecx, 0xec94cc53
add ecx, 0x136b764d
mov ebx, eax
mov esi, 0xa52a3468
add esi, 0x5b16cb98
add esi, dword [ebp - 0x4c]
mov edi, 0x3806558
xor dword [ebp - 0x30], 0x1866d5a4
mov edx, dword [esi]
sub dword [ebp - 0x10], edx
xor edx, edi
xor dword [ebp - 0x14], edx
mov dword [ebx], edx
sub dword [ebp - 0x2c], ecx
add ebx, 4
add esi, 0x3d35c227
sub esi, 0x3d35c223
loop 0x406453
add eax, 0xfd53
xor ebx, ebx
add ebx, eax
add eax, 0x9e77171d
sub eax, 0x9e771718
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4f884fec
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4f88d064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7c
pop ebx
push ebx
lea eax, [ebp - 0x80]
mov edi, edx
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x104], ebx
mov edx, ebx
lea ecx, [ebp - 0xfc]
push esi
call fcn.4f8837a5
test eax, eax
js 0x4f8850c4
push 0x4f881400
lea ecx, [ebp - 0xfc]
call fcn.4f884e06
test eax, eax
js 0x4f8850c4
lea eax, [ebp - 0x100]
xor ebx, ebx
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], ebx
call fcn.4f889f77
test eax, eax
jne 0x4f8850c4
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x100]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4f8850c4
mov al, byte [ebp - 0x80]
test al, al
je 0x4f8850c4
lea edx, [ebp - 0x80]
mov ecx, edx
inc ecx
test al, al
je 0x4f8850b5
cmp al, 0x5c
je 0x4f8850ad
cmp al, 0x3a
jne 0x4f8850af
mov edx, ecx
mov al, byte [ecx]
test al, al
jne 0x4f8850a0
push edx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [edi], ax
xor eax, eax
inc eax
jmp 0x4f8850c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f88bbb0
leave
ret
Function at 0x4f8873f2
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4f88d064]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.4f8866f9
push 0x4f881758
lea ecx, [esp + 0x1c]
call fcn.4f88661e
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x4f887472
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4f8874a8
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc0
call fcn.4f8870f3
mov edi, eax
jmp 0x4f8874a8
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.4f8872dd
mov ebx, eax
test ebx, ebx
jns 0x4f88749a
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc6
call fcn.4f8870d4
mov edi, ebx
jmp 0x4f8874a8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x4f8874b2
push esi
call fcn.4f887173
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.4f88bbb0
mov esp, ebp
pop ebp
ret 8