joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425caf
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x454188
push 0x454180
push str.FlsAlloc
push 0x1f
call fcn.00425b6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x425ce3
push dword [ebp + 8]
mov ecx, esi
call dword [0x4311f0]
call esi
jmp 0x425ce9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x425d2d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x454198
push 0x454190
push str.FlsGetValue
push 0x21
call fcn.00425b6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x425d64
push dword [ebp + 8]
mov ecx, esi
call dword [0x4311f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x425d6c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4541a0
push 0x454198
push str.FlsSetValue
push 0x22
call fcn.00425b6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x425da6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4311f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42a1d3
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 0x42a270
push ebx
push esi
call fcn.0042a19c
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.004258d9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42a21d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42a26f
push edi
push eax
call fcn.00424175
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42a23d
call fcn.0042413b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42a26e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004258d9
add esp, 0x20
test eax, eax
jne 0x42a25c
push edi
call fcn.0042413b
jmp 0x42a264
push ebx
call fcn.0042413b
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 0x42a273
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x42a284
pop esi
ret
push ebx
push edi
push esi
call fcn.0042a19c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00424175
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42a2ac
push ebx
push esi
push edi
call fcn.00415730
add esp, 0xc
push 0
call fcn.0042413b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x42aa06
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a521

Function at 0x42fc10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42fc3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42fc3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4096c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40974f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b3b4
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x40979e
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409780
push 0x40b3b8
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x40979e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3d8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
jmp 0x409874
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.004095f0
add esp, 8
test eax, eax
jne 0x4097fc
push 0x357
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x409874
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40985b
push 0
push 0x40b48c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x409874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4c4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

Function at 0x432003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x24605581
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x64380460
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4093f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x409407
pop dword [ebp - 0x30]
mov eax, 0x92486c7f
sub eax, 0x9207d878
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x563ccded
add dword [ebp - 0x40], 0xf815775e
mov dword [ebp - 0x3c], 0x38df5e36
add dword [ebp - 0x3c], 0xf953ee0f
mov dword [ebp - 0x38], 0x8b3aaf89
add dword [ebp - 0x38], 0xc11194a5
mov dword [ebp - 0x34], 0x2acb16fe
sub dword [ebp - 0x34], 0x2acb16fe
lea eax, [ebp - 0x40]
push eax
mov eax, 0xad701614
add eax, 0x52d0ba38
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x1c470d69
sub dword [ebp - 0x40], 0xa7d4a413
mov dword [ebp - 0x3c], 0x1f64132a
add dword [ebp - 0x3c], 0x22084e4b
mov dword [ebp - 0x38], 0xba3ff71d
sub dword [ebp - 0x38], 0x56d08ab1
mov dword [ebp - 0x34], 0x1038bc19
add dword [ebp - 0x34], 0xefc743e7
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x399f6
push 0
call eax
mov ecx, 0xf1c2664b
sub ecx, 0xf1c21db3
mov edi, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x30]
mov esi, 0x6d3c0bca
sub esi, 0xf1e7fec4
add dword [ebp - 0x28], 0x1afface4
mov edx, dword [ebx]
sub dword [ebp - 0x24], edx
xor edx, esi
mov dword [ebp - 0x2c], 0xd2845a54
mov dword [edi], edx
add edi, 0x5451a7ff
add edi, 0xabae5805
add ebx, 0x465fced6
add ebx, 0xb9a0312e
loop 0x40951e
add eax, 0x6dab1860
sub eax, 0x6daa032d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x241f008], 0x8088405
inc edx
mov dword [ebx + 0x241f008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f04c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x240353a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f09b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
jmp 0x41f0ba
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f12c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f115
test esi, esi
jbe 0x41f12c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f107
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f12c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0e4
jmp 0x41f12c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f12c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2403541
ret
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x240489f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0x2421348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0x2421348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0x2420178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x24048a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4133b3
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
pop ss
push ecx
fcom qword [0x491e4928]
push esp
mov esi, 0x2938f588
xor eax, 0x3ffffbd0
inc eax
push esi
pop ds
add byte [edx], ch
test byte [edx + 0x41], cl
push ds
sub al, 0xf2
pop ds
inc edi
mov cl, 0x7f
mov bl, 0x4f
std
mov edi, cs
ror dword [esi], 0x47
push 0xcde5a6ba
mul ch
cmp ebp, edx
mov bh, 0x77
mov dword [0xde30e390], eax
sub cl, byte [ebx]
xchg esp, eax
xor edx, ebp
fimul dword [0x330e817a]
sbb bh, ah
and al, 0x11
salc
cwde
test byte [ebx - 0x4c], cl
mov ch, 0x83
jg 0x413367
ljmp 0x732:0x4ad6a1db

Function at 0x435357
Capabilities:
Encode data using xor

Disassembly:
add dword [ecx], edx
nop
call 0xda545a
mov dh, 0x37
sbb dh, byte [edi - 0x27d3ffae]
add al, byte [ecx]
inc dword [edi]
add byte [ecx + 0x1f], ah
add dword [ecx], edi
rol byte [edi], 1
add byte [edx + 1], cl
mov ecx, 0x800502
adc byte [esi + 0x5d037a62], dl
add dword [eax], esp
inc esp
add byte [edx + eax + 0x6c], dh
add byte [edi], dh
add al, dh
fiadd dword [eax]
add byte [ebp], ch
push es
inc ebp
add byte [edi], bh
add byte [edx], dl
adc byte [esi + 0x77], ah
out dx, eax
jle 0x43538f
cmp ecx, dword [eax]
cmp eax, 0xb101d500
add eax, 0x3f005d
cli
dec eax
mov esp, 0x1d003d01
add dword [eax - 0x44], esp
add byte [0x3f00bd00], bh
add byte [edi], bl
mov al, 0x7c
add bh, byte [0x66023f00]
sar ah, 1
add byte [0xf000ff00], bh
cld
add byte [0x7bf07000], bh
pop es
aas
add esi, eax
sbb byte [ecx], bl
sbb dword [eax + 0x8c0340], eax
adc byte [eax], al
add byte [ebx + ecx*8 + 0x64c7], ah
add byte [ecx], dh
mov byte [edx + 0x72e958ee], dl
xchg byte [eax], al
inc esp
add byte [ecx], ch
sub al, 0xbb
prefetchnta byte [eax]
push eax
mov word [eax], es
xor eax, dword [eax]
inc eax
inc dword [edx]
sub dh, byte [ecx]
loop 0x4353ea
loope 0x435374
xchg edx, eax
out dx, al
pop eax
jmp 0x4443da66
jmp 0x43540a
das
add bh, bh
cmp dword [ecx + 0x14], ebx
xor al, 0
xor al, bh
add cl, byte [eax]
clc
mov esp, 0x87003d04
add dword [esi - 0x52], eax
hlt
Function at 0x4090c2
Capabilities:
Encode data using xor

Disassembly:
add dword [ecx], eax
add eax, 0x82030005
add dword [ecx], eax
invalid
add dword [eax], eax
arpl word [eax], ax
add byte [ebx], ah
xor cl, byte [ebp - 0x23d7e0e9]
add al, 0x79
leave
daa
sbb dword [eax + edi*4 + 0x75a76836], eax
sbb dword [eax], ebx
mov dl, 0x4f
dec ecx
lodsb al, byte [esi]
pop ebp
popal
sub eax, dword [esi + 0x4d0dd032]
mov edx, 0xb65e7cb5
sal byte [edi], cl
call 0x2cc8ecde
shr byte [ecx], cl
popal
mov esi, 0x4a29501f
and bh, cl
sub al, 0xd2
sub dword [ecx - 0x42], esp
pop ds
push eax
sub dword [edx + 0x22], ecx
stc
pop ss
xchg byte [ebp - 0x2ea4de79], bh
cmp al, 0x4d
mov edi, 0x2ebac064
wait
cmpsb byte [esi], byte es:[edi]
adc byte [ecx + 0x5384c4f1], ah
mov al, 0x8d
pop eax
mov gs, word [edi + 0x1f771912]
lodsd eax, dword [esi]
idiv dword [esi - 0x71d27e42]
cmp byte [esi + 0x70], 0xf8
cmp dword [esi - 0x57a69acd], edx
dec edi
jg 0x4090ba
and cl, cl
sbb byte [esi + 0x5e], bh
loop 0x4090f0
xor byte [ebp + 6], ch
mov ah, 0xb7
adc dword [esi + 0x44262cba], ecx
mov ecx, 0x87b1dc8a
xchg ecx, eax
mov ch, 0xdc
mov edi, 0x83dca114
mov dword [0x5e29af60], eax
mov ch, byte [ebx]
or eax, 0x39d09ded
add eax, 0x1e6fb8b9
mov ecx, 0x68cc71ba
fidiv word [edx - 0x29fcc587]
mov cl, ah
sbb eax, 0xe734b329
and eax, ebx
mov dword [0x1a722b0f], eax
out 0x21, eax
fsub dword [ebx + 0x1a722b0f]
inc edx
mov ch, 0x9e
inc ebp
cli
fbld tbyte [edi - 0xd2862d5]
int 0x1d
enter 0x1256, 0x2f
lea ebx, [ebp - 0x36cd31b3]
popal
rcr byte fs:[edx + 0x122fe578], 1
push 0x4a
inc esp
add ah, byte [eax + ebx*8]
push edi
test dword [edx], esi
jg 0x409173
pop ecx
mov word [ebx + 0x73], gs
xor eax, dword [eax]
movsd dword es:[edi], dword [esi]
pop esi
stosd dword es:[edi], eax
ret
Function at 0x10030836
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047018]
jne 0x10030840
repz ret
jmp fcn.10030e15

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
je 0x401093
push dword [0x403000]
mov eax, 0x40301a
mov ebx, 0x40322a
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
cmp al, 0x2d
int 0
add byte [esp + ecx - 0x43ffff30], bh
invalid
Function at 0x3f6f2f48
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, ecx
shl eax, 2
cmp ecx, 4
jl 0x3f6f2f90
add eax, ebx
mov ecx, dword [edi + 0x954]
mov esi, eax
shl esi, 2
cmp dword [esi + ecx], 0
je 0x3f6f2f96
mov eax, dword [edi + 0x954]
pop edi
mov eax, dword [esi + eax]
pop esi
pop ebx
ret 0xc
mov eax, dword [edi + 0x954]
pop edi
mov eax, dword [esi + eax]
pop esi
pop ebx
ret 0xc
add eax, dword [esp + 0x18]
jmp 0x3f6f2f61
add eax, 0x3e8
push 0xa
movzx eax, ax
push eax
push dword [0x3f7ea024]
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x3f7d3043
push eax
push dword [0x3f7ea024]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov ecx, dword [edi + 0x954]
mov dword [esi + ecx], eax
jmp 0x3f6f2f81
test ebx, ebx
jl 0x3f6f2f81
cmp ebx, 2
jle 0x3f7d306b
cmp ebx, 3
jne 0x3f6f2f81
mov eax, dword [edi + 0x954]
mov dword [esi + eax], 0x3f7b5a80
jmp 0x3f6f2f81
mov eax, dword [edi + 0x954]
mov dword [esi + eax], 0x3f7b5a7c
jmp 0x3f6f2f81

Function at 0x3f6f5782
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x3f6f5791
pop dword [ebp - 0x40]
mov eax, 0x68bb406
sub eax, 0xc71c5c75
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x4c970
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x571d1772
add ecx, 0xa8e3314c
mov ebx, eax
mov edx, 0x3367585d
sub edx, 0xf3e4585d
add edx, dword [ebp - 0x40]
mov edi, 0x886cc0c1
sub edi, 0x523928a2
add dword [ebp - 0x1c], 0xac61855a
mov esi, dword [edx]
sub dword [ebp - 8], edi
xor esi, edi
sub dword [ebp - 0x10], esi
mov dword [ebx], esi
xor dword [ebp - 0xc], eax
add ebx, 0x75363bdb
add ebx, 0x8ac9c429
add edx, 0xd0eec8d7
add edx, 0x2f11372d
loop 0x3f6f57eb
add eax, 0x57ce8d0d
add eax, 0xa83288be
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x58c8587b
add ecx, 0xe6a4a785
add ecx, dword [ebp - 0x40]
call ebx
leave
ret