joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b2c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40b2d7
pop dword [ebp - 0x2c]
mov eax, 0x1104fe7b
sub eax, 0x10c44ba4
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x4d0aa
push 0
mov eax, 0x786048a7
sub eax, 0x781b95f7
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x3bb7
xor edi, edi
add edi, eax
mov esi, 0x488e00
add esi, dword [ebp - 0x2c]
mov ebx, 0x4b5e9d64
mov dword [ebp - 0x14], 0x48558260
mov edx, dword [esi]
xor dword [ebp - 0x20], 0x581dc465
add edx, ebx
sub dword [ebp - 4], 0x9690e8ca
mov dword [edi], edx
xor dword [ebp - 0x1c], 0x754be25f
add edi, 4
add esi, 0x3d6d346a
sub esi, 0x3d6d3466
loop 0x40b326
add eax, 0xe1af
xor ebx, ebx
add ebx, eax
add eax, 0x81ba0194
sub eax, 0x81ba018f
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x1322027
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x134b094]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.013325c0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x13220d9
push edi
mov edi, 0x1346bb8
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1322072
sub eax, edx
sar eax, 1
je 0x13220d8
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [fcn.01343120]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.01330d7d
push 0x1346bb0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.01330824
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x13220d8
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.0133109a
push dword [ebp - 0x78]
call fcn.01330ad2
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.013305a8
add ebp, 0x198
leave
ret

Function at 0x1323b95
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x1323c5a
cmp esi, 0xa
jb 0x1323c5a
shl eax, 2
mov dword [ebp - 0xc], eax
inc eax
push eax
call fcn.01330606
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp + 8]
lea edi, [ebp - 0xc]
call fcn.01323b27
add esp, 0xc
test eax, eax
je 0x1323c51
push 0x13468c4
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.01330824
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x1323c01
mov dword [ebp - 8], 0xfffffffe
jmp 0x1323c6d
push dword [ebp - 4]
push dword [ebp - 0xc]
push 1
push ebx
call fcn.013309d9
add esp, 0x10
cmp eax, dword [ebp - 0xc]
je 0x1323c20
mov dword [ebp - 8], 0xfffffffe
jmp 0x1323c5e
mov esi, dword [0x1343124]
call esi
xor edx, edx
mov ecx, 0x1f4
div ecx
mov edi, edx
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
push dword [ebp - 4]
push edi
push 1
add edx, ebx
push edx
call fcn.013309d9
add esp, 0x10
jmp 0x1323c5e
mov dword [ebp - 8], 0xfffffffd
jmp 0x1323c5e
or dword [ebp - 8], 0xffffffff
cmp dword [ebp - 4], 0
je 0x1323c6d
push dword [ebp - 4]
call fcn.01330ad2
pop ecx
test ebx, ebx
je 0x1323c78
push ebx
call fcn.013306d0
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x132540c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x1325417
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x13254c9
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1348710]
inc ecx
sub edi, 8
dec esi
jne 0x132542e
pop ebx
test edi, edi
je 0x13254e2
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x1348710]
inc ecx
dec edi
jne 0x13254cd
pop esi
not eax
pop edi
ret

Function at 0x13254e7
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x1348710]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1348710]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x74b00431
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x77fe619f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x31bb6bdf
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
mov ecx, 0x56d528e7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x4052dc
cmp dword [edi], ebx
je 0x401f8d
push str._mozilla.org_observer_service_1
mov edx, 0x405874
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.004038a8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401f20
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0x67
pop edi
push edi
push str.c:_buildsmoz2_slavem_in_w32_000000000000000000000_build_srcobj_firefoxdistinclude_testingTestHarness.h
push 0x4053c8
push str.Assertion_failure:__s__at__s:_d_n
push 2
call esi
pop ecx
push eax
call fcn.0040358b
push 2
call esi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
add esp, 0x1c
int3
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_qm
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_telemetry
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.00403957
mov eax, dword [ebp - 4]
test eax, eax
je 0x401f8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x401fc4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x401fc4
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00402e8f
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.0040360d
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x401fe0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x401fed
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x401ff9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x402009
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..3ean
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x51e555f0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..7LWLf
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x67ae085a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x408150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 7]
push ebx
mov ebx, dword [ebp - 0x22]
push edi
mov ebp, dword [edx]
sbb byte [ebp + 0x720d77c0], al
inc esi
cmp ebx, 0xffffff96
ja 0x40813c
test dword [eax - 0x3f7ade8b], eax
sub al, 0x34
jl 0x40817e
cmp ebx, 0x7f65ff67
ja 0x4081a8
cmp eax, 0xffffffff
or esp, dword [0xfb81087f]
inc dword [eax]
add byte [eax - 0x137ae48e], al
invalid

Function at 0x408370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
int1
nop
nop
push ebp
mov ebp, esp
sub esp, 0x5c
mov al, byte [ebp + 8]
push ebx
pushfd
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x18]
cmp al, 0x66
jne 0x4083de
invalid
add dl, ah
les ecx, [eax]
jmp 0x4083f9
test eax, eax
je 0x408411
mov esp, 0xff1e43fb
xor eax, eax
mov edx, dword [ebp + 0x24]
mov esi, 0x8b20458b
fcompi st(7)
ror dword [ecx - 0x75], 1
clc
mov edi, eax
mov dword [esi], ecx
inc ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1c]
fstp qword [esi + 0x5b]
invalid

Function at 0x4086e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jo 0x40871f
loopne 0x408678
add byte [edx + 0x73], bh
insb byte es:[edi], dx
pop edx
push ss
pop ss
jno 0x4086e6
cli
mov dword [0x9024588b], eax

Function at 0x4089eb
Capabilities:
Encode data using xor

Disassembly:
sbb al, 0xd4
xor dword [edi + 0x5ccae141], esi
call fcn.004088d7
xor ecx, ecx
sub cx, 0xff7b
call 0x4089eb
rcr byte [esi - 0x7f], 0x76
push cs
lds edx, [edi + edi*8]
rol dword [ebx - 0xb1d0312], 0x7d
in eax, dx
pop ebx
lcall 0xb30, 0xb11824ce
sahf
in al, dx
fisttp qword [esi - 0x42]
inc esi
sti
add esi, eax
sbb byte [edx], 0xfc
jg 0x4089ce
hlt
Function at 0x40b20b
Capabilities:
Write file on windows

Disassembly:
bound eax, qword [ebp + 0x330474c0]
out dx, eax
insb byte es:[edi], dx
jno 0x40b232
push sym.imp.KERNEL32.dll_GetLastError
iretd
test dword [ebp + 0x1a], esi
sbb dword [eax], 0x1a7
jne 0x40b28d
mov ecx, dword [ebp + 0x6d]
mov edx, dword [ebp + 0x10]
inc edx
pop edi
mov eax, 0x2a01111c
lea edx, [ecx]
pop esi
pop ebp
ret
jno 0x40b2a3
mov edx, dword [ebp + 0x10]
pop ebx
pop edi
mov eax, 0x1117e
mov dword [ecx], edx
pop esi
bnd ret
je 0x40b2bd
mov dl, byte [esi + 8]
test dl, dl
push ds
adc dword [ebx - 0x32fcead2], ecx
mov ecx, dword [esi + 0x54]
cmp dword [ebx], 0
ja 0x40b30f
push eax
inc edi
dec esi
push esp
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
in eax, 0x5f
mov byte [0xc35d5e11], al
adc byte [eax - 0x6f6fd4cc], 0x55
push ebp
push es
movsd dword es:[edi], dword [esi]
and al, 0x56
mov esi, dword [edx]
mov dl, 0x8a
inc esi
sub al, 0x84
cmpsb byte [esi], byte es:[edi]
je 0x40b3a1
mov ecx, dword [esi + 0x48]
xor eax, eax
push ebx
test byte [ebx], ch
add dword [edi - 0x77], edx
inc ebp
cld
mov dword [ebp + 8], eax
ret
scasb al, byte es:[edi]
pop eax
invalid
jmp 0x40b313
mov edx, dword [esi + 4]
loope 0x40b365
cld
mov ebp, 0x5350fe94
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b327
mov eax, dword [ebp - 0x3e]
mov edx, dword [esi - 0x20]
mov ecx, dword [esi - 0x3d]
add edx, eax
adc ecx, 0
sbb edi, eax
add ebx, eax
mov dword [esi + 0x50], edx
test edi, edi
mov dword [esi - 0x53], ecx
ja 0x40b307
mov eax, dword [ebp + 8]
mov bl, 0xc7
invalid
inc ebp
or bl, ch
or ah, byte [ecx - 0x29]
add eax, 0x460afc79
mov dword [ebp + 8], eax
add dword [ebp - 4], eax
mov edx, 0x4ed48456
push esp
mov al, 0x36
mov eax, dword [ebp + 8]
mov dword [esi + 0x50], edx
add dword [eax + eax + 0x15], 0xffffffc0
mov dword [esi + 0x54], ecx
jnp 0x40b337
mov dword [esi - 0x68], 0x7f000000
les eax, [eax + 8]
pop edi
pop ebx
pop esi
mov eax, dword [edi]
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xeffe
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
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
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
push edi
xor edi, edi
cmp dword [0x2b006dc], 0x594
mov dword [ebp - 8], eax
jne 0x40103b
push edi
lea eax, [ebp - 0x830]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x427c68]
mov dword [ebp - 0x20], eax
mov eax, dword [0x427c6c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
call fcn.00401000
mov eax, dword [0x427c70]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x427c74]
add esi, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
cmp dword [0x2b006dc], 0xc
mov dword [ebp - 4], eax
jne 0x4010b6
push edi
lea eax, [ebp - 0x430]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push edi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2b006dc]
cmp eax, 0xfa9
jne 0x4010d2
mov dword [0x2b006d8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ed
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x2b0008c], edi
mov ecx, dword [ebp - 0xc]
mov edx, ebx
lea eax, [esi + ebx]
shr edx, cl
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [0x2b006d4], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
lea ecx, [esi + eax]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
shr eax, cl
add eax, dword [ebp - 0x24]
mov ecx, eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor dword [ebp - 4], ecx
sub ebx, dword [ebp - 4]
add esi, 0x61c88647
dec dword [ebp - 0x1c]
jne 0x401076
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x40372a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42729c]
jne 0x403734
repz ret
jmp fcn.00405f0b

Function at 0x405873
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.00402f44
and dword [ebp - 4], 0
cmp dword [0x42bf84], 0
mov ebx, eax
jne 0x405924
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4059d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4059d5
push eax
call fcn.00402ed2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42bf84], eax
call esi
push eax
call fcn.00402ed2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42bf88], eax
call esi
push eax
call fcn.00402ed2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42bf8c], eax
call esi
push eax
call fcn.00402ed2
pop ecx
mov dword [0x42bf94], eax
test eax, eax
je 0x405924
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402ed2
pop ecx
mov dword [0x42bf90], eax
mov eax, dword [0x42bf90]
cmp eax, ebx
je 0x40597c
cmp dword [0x42bf94], ebx
je 0x40597c
push eax
call fcn.00402f4d
push dword [0x42bf94]
mov esi, eax
call fcn.00402f4d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40597c
test edi, edi
je 0x40597c
call esi
test eax, eax
je 0x405973
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405973
test byte [ebp - 0xc], 1
jne 0x40597c
or dword [ebp + 0x10], 0x200000
jmp 0x4059b5
mov eax, dword [0x42bf88]
cmp eax, ebx
je 0x4059b5
push eax
call fcn.00402f4d
pop ecx
test eax, eax
je 0x4059b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4059b5
mov eax, dword [0x42bf8c]
cmp eax, ebx
je 0x4059b5
push eax
call fcn.00402f4d
pop ecx
test eax, eax
je 0x4059b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42bf84]
call fcn.00402f4d
pop ecx
test eax, eax
je 0x4059d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4059d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x455020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ff8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fd8
xor eax, eax
push ebp
push 0x402fd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403014
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x455020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x455020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ca4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x457048], 0
je 0x403d05
cmp word [0x45721c], 0xd7b2
jne 0x403ccd
cmp dword [0x457224], 0
jbe 0x403ccd
mov eax, 0x457218
call dword [0x457234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45506c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x455030], 0
jne 0x403d21
push 0
push 0x455064
push 0x45506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret