joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3a20
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x50e3df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
mov ebx, dword [esp + 0xf8]
push ebp
push esi
push edi
push 1
mov edi, ecx
push ebx
mov dword [esp + 0x34], 0
call fcn.004c39d0
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [0x5b61bc]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xf8], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
push str._table_
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 3
call fcn.004fbaaf
push str._tr__td__font_colordarkblue_Window__font__table_border1_
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 4
add al, 0xe8
outsd dx, dword [esi]
add dword [ebx], 0

Function at 0x4c94d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004cf950
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4c95c9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.004c95e0
test eax, eax
jne 0x4c95c9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.004c95e0
test eax, eax
jne 0x4c95c9
lea edx, [esp + 0x10]
push 0x5b3b4c
push edx
call fcn.004ea990
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c959a
lea eax, [esp + 0x10]
push 0x5b3b48
push eax
call fcn.004ea990
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c959a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4c959d
mov byte [esi], 0
push 0x5b3310
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4c95e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4c9642
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4cf890
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50eda8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4cf940
mov eax, dword [0x5b61bc]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004fbe71
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004fbec0
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004fbe1d
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4cf927
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4cf927
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004fba41
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4d2a40
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50f230
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4d2be7
mov ecx, dword [0x5b61bc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4d2b3c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004d1760
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004fbb7a
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004fba41
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5b3310
call fcn.004fbaaf
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004d1b20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004fbb7a
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004fba41
lea ecx, [esp + 0xc]
call fcn.004fbf55
mov ecx, dword [esp + 0xc]
push 0x5b3d4c
push ecx
call fcn.004e97e4
add esp, 8
test eax, eax
je 0x4d2b64
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4d2a9d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004fba41
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004fba41
jmp 0x4d2beb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004d27e0
test eax, eax
push 0
je 0x4d2bcf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004d0e80
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4d2bb5
cmp eax, 0x64
jg 0x4d2ba3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4d2b40
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4d2b40
cmp eax, 0x64
jge 0x4d2b3c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4d2b40
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004d0e80
mov esi, eax
jmp 0x4d2b40
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4d2bf5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4dba50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5b463c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4dba63
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4dbaa4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5b46e4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4dbad6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4dbada
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4dbacb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4dbaf8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4dbafc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4dbaed
xor ecx, ecx
mov eax, 0x5b464c
xor ebx, ebx
mov bl, byte [ecx + 0x5b46f4]
cmp byte [esp + ebx + 0x14], 0
je 0x4dbb27
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5b470c]
cmp byte [esp + ebx + 0x14], 0
je 0x4dbb3e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4dbb0e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4dba97
lea edx, [esp + 0x84]
push edx
call fcn.004dbb80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4fde98
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4fded0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004fbee8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004fbec0
jmp 0x4fdedc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ff589
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ff5cb
call fcn.0050584c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ff5cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ff5c2
xor eax, eax
jmp 0x4ff5d3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ff5d9
pop edi
pop esi
pop ebx
ret 4

Function at 0x505d7c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x505daa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x505dc8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00505ce2
jmp 0x505dc8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x505dc8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00505ce2
test edi, edi
mov eax, edi
jne 0x505db2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x26b369a4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x70767fa2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x42d080
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x42d098
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x42d176
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042d9e0
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x42d171
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042d9e0
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x42d14a
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x42d14a
xor eax, eax
jmp 0x42d176
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x42d08f
mov esp, ebp
pop ebp
ret

Function at 0x42d9e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x42da15
xor eax, eax
jmp 0x42da1f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret
Function at 0x1001d10
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac0
push ebx
push esi
push edi
push 0x1e
pop ecx
mov esi, 0x1001c50
lea edi, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp dword [ebp + 0x10], edi
push 0x7a
mov dword [ebp - 0x1c], 0x80000002
mov dword [ebp - 0x18], 0x80000001
pop ebx
jbe 0x1001e45
mov eax, dword [ebp + 0xc]
mov word [eax], di
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
cmp word [eax], di
jne 0x1001e45
lea eax, [ebp - 0x10]
push eax
push 1
push edi
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x1001e38
xor esi, esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2a0]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 8], 0x410
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
inc esi
cmp ebx, edi
jne 0x1001e2f
cmp dword [ebp - 8], 2
jbe 0x1001e23
cmp dword [ebp - 0xc], 1
je 0x1001dd2
cmp dword [ebp - 0xc], 2
jne 0x1001e23
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001e23
push 0x208
lea eax, [ebp - 0xac0]
push eax
lea eax, [ebp - 0x6b0]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, edi
je 0x1001e23
add eax, 2
cmp eax, dword [ebp + 0x10]
jae 0x1001e23
lea eax, [ebp - 0xac0]
push eax
push 0x1001c40
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp word [eax], di
je 0x1001d86
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jb 0x1001d53
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x1001f7d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
push esi
push edi
push 0xe
pop ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x3c]
push esi
rep stosd dword es:[edi], eax
call sub.IMM32.dll_ImmDisableIME
push dword [ebp + 8]
call fcn.01001ef0
mov ebx, dword [ebp + 0x10]
cmp word [ebx], si
mov dword [ebp - 4], eax
je 0x10020c8
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001ce8
push ebx
call edi
test eax, eax
je 0x10020c8
push ebx
push 0x1001cd8
call edi
test eax, eax
jne 0x1001fe1
call fcn.01001f48
jmp 0x10020f1
cmp dword [ebp - 0x30], esi
jne 0x100208b
and dword [ebp + 8], 0
mov esi, 0x100185c
cmp dword [ebp + 8], 0x150
jae 0x1002031
push ebx
push dword [esi - 4]
call edi
test eax, eax
jne 0x1002024
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1002018
push eax
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x1002024
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
add dword [ebp + 8], 0x10
add esi, 0x10
cmp dword [ebp - 0x30], 0
je 0x1001ff3
cmp dword [ebp - 0x30], 0
jne 0x1002089
push 0x1001104
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x208
sub edi, eax
push edi
lea esi, [ebp + eax*2 - 0x46c]
push esi
lea ecx, [ebp - 0x46c]
push ebx
mov dword [ebp - 0x30], 0x10010e8
mov dword [ebp - 0x2c], ecx
call fcn.01001d10
test eax, eax
je 0x1002089
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor esi, esi
mov eax, dword [ebp + 0x14]
cmp eax, esi
jne 0x1002095
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x2000100
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10020f1
push esi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x10020e7
mov dword [ebp - 0x30], 0x10010cc
mov dword [ebp - 0x2c], 0x1001140
jmp 0x100208b
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x5c]
push eax
call esi
test eax, eax
jne 0x10020d8
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x10020fb
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov ax, word [esi]
cmp ax, 0x22
push 2
pop ecx
jne 0x100212e
add esi, ecx
mov ax, word [esi]
test ax, ax
je 0x1002126
cmp ax, 0x22
jne 0x1002116
cmp word [esi], 0x22
jne 0x1002146
jmp 0x1002144
cmp ax, 0x20
jbe 0x1002146
add esi, ecx
cmp word [esi], 0x20
ja 0x1002134
jmp 0x1002146
cmp ax, 0x20
ja 0x100214e
add esi, ecx
mov ax, word [esi]
test ax, ax
jne 0x100213e
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x18], 1
je 0x1002168
movzx eax, word [ebp - 0x14]
jmp 0x100216b
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
pushal
nop
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
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1001a1a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
call fcn.010019e1
call fcn.01002c0e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0100193c
mov esi, eax
test esi, esi
jl 0x1001b44
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jl 0x1001b44
push ebx
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
cmp ebx, 6
je 0x1001b04
push 0x1001228
push 1
push 0
push 0x10012b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x1001b3d
cmp ebx, 9
ja case.0x1001aa2.6
jmp dword [ebx*4 + 0x1001b5a]
push 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
jmp 0x1001b32
push 1
jmp 0x1001aab
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
jmp 0x1001b32
push 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
jmp 0x1001b32
push 0
jmp 0x1001ac7
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
jmp 0x1001b32
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
jmp 0x1001b32
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
jmp 0x1001b32
xor esi, esi
jmp 0x1001b34
mov esi, 0x80004001
jmp 0x1001b34
push 0x1001218
push 1
push 0
push 0x10012a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x1001b3d
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
setl al
xor ecx, ebp
pop esi
call fcn.01001e9f
leave
ret 0x10
Function at 0x1001e90
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1003548
call fcn.01002314
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1004734
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001c4b
cmp eax, esi
jne 0x1001c3e
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001c4e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001c25
xor esi, esi
inc esi
mov eax, dword [0x1004730]
cmp eax, esi
jne 0x1001c61
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001c90
mov eax, dword [0x1004730]
test eax, eax
jne 0x1001c8a
mov dword [0x1004730], esi
push 0x1001118
push 0x100110c
call fcn.01001b87
pop ecx
pop ecx
test eax, eax
je 0x1001c90
jmp 0x1001db4
mov dword [0x100434c], esi
mov eax, dword [0x1004730]
cmp eax, esi
jne 0x1001cb4
push 0x1001108
push 0x1001100
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1004730], 2
cmp dword [ebp - 0x20], ebx
jne 0x1001cc1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100473c], ebx
je 0x1001ce2
push 0x100473c
call fcn.01002289
pop ecx
test eax, eax
je 0x1001ce2
push ebx
push 2
push ebx
call dword [0x100473c]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1001db4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1001d4c
cmp cx, bx
je 0x1001d07
cmp dword [ebp - 0x1c], ebx
jne 0x1001d4c
movzx ecx, word [eax]
cmp cx, bx
je 0x1001d1c
cmp cx, 0x20
ja 0x1001d1c
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1001d07
test byte [ebp - 0x40], 1
je 0x1001d28
movzx ecx, word [ebp - 0x3c]
jmp 0x1001d2b
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1004348], eax
cmp dword [0x100433c], ebx
jne 0x1001d91
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1001d5d
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x1001cf1
cmp dword [0x100434c], ebx
jne 0x1001d9f
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004348]
jmp 0x1001dc0
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01002359
ret
call fcn.01002461
jmp 0x1001be8