joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a3693
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x100b4368]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x100a36c4
xor eax, eax
jmp 0x100a384d
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x100bc180]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x100a3700
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.1003ee90
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x100a37db
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x100a3819
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x100a3764
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x100a3755
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x100a3735
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x100a37a4
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x100a37ad
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x100a3726
jmp 0x100a37af
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x100a3848
cmp dword [ebp - 0x6c], edi
je 0x100a3819
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x100a380e
call fcn.1009f770
mov dword [eax], 9
call fcn.1009f779
mov dword [eax], esi
jmp 0x100a3843
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x100a3803
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x100a37af
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x100a37af
push dword [ebp - 0x6c]
call fcn.1009f782
pop ecx
jmp 0x100a3843
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x100a3831
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x100a3831
xor eax, eax
jmp 0x100a384b
call fcn.1009f770
mov dword [eax], 0x1c
call fcn.1009f779
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x100a384b
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.1009d15f
add ebp, 0x3a0
leave
ret
Function at 0x411cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x411cf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411cf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411ce8
mov eax, 1
add ebx, ebx
jne 0x411d0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411d00
jne 0x411d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411d00
xor ecx, ecx
sub eax, 3
jb 0x411d30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411da2
mov ebp, eax
add ebx, ebx
jne 0x411d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411d48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411d6c
inc ecx
add ebx, ebx
jne 0x411d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411d4d
jne 0x411d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411d4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411d8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411d7d
jmp 0x411cee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411d8c
add edi, ecx
jmp 0x411cee
pop esi
mov edi, esi
mov ecx, 0x4c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411daa
cmp byte [edi], 0
jne 0x411daa
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 0x411daf
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411e27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x117c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411ddc
mov ecx, edi
jns 0x411e0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x117cc]
or eax, eax
je 0x411e21
mov dword [ebx], eax
add ebx, 4
jmp 0x411df9
call dword [esi + 0x117c8]
mov ebp, dword [esi + 0x117d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x411e5b
sub esp, 0xffffff80
jmp 0x403ac6
Function at 0x431005
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Packed with generic packer

Disassembly:
pushal
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]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401443
pop dword [ebp - 0x38]
mov eax, 0xa90c4c12
sub eax, 0xa8cc37cf
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x6a2334c8
sub dword [ebp - 0x48], 0x1bd0ef7d
mov dword [ebp - 0x44], 0x48527d67
sub dword [ebp - 0x44], 0x161f3122
mov dword [ebp - 0x40], 0xae4682f8
sub dword [ebp - 0x40], 0x61fa3eca
mov dword [ebp - 0x3c], 0xa87ec1f5
add dword [ebp - 0x3c], 0x57813e0b
lea eax, [ebp - 0x48]
push eax
mov eax, 0x45ea1379
sub eax, 0x45a99301
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x3c4f45fc
sub dword [ebp - 0x48], 0xc7dcdca6
mov dword [ebp - 0x44], 0xff919295
add dword [ebp - 0x44], 0x41dacee0
mov dword [ebp - 0x40], 0x99e051f
sub dword [ebp - 0x40], 0xa62e98b3
mov dword [ebp - 0x3c], 0x5387e1ec
add dword [ebp - 0x3c], 0xac781e14
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x779aa7ca
add eax, 0x88a5d8b2
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3a6a1
push 0
call eax
mov ecx, 0x5027
mov edx, eax
mov ebx, 0x451400
add ebx, dword [ebp - 0x38]
mov esi, 0x7bcbca7b
sub esi, 0xcbbea48b
mov dword [ebp - 0x30], 0x1a623b9a
mov edi, dword [ebx]
xor dword [ebp - 4], edi
sub edi, esi
sub dword [ebp - 0x10], 0x971702ae
mov dword [edx], edi
add dword [ebp - 0x10], 0x7063fd35
add edx, 0xec607544
sub edx, 0xec607540
add ebx, 0x4a5311d1
add ebx, 0xb5acee33
loop 0x401559
add eax, 0xc732e098
sub eax, 0xc731ad29
xor ebx, ebx
add ebx, eax
add eax, 0x78237e3b
add eax, 0x87dc81ca
mov ecx, 0xd2d06d4a
add ecx, 0x2d6f92b6
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0xaf51b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00af5140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00af5140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00af5140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00af5140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xaf5bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xaf5c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb0787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xaf5c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xaf5c52
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000f030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000f03f
pop dword [ebp - 0x44]
mov eax, 0x75a62394
sub eax, 0x65a53355
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x3a983b69
add dword [ebp - 0x54], 0x13ba09e2
mov dword [ebp - 0x50], 0xc802ce67
sub dword [ebp - 0x50], 0x95cf8222
mov dword [ebp - 0x4c], 0x7bbbb407
add dword [ebp - 0x4c], 0xd0909027
mov dword [ebp - 0x48], 0x5469ace8
add dword [ebp - 0x48], 0xab965318
lea eax, [ebp - 0x54]
push eax
mov eax, 0xa6098856
sub eax, 0x960737d2
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xdbe830c0
sub dword [ebp - 0x54], 0x6775c76a
mov dword [ebp - 0x50], 0xc946c46d
add dword [ebp - 0x50], 0x78259d08
mov dword [ebp - 0x4c], 0xdde02aa2
sub dword [ebp - 0x4c], 0x7a70be36
mov dword [ebp - 0x48], 0x7a1f7273
sub dword [ebp - 0x48], 0x7a1f7273
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3c850
push 0
call eax
mov ecx, 0x4c27
xor edx, edx
add edx, eax
mov esi, 0x4b5020ca
add esi, 0xc4b2eb36
add esi, dword [ebp - 0x44]
mov ebx, 0x1bdc552e
sub ebx, 0xd747aa70
sub dword [ebp - 4], edx
mov edi, dword [esi]
sub dword [ebp - 0x40], edx
add edi, ebx
mov dword [ebp - 0x30], 0x72f17ced
mov dword [edx], edi
xor dword [ebp - 0x2c], 0x8b078f56
add edx, 0xa27910c7
add edx, 0x5d86ef3d
add esi, 0x333c5082
add esi, 0xccc3af82
loop 0x1000f158
add eax, 0x1236f
mov ebx, eax
add eax, 0x5c24750a
sub eax, 0x5c247505
mov ecx, 0x4c9a5c35
add ecx, 0xc365a3cb
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x1001c6a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c73b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c6f2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c6f2
cmp esi, ebx
jge 0x1001c6f2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c735
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c735
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c74d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc
Function at 0x1001c970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
mov eax, dword [ebp + 8]
je 0x1001c998
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001c9b2
lea ecx, [ebp - 0x108]
push ecx
push eax
call sym.drvSOFT.x3d_public:_void___stdcall_MATRIX3D::Invert_struct_MATRIX3D_const__
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10022650
leave
ret 4

Function at 0x1001cb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001cbb6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cc15
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call sym.drvSOFT.x3d_public:_void___stdcall_MATRIX3D::Invert_struct_MATRIX3D_const__
lea eax, [ebp - 0x20c]
push eax
push edi
call sym.drvSOFT.x3d_public:_void___stdcall_MATRIX3D::Invert_struct_MATRIX3D_const__
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call sym.drvSOFT.x3d_public:_void___stdcall_MATRIX3D::Invert_struct_MATRIX3D_const__
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022650
leave
ret 0x10

Function at 0x1001cc30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cc5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cc8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cc8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.drvSOFT.x3d_public:_void___stdcall_MATRIX3D::Invert_struct_MATRIX3D_const__
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cc8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022650
leave
ret 8
Function at 0x1000ee21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000ee30
pop dword [ebp - 0x20]
mov eax, 0x9ad410c2
add eax, 0x752cdd6e
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3b5b4
push 0
mov eax, 0x3c32f632
sub eax, 0x2c30f5ee
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xbd020444
sub ecx, 0xbd01b2f2
xor esi, esi
add esi, eax
mov edx, 0xe29845b2
add edx, 0x2d6b244e
add edx, dword [ebp - 0x20]
mov ebx, 0xa721cdff
sub ebx, 0xf9439ff1
mov dword [ebp - 4], 0xc04b7025
mov edi, dword [edx]
add dword [ebp - 0x1c], ecx
sub edi, ebx
xor dword [ebp - 0x10], ecx
mov dword [esi], edi
xor dword [ebp - 0x1c], 0xa487628a
add esi, 0xdd1629c2
add esi, 0x22e9d642
add edx, 0x2b13adb
sub edx, 0x2b13ad7
loop 0x1000ee91
add eax, 0xa296872d
sub eax, 0xa2954f12
mov ebx, eax
add eax, 0xba349051
add eax, 0x45cb6fb4
mov ecx, 0x953dcf61
add ecx, 0x7ac2309f
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x10011126
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10011130
lea esi, [ecx - 0x78]
jmp 0x10011132
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x1001114e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x10011201
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10011213
add eax, 0xffffff84
jmp 0x10011215
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1002244c
lea ecx, [eax + 4]
call fcn.1000d84d
test eax, eax
js 0x1001127e
cmp dword [ebp + 8], 0
je 0x1001127b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x10011253
inc edi
push 0x11
call esi
test ax, ax
jns 0x1001125f
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x1001126b
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x1001127e
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x10011294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x40446e
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x404f98
call fcn.0040488b
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x4065fc
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x40420d
cmp eax, esi
jne 0x404200
xor esi, esi
inc esi
mov ebx, esi
jmp 0x404210
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4041e7
xor esi, esi
inc esi
mov eax, dword [0x4065f8]
cmp eax, esi
jne 0x404223
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x404252
mov eax, dword [0x4065f8]
test eax, eax
jne 0x40424c
mov dword [0x4065f8], esi
push 0x4011f4
push 0x4011ec
call fcn.00495000
pop ecx
pop ecx
test eax, eax
je 0x404252
jmp 0x40437a
mov dword [0x406290], esi
mov eax, dword [0x4065f8]
cmp eax, esi
jne 0x404276
push 0x4011e8
push 0x4011d8
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x4065f8], 2
test ebx, ebx
jne 0x404282
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x406608], 0
je 0x4042a6
push 0x406608
call fcn.00404813
pop ecx
test eax, eax
je 0x4042a6
push 0
push 2
push 0
call dword [0x406608]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x404302
test al, al
je 0x4042c0
cmp dword [ebp - 0x1c], 0
jne 0x404302
mov al, byte [esi]
test al, al
je 0x4042d0
cmp al, 0x20
ja 0x4042d0
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4042c0
test byte [ebp - 0x3c], 1
je 0x4042dc
movzx eax, word [ebp - 0x38]
jmp 0x4042df
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x40628c], eax
cmp dword [0x406280], 0
jne 0x404356
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x404311
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x404324
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4042ad
cmp dword [0x406290], 0
jne 0x404365
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x40628c]
jmp 0x404386
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.004048d0
ret
call fcn.00403b1b
jmp 0x4041ad
Function at 0x100193bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x100193cb
pop dword [ebp - 0x1c]
mov eax, 0xaee3103
sub eax, 0xfaec9d38
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xa64dfa51
add dword [ebp - 0x2c], 0xa8044afa
mov dword [ebp - 0x28], 0xf669e06
sub dword [ebp - 0x28], 0xdd3351c1
mov dword [ebp - 0x24], 0x5d0bcb5
sub dword [ebp - 0x24], 0xb9847887
mov dword [ebp - 0x20], 0x9845ee85
add dword [ebp - 0x20], 0x67ba117b
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x15773224
add eax, 0xfa8aee20
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xac0b465d
sub dword [ebp - 0x2c], 0x3798dd07
mov dword [ebp - 0x28], 0xbce7e27c
sub dword [ebp - 0x28], 0x7b7b8107
mov dword [ebp - 0x24], 0x4bca62c9
sub dword [ebp - 0x24], 0xe85af65d
mov dword [ebp - 0x20], 0x7a1478ae
add dword [ebp - 0x20], 0x85eb8752
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xe2378a3e
sub eax, 0xd23569fe
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f48a
push 0
call eax
mov ecx, 0x64b3
xor esi, esi
add esi, eax
mov edi, 0xaa908a9b
sub edi, 0x9a8d6e9b
add edi, dword [ebp - 0x1c]
mov edx, 0x26930c5c
add edx, 0x63d61069
mov ebx, dword [edi]
xor dword [ebp - 0x18], eax
add ebx, edx
xor dword [ebp - 0x14], ebx
mov dword [esi], ebx
add esi, 0x395fbf6e
sub esi, 0x395fbf6a
add edi, 0x12362f7
add edi, 0xfedc9d0d
loop 0x100194e9
add eax, 0x7f3d61de
sub eax, 0x7f3bdc3f
mov ebx, eax
add eax, 0xe8ff715e
sub eax, 0xe8ff7159
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, reloc.kernel32.dll_lstrcpy
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x409e7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x409ec0
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x409e8f
jmp 0x409ec0
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x409eb0
pop esi
pop ebp
ret

Function at 0x40ac5a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40ac8f
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40acb9
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40acb9
test edi, edi
je 0x40ac86
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40ac86
test edi, edi
je 0x40acc1
mov eax, edi
jmp 0x40ac88
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40ac88
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040e0e5
add esp, 0xc
int3