joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4edf77
Capabilities:
Terminate process

Disassembly:
jmp fcn.0065b5d0
jmp 0x640f90
cmp ecx, dword [0x777574]
jne 0x640f9a
repz ret
jmp 0x4e8fd1

Function at 0x50abb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6be370
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x154
push ebx
push esi
push edi
lea edi, [ebp - 0x164]
mov ecx, 0x55
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x777574]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x28], 0x4b
mov byte [ebp - 0x27], 0x45
mov byte [ebp - 0x26], 0x52
mov byte [ebp - 0x25], 0x4e
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4c
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x3c], 0x75
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x39], 0x41
mov byte [ebp - 0x38], 0x6c
mov byte [ebp - 0x37], 0x6c
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x63
mov byte [ebp - 0x34], 0
mov esi, esp
push str.VirtualAlloc
mov edi, esp
push 0x6cfe70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.004efd09
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004efd09
mov dword [ebp - 0x4c], eax
nop
nop
nop
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ecx + edx + 0x18]
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x50acdb
mov dword [ebp - 0x160], 0x50
push 0x70ccc8
lea eax, [ebp - 0x160]
push eax
call fcn.004e9738
jmp 0x50ae39
mov dword [ebp - 4], 0xffffffff
push edx
mov ecx, ebp
push eax
lea edx, [0x50ae7c]
call fcn.004ebb87
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004edf77
add esp, 0x164
cmp ebp, esp
call fcn.004efd09
mov esp, ebp
pop ebp
ret
Function at 0x50af70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6be3b0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x160
push ebx
push esi
push edi
lea edi, [ebp - 0x170]
mov ecx, 0x58
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x777574]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, esp
push str.VirtualFree
mov edi, esp
push 0x6cfe70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.004efd09
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004efd09
mov dword [ebp - 0x1c], eax
nop
nop
nop
nop
nop
mov byte [ebp - 0x34], 0x56
mov byte [ebp - 0x33], 0x69
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x50
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x63
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0
mov esi, esp
push str.VirtualProtect
mov edi, esp
push 0x6cfe70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.004efd09
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004efd09
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ecx + edx + 0x18]
mov dword [ebp - 0x58], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x50b096
mov dword [ebp - 0x16c], 0x40
push 0x70ccc8
lea eax, [ebp - 0x16c]
push eax
call fcn.004e9738
jmp 0x50b21c
mov dword [ebp - 4], 0xffffffff
push edx
mov ecx, ebp
push eax
lea edx, [0x50b260]
call fcn.004ebb87
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004edf77
add esp, 0x170
cmp ebp, esp
call fcn.004efd09
mov esp, ebp
pop ebp
ret
Function at 0x50eb40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
lea edi, [ebp - 0x110]
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x777574]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x86
mov word [ebp - 0x1c], ax
mov eax, 0x68
mov word [ebp - 0x1a], ax
mov eax, 0x66
mov word [ebp - 0x18], ax
mov ax, word [ebp + 0x10]
mov word [ebp - 0x16], ax
mov eax, 0x15
mov word [ebp - 0x14], ax
mov eax, 0x21
mov word [ebp - 0x12], ax
mov eax, 0x2d
mov word [ebp - 0x10], ax
mov eax, 0x39
mov word [ebp - 0xe], ax
mov eax, 0x45
mov word [ebp - 0xc], ax
mov eax, 9
mov word [ebp - 0x28], ax
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 3
div ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], 0
jmp 0x50ebe8
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x40]
jae 0x50ec2c
movzx eax, word [ebp - 0x34]
movzx ecx, word [ebp - 0x28]
cmp eax, ecx
jne 0x50ec02
xor eax, eax
mov word [ebp - 0x34], ax
movzx eax, word [ebp - 0x34]
movzx ecx, word [ebp + eax*2 - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x4c]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x4c]
mov byte [ecx], al
mov ax, word [ebp - 0x34]
add ax, 1
mov word [ebp - 0x34], ax
jmp 0x50ebdf
push edx
mov ecx, ebp
push eax
lea edx, [0x50ec50]
call fcn.004ebb87
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edf77
mov esp, ebp
pop ebp
ret

Function at 0x53bb80
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004e72c6
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.004f2266
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x53bc0b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x53bbe2
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004ee030
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x53bbff
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.004e9abc
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.004edcd4
jmp 0x53bc3c
mov ecx, dword [ebp + 0x10]
call fcn.004eb9fc
push eax
push 0xffffffffffffffff
push 0x14d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x53bc3c
mov ecx, dword [ebp + 0x10]
call fcn.004eb9fc
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004e965c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x550e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x550f28
call fcn.004ef0ed
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x550ebb
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x550e92
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x77b558
call fcn.004edb99
push eax
push 0x16f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x20]
call fcn.004f0600
push eax
call fcn.004f1a2d
add esp, 0x10
xor eax, eax
jmp 0x550f96
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x550eb9
push 0x175
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004eba8d
test eax, eax
je 0x550eb9
int3
jmp 0x550f28
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x550ede
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004eba8d
test eax, eax
je 0x550ede
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x550f28
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x550f1d
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x77b558
call fcn.004edb99
push eax
push 0x183
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x28]
call fcn.004f0600
push eax
call fcn.004f1a2d
add esp, 0x10
jmp 0x550f28
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x550ede
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x550f51
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x550f70
cmp dword [ebp - 0xc], 0
je 0x550f70
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004ea2a5
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x550f93
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x587490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x5874b1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x58750c
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5874d5
call fcn.004ed3e7
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5874f4
call fcn.004ed3e7
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x58750c
call fcn.004ed3e7
call fcn.004f05f1
cmp dword [eax + 0x3c], 0
je 0x587526
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004eae94
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004e967a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x5c], 0
je 0x587556
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x5c], 0
cmp dword [ebp - 4], 0
je 0x58756b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100026b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10002711
mov eax, dword [ebp + 0x14]
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov eax, dword [eax]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
push esi
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0xc]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x100026d2
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
pop edi
pop ebp
ret 0x18
Function at 0x4063ba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4063de
xor eax, eax
test eax, eax
je 0x4063f1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4063f1
xor ecx, ecx
jmp 0x4063f4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4064db
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x406512
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064ec
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x4064e7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406543
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x406525
pop edi
not eax
pop esi
ret 0xc

Function at 0xe5b350
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe5b35a
pushal
call 0xe5b360
pop ebp
sub ebp, 0x10
sub ebp, 0xa5b350
jmp 0xe5b376
mov eax, 0xa5b350
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d3
mov edx, 0xb7a7fe62
xor byte [eax], dl
inc eax
dec ecx
jne 0xe5b38d
jmp 0xe5b3a0
jmp 0x5fd19d54
Function at 0x402d90
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
push esi
sub esp, 8
mov eax, dword [0x4402c0]
xor eax, esp
mov dword [esp + 4], eax
mov byte [esp + 3], 1
rdtsc
xchg ebx, eax
rdtsc
sub eax, ebx
cmp eax, dword [esp + 0x14]
jg 0x402db7
mov byte [esp + 3], 0
movzx esi, byte [esp + 3]
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0041948d
mov eax, esi
add esp, 8
pop esi
pop ebx
ret

Function at 0x403310
Capabilities:
Execute command

Disassembly:
push esi
sub esp, 0x30
mov dword [esp + 0x10], str.echo____n
mov dword [esp + 0x14], 0xa
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x18]
mov dword [esp], esi
call fcn.004033a0
cmp dword [esp + 0x2c], 0x10
jb 0x40334f
mov esi, dword [esp + 0x18]
mov dword [esp], esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x403390
mov ecx, dword [esp + 0x18]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x403384
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x403395
add eax, 0x24
mov edx, eax
mov ecx, esi
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00419457
add esp, 0x30
pop esi
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x419eeb
Capabilities:
Parse pe header

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

Function at 0x401314
Capabilities:
Encode data using xor

Disassembly:
push 0x438388
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
lahf
popal
fist word [ebx - 0x67]
nop
dec edx
test byte [ebx + 0x4b3e1801], al
test byte [eax], ch
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
push esi
arpl word gs:[edi + ebp*2 + 0x72], si
add byte [eax], al
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
invalid
Function at 0x10031a9a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10031af6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push 0x644d
push 0x53f0
push dword [ebp - 0x10]
push 0x3105
push 0x1ca4
push 0
push 0x2ae2
push 0x6525
push 0x5c7d
push 0x2df2
push dword [ebp - 0x14]
push 0x20ba
call fcn.1003f486
add esp, 0x30
jmp 0x10031bb8
mov dword [ebp - 0x18], 0x1d19
cmp dword [ebp - 0x18], 0x85e
jge 0x10031b98
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x100093ec
call fcn.10057beb
add esp, 0x10
and dword [ebp - 0xc], 0
and dword [ebp - 0xc], 0
jmp 0x10031b34
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x5a0
jge 0x10031b89
mov eax, dword [ebp - 8]
cdq
push 0xa
pop ecx
idiv ecx
cmp edx, 7
je 0x10031b59
mov eax, dword [ebp - 4]
cdq
push 0xa
pop ecx
idiv ecx
cmp edx, 7
jne 0x10031b5d
jmp 0x10031b89
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jns 0x10031b78
mov eax, dword [ebp - 4]
add eax, 0x3c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x10031b87
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 8], eax
jmp 0x10031b2d
push dword [ebp - 0xc]
push 0x10009160
call fcn.10057ed1
pop ecx
pop ecx
lea eax, [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10031bb2
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x10031bb8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esp, ebp
pop ebp
ret

Function at 0x10032314
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003238f
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10032371
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10010148
mov dword [eax], 0x9ba5b042
jmp 0x1003238d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003238d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x100323b5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push 0x134b
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
push 0x5713
call fcn.10024d82
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x100323d3
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003241a
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10032410
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x10032418
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10032441
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x437b
push 0x6d09
push 0x60d1
push 0x1a51
push 0
call fcn.10023456
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x1003424c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003427c
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10034270
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1003427a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x10034290
push 0
push 0x6efa
push 0x4034
call fcn.10032c33
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x100342ce
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10034309
push 0x235b
push 0x2103
push 0x6408
push 0x2af0
push 0x7f6b
push 0
push 0x759a
call fcn.10036e7e
add esp, 0x1c
jmp 0x100343cf
mov dword [ebp - 8], 0x2338
cmp dword [ebp - 8], 0xfa6
jge 0x10034360
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x106643e0
call fcn.1001fcfb
mov eax, dword [ebp - 0xc]
and eax, 0x80000001
jns 0x10034336
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x1003434e
mov edx, 0x100095bc
mov ecx, 0x10664338
call fcn.100130d7
mov dword [ebp - 0x10], eax
jmp 0x10034360
mov edx, 0x100095c4
mov ecx, 0x10664338
call fcn.100130d7
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x100343c9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100343aa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x100343c7
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10010148
mov dword [eax], 0xf3e76e5b
jmp 0x1003439f
jmp 0x100343cf
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret