joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x43c2df
Capabilities:
Encode data using xor

Disassembly:
lds edi, [ebx - 0x80]
add byte [edx + 0x5b396708], bh
sub eax, dword [ebp - 0x36]
mov edi, 0x5b1779ab
and bh, 0x37
les ebp, [eax]
pop es
dec eax
je 0x43c371
invalid
mov eax, dword [edx]
sbb al, byte [edx + ecx*2]
dec ecx
jle fcn.0043c30f
ret

Function at 0x44bb80
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x4d4398
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x44bbe5
mov edx, dword [0x4d39b8]
push 0x4d36bc
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalIsoBuster_1102_2
push 0
lea eax, [esp + 0x18]
push 1
push eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
mov dword [0x4d39b4], eax
pop esi
add esp, 0x14
ret

Function at 0x471409
Capabilities:
Encode data using xor

Disassembly:
sbb eax, 0xb29db666
ror dword [ebp + ebx*8 - 0x9561719], cl
xor al, 0x43
or byte [edi - 0x5dc4cc98], dh
sahf
dec edi
mov ah, 0x2a
aam 0x4d
popfd
mov dl, 0xd3
mov ebp, ds
out 0xe8, eax
test eax, 0x84334f6
mov bh, 0x68
xor edi, dword [ebx]
mov byte [0xb44f9e66], al
sub dl, ah
dec ebp
rcr ch, 1
dec eax
sub byte [edi], 0x1d
dec edx
rcr dword [ebx + 8], 0x4a
sub eax, 0x13cd0d9d
daa
js 0x47140c
out dx, eax
or dword [ebx + esi*4 + 0x5355edf5], ebp
cmc
push edx
retf 0x2729
Function at 0x4c95ce
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d0560
cmp edx, dword [eax]
je 0x4c95f0
add eax, 8
inc ecx
cmp eax, 0x4d05f0
jl 0x4c95e1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d0560]
jne 0x4c971e
mov eax, dword [0x4d4c50]
cmp eax, 1
je 0x4c96f8
test eax, eax
jne 0x4c9621
cmp dword [0x4d04a0], 1
je 0x4c96f8
cmp edx, 0xfc
je 0x4c971e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c9658
lea eax, [ebp - 0x1a4]
push 0x4cd9b4
push eax
call fcn.004c9ce0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c9f10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c969b
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c9f10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cd9b0
push edi
call fcn.004cb6e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cd994
push eax
call fcn.004c9ce0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c9cf0
lea eax, [ebp - 0xa0]
push 0x4cd990
push eax
call fcn.004c9cf0
push dword [esi + 0x4d0564]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c9cf0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cd968
push eax
call fcn.004cb654
add esp, 0x2c
pop edi
jmp 0x4c971e
lea eax, [ebp + 8]
lea esi, [esi + 0x4d0564]
push 0
push eax
push dword [esi]
call fcn.004c9f10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x8fb0b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4a4000]
push edi
jmp 0x8fb0ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8fb0d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8fb0c0
mov eax, 1
add ebx, ebx
jne 0x8fb0e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8fb0f4
jne 0x8fb113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8fb113
dec eax
add ebx, ebx
jne 0x8fb100
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8fb0d8
add ebx, ebx
jne 0x8fb10f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8fb165
xor ecx, ecx
sub eax, 3
jb 0x8fb12b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8fb19a
sar eax, 1
mov ebp, eax
jmp 0x8fb136
add ebx, ebx
jne 0x8fb136
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8fb104
inc ecx
add ebx, ebx
jne 0x8fb144
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8fb104
add ebx, ebx
jne 0x8fb151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8fb146
jne 0x8fb162
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8fb146
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8fb184
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8fb176
jmp 0x8fb0c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8fb184
add edi, ecx
jmp 0x8fb0c6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8fb1a2
cmp byte [edi], 0x11
jne 0x8fb1a2
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 0x8fb1a7
lea edi, [esi + 0x4f4000]
mov eax, dword [edi]
or eax, eax
je 0x8fb21f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91eb60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x91ecdc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8fb1d4
mov ecx, edi
jns 0x8fb203
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 + 0x91ece0]
or eax, eax
je 0x8fb219
mov dword [ebx], eax
add ebx, 4
jmp 0x8fb1f1
call dword [esi + 0x91ecf0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8fb250
cmp al, 0xef
ja 0x8fb243
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8fb225
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8fb232
mov ebp, dword [esi + 0x91ece4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x8fb284
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x101fb5c8
Capabilities:
Encode data using xor

Disassembly:
mov eax, ebx
call fcn.101fb328
test eax, eax
jl 0x101fb800
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x101fb635
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea esp, [esp]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x101fb5f8
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x101fb7fc
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x1001edb0]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1001edb0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1001f9b0]
and edi, 0xff
xor esi, dword [edi*4 + 0x100201b0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1001edb0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100205b0]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x1001edb0]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1001fdb0]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x1001edb0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1001edb0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1001f9b0]
and edi, 0xff
xor esi, dword [edi*4 + 0x100201b0]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x1001edb0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1001fdb0]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1001edb0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100205b0]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x1001edb0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1001edb0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1001f9b0]
and edi, 0xff
xor esi, dword [edi*4 + 0x100201b0]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x1001edb0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1001fdb0]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1001edb0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100205b0]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x1001edb0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1001edb0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1001f9b0]
and edi, 0xff
xor esi, dword [edi*4 + 0x100201b0]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x1001edb0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1001edb0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1001fdb0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100205b0]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x101fb649
pop edi
xor eax, eax
pop esi
ret
Function at 0x101fc6bd
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x1f8
mov eax, 0x1001b1de
call fcn.101fe503
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x1c], ebx
jne 0x101fc6ef
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.101fa858
xor al, al
call fcn.101fe56c
ret
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
jae 0x101fc6fe
lea eax, [ebp + 0xc]
push 0x1001c278
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.101ff338
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x101fc6dc
push 2
push ebx
push dword [ebp - 0x10]
call fcn.101ff1ed
push dword [ebp - 0x10]
call fcn.101ff0f5
push ebx
push ebx
push dword [ebp - 0x10]
mov esi, eax
call fcn.101ff1ed
inc esi
push esi
call fcn.101fd815
mov edi, eax
add esp, 0x20
cmp edi, ebx
je 0x101fc6dc
push esi
push ebx
push edi
call fcn.101fdc68
push dword [ebp - 0x10]
push esi
push 1
push edi
call fcn.101fef3b
mov esi, eax
add esp, 0x1c
cmp esi, ebx
jg 0x101fc76f
push dword [ebp - 0x10]
call fcn.101fec1d
pop ecx
jmp 0x101fc6dc
push 1
lea ecx, [ebp - 0x204]
call fcn.101fb068
push esi
push edi
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 1
call fcn.101fb0a8
push dword [ebp - 0x10]
mov esi, eax
call fcn.101fec1d
pop ecx
cmp esi, ebx
jne 0x101fc7af
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], bl
call fcn.101fb098
jmp 0x101fc6dc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 8
jb 0x101fc7bd
mov eax, dword [eax + 4]
jmp 0x101fc7c0
add eax, 4
push 0x1001c274
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.101ff338
add esp, 0xc
cmp dword [ebp - 0x10], ebx
jne 0x101fc7fb
mov byte [ebp - 0x11], bl
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], bl
call fcn.101fb098
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.101fa858
mov al, byte [ebp - 0x11]
jmp 0x101fc6e9
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x101fc800
push dword [ebp - 0x10]
sub eax, ecx
push eax
push 1
push esi
call fcn.101feb24
push dword [ebp - 0x10]
call fcn.101fec1d
push esi
call fcn.101fd820
push edi
call fcn.101fd820
add esp, 0x1c
mov byte [ebp - 0x11], 1
jmp 0x101fc7da

Function at 0x1020e20a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x102694d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x102696bd
pushal
mov esi, section.UPX1
lea edi, [esi - 0x180000]
push edi
or ebp, 0xffffffff
jmp 0x102694fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10269501
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102694f0
mov eax, 1
add ebx, ebx
jne 0x10269513
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10269524
jne 0x10269543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10269543
dec eax
add ebx, ebx
jne 0x10269530
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10269508
add ebx, ebx
jne 0x1026953f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10269595
xor ecx, ecx
sub eax, 3
jb 0x1026955b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x102695ca
sar eax, 1
mov ebp, eax
jmp 0x10269566
add ebx, ebx
jne 0x10269566
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10269534
inc ecx
add ebx, ebx
jne 0x10269574
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10269534
add ebx, ebx
jne 0x10269581
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10269576
jne 0x10269592
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10269576
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x102695b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x102695a6
jmp 0x102694f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x102695b4
add edi, ecx
jmp 0x102694f6
pop esi
mov edi, esi
mov ecx, 0x7d8b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x102695d2
cmp byte [edi], 0x1b
jne 0x102695d2
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 0x102695d7
lea edi, [esi + 0x25f000]
mov eax, dword [edi]
or eax, eax
je 0x1026964f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26b4c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26b5f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10269604
mov ecx, edi
jns 0x10269633
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 + 0x26b5f8]
or eax, eax
je 0x10269649
mov dword [ebx], eax
add ebx, 4
jmp 0x10269621
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10269680
cmp al, 0xef
ja 0x10269673
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10269655
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10269662
mov ebp, dword [esi + 0x26b5fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x102696b4
sub esp, 0xffffff80
jmp 0x100ccc40
Function at 0x408db0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ebx, eax
mov dword [esp + 8], ebx
call ebp
sub eax, ebx
cmp eax, dword [esp + 0x2c]
jae 0x408e23
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x408e15
lea eax, [esp + 0x14]
push eax
call edi
lea eax, [esp + 0x14]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x408df4
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x34]
jb 0x408de1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x408e30
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x567738
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c8eb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
call fcn.00408ce0
mov byte [esp + 0x28], 1
mov ebx, dword [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0040d9c0
mov byte [esp + 0x28], 0
or eax, 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x408ea9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x38], 0
jbe 0x408fe0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x408edd
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
jl 0x408edd
push eax
push ecx
call fcn.0054af33
add esp, 8
test eax, eax
je 0x408edd
sub eax, dword [ebx]
test ax, ax
jns 0x408fc9
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00408ce0
mov byte [esp + 0x28], 2
mov eax, dword [eax]
mov edi, dword [ebx]
sub edi, 0x10
lea esi, [eax - 0x10]
cmp esi, edi
je 0x408f89
cmp dword [edi + 0xc], 0
jl 0x408f7e
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x408f7e
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x408f2d
cmp ecx, dword [esi]
jne 0x408f2d
mov ebp, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x408f5c
mov eax, dword [ecx]
push 1
push dword [esi + 4]
call dword [eax]
mov ebp, eax
test ebp, ebp
je 0x408fdb
mov ecx, dword [esi + 4]
lea eax, [esi + 0x10]
mov dword [ebp + 4], ecx
mov ecx, dword [esi + 4]
inc ecx
push ecx
push eax
push ecx
lea eax, [ebp + 0x10]
push eax
call fcn.0054a652
add esp, 0x10
or eax, 0xffffffff
lea ecx, [edi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x408f73
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [ebx], eax
jmp 0x408f89
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.0040d920
mov byte [esp + 0x28], 0
or ecx, 0xffffffff
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x64
call fcn.00408db0
add ebp, 0x64
mov dword [esp + 0x14], ebp
cmp ebp, dword [esp + 0x38]
jae 0x408fe0
mov esi, dword [esp + 0x1c]
jmp 0x408eb4
mov ecx, dword [esi + 0xbc]
call fcn.00411810
mov edi, 1
jmp 0x408fe2
call fcn.00401c30
xor edi, edi
mov dword [esp + 0x28], 0xffffffff
or ecx, 0xffffffff
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409008
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ax, di
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x40d310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
movzx eax, ax
mov dword [esp + 4], eax
jmp fcn.0043b479

Function at 0x40d560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d573
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d5b4
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40d5b0
jmp 0x40d5a0
cmp esi, edx
jae 0x40d5b4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40d5a0
cmp esi, edx
jb 0x40d5b8
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x40fb90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi + 0xac]
cmp dword [eax + 0x14], 0
je 0x40fc83
cmp dword [eax + 0x10], 0
jne 0x40fc83
cmp word [eax + 0x8f2], 0
jbe 0x40fbf8
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0xffffff80
je 0x40fbf8
mov eax, dword [ebp + 0x10]
movzx ecx, ax
mov eax, dword [ebp + 0xc]
movzx eax, ax
shl ecx, 0x10
or ecx, eax
mov eax, dword [edi + 0xac]
push ecx
push dword [ebp + 8]
push 0x106
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop ebp
ret 0xc
mov eax, dword [edi + 0xac]
mov edx, dword [ebp + 8]
mov byte [ebp + 0xb], dl
cmp word [eax + 0x780], 3
jne 0x40fc3a
cmp dl, 0x80
jb 0x40fc3a
movzx ecx, word [eax + 0x8f4]
movzx eax, word [eax + 0x842]
lea ecx, [ecx*4 - 6]
add ecx, eax
movzx eax, dl
shl ecx, 7
mov al, byte [ecx + eax + 0x5a8990]
mov byte [ebp + 0xb], al
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 1
jb 0x40fc82
mov ecx, dword [edi + 0xac]
lea edx, [ebp + 0xb]
push 1
add ecx, 0x948
call fcn.00415200
mov ecx, dword [edi + 0xac]
add esp, 4
cmp word [ecx + 0x80c], 0
jbe 0x40fc7f
push 1
add ecx, 0x948
lea edx, [ebp + 0xb]
call fcn.00415410
add esp, 4
dec esi
jne 0x40fc43
pop esi
pop edi
pop ebp
ret 0xc