joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406624
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 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
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 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x4067be
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 0x406798
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
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 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x654f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6699fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x655002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00658dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x655002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.006506e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0065920b
push 0x10
call fcn.006591d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x654fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.006451c0
jmp 0x654fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00654b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x654ff0
mov ecx, edi
call fcn.006452c0
push edi
call fcn.006591c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x655021
inc ebx
cmp ebx, 0x20
jb 0x654f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x6581b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00658140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00658140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00658140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00658140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x658bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x658c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x66a87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x658c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x658c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x6005e8
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ebp - 0x7912426b], bl
sti
cwde
ja 0x60058a
dec ebx
out dx, eax
sbb byte [ebp + 0xcfede03], ch
dec byte [eax + ebp*2]
outsd dx, dword [esi]
in eax, dx
dec edi
leave
mov ch, byte [ebx]
mov cl, dl
loope 0x600656
invalid
invalid
Function at 0x402d70
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402de0
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 fcn.00401ec0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x1000216e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..cdata]
push edi
xor edi, edi
cmp dword [0x10003064], edi
mov dword [ebp - 4], eax
jge 0x10002226
push 0x1000175c
call fcn.100023ba
cmp eax, edi
mov dword [0x10003064], eax
jne 0x10002226
lea eax, [ebp - 0x28]
push eax
push 1
push edi
push 0x10001700
push 0x80000002
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], 0x20
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002226
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push edi
push 0x100016f0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000221d
push esi
mov esi, dword [ebp - 0x2c]
shr esi, 1
lea eax, [ebp - 0x24]
je 0x1000221c
xor edx, edx
mov cx, word [eax]
cmp cx, di
je 0x1000221c
cmp cx, 0x76
je 0x10002212
cmp cx, 0x56
je 0x10002212
inc eax
inc eax
inc edx
inc edx
mov ecx, edx
sar ecx, 1
cmp esi, ecx
ja 0x100021f0
jmp 0x1000221c
mov dword [0x10003064], 1
pop esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [0x10003064]
pop edi
call fcn.10002819
leave
ret

Function at 0x10002819
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [section..cdata]
push edi
mov dword [ebp + 0x2a4], eax
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0xc0000409
lea eax, [ebp + 0x2ac]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov eax, dword [eax]
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.10002819
pop edi
add ebp, 0x2a8
leave
ret
cmp ecx, dword [section..cdata]
jne 0x10002822
ret
jmp 0x100026f1

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x57f770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x122000]
push edi
jmp 0x57f78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57f791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f780
mov eax, 1
add ebx, ebx
jne 0x57f7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57f7b4
jne 0x57f7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7d3
dec eax
add ebx, ebx
jne 0x57f7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57f798
add ebx, ebx
jne 0x57f7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57f825
xor ecx, ecx
sub eax, 3
jb 0x57f7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57f85a
sar eax, 1
mov ebp, eax
jmp 0x57f7f6
add ebx, ebx
jne 0x57f7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
inc ecx
add ebx, ebx
jne 0x57f804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
add ebx, ebx
jne 0x57f811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57f806
jne 0x57f822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57f806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57f844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57f836
jmp 0x57f786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57f844
add edi, ecx
jmp 0x57f786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57f862
cmp byte [edi], 0x11
jne 0x57f862
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 0x57f867
lea edi, [esi + 0x178000]
mov eax, dword [edi]
or eax, eax
je 0x57f8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x218fa0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21911c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57f894
mov ecx, edi
jns 0x57f8c3
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 + 0x219120]
or eax, eax
je 0x57f8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57f8b1
call dword [esi + 0x219130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57f910
cmp al, 0xef
ja 0x57f903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57f8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57f8f2
mov ebp, dword [esi + 0x219124]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57f944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x10001be9
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x184
mov eax, dword [0x1003ed14]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x78]
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x68], 1
jne 0x10001c9c
cmp dword [ebp - 0x70], ebx
jne 0x10001c9c
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 0x1001
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, 0x100359dc
mov edi, 0x10042d68
jmp 0x10001c6c
lea eax, [ebp + 0x9c]
push eax
mov ecx, edi
call fcn.10001f5b
test eax, eax
je 0x10001c87
inc ebx
lea edi, [ebx*8 + 0x10042d68]
push esi
mov ecx, edi
call fcn.10001f5b
test eax, eax
jne 0x10001c52
mov ecx, dword [ebp - 0x7c]
push 0x100359f7
call fcn.10001dc8
jmp 0x10001c97
mov ecx, dword [ebp - 0x7c]
lea eax, [ebx*8 + 0x10042d6c]
push eax
call fcn.1000196b
mov eax, dword [ebp - 0x7c]
jmp 0x10001cc2
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp + 0x9c]
push eax
mov ecx, esi
call fcn.10001601
mov eax, esi
mov ecx, dword [ebp + 0x100]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100115ee
add ebp, 0x104
leave
ret

Function at 0x10001cda
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x184
mov eax, dword [0x1003ed14]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x78]
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x68], 1
jne 0x10001d8a
cmp dword [ebp - 0x70], ebx
jne 0x10001d8a
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 7
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, 0x100359dc
mov edi, 0x100431e8
jmp 0x10001d5a
lea eax, [ebp + 0x9c]
push eax
mov ecx, edi
call fcn.10001f5b
test eax, eax
je 0x10001d75
inc ebx
lea edi, [ebx*8 + 0x100431e8]
push esi
mov ecx, edi
call fcn.10001f5b
test eax, eax
jne 0x10001d40
mov ecx, dword [ebp - 0x7c]
push 0x100359f7
call fcn.10001dc8
jmp 0x10001d85
mov ecx, dword [ebp - 0x7c]
lea eax, [ebx*8 + 0x100431ec]
push eax
call fcn.1000196b
mov eax, dword [ebp - 0x7c]
jmp 0x10001db0
push 0x32
lea eax, [ebp + 0x9c]
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp + 0x9c]
push eax
mov ecx, esi
call fcn.10001601
mov eax, esi
mov ecx, dword [ebp + 0x100]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100115ee
add ebp, 0x104
leave
ret

Function at 0x1000c270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dh, al
test dword [eax + 0x62fffffc], esi
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
invalid
Function at 0x100115ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003ed14]
jne 0x100115f8
repz ret
jmp fcn.10015583

Function at 0x1001eb7d
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.10015bc4
and dword [ebp - 4], 0
cmp dword [0x10042c38], 0
mov ebx, eax
jne 0x1001ec2e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001ecdf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001ecdf
push eax
call fcn.10015b52
mov dword [esp], 0x100345e0
push edi
mov dword [0x10042c38], eax
call esi
push eax
call fcn.10015b52
mov dword [esp], 0x100345cc
push edi
mov dword [0x10042c3c], eax
call esi
push eax
call fcn.10015b52
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10042c40], eax
call esi
push eax
call fcn.10015b52
pop ecx
mov dword [0x10042c48], eax
test eax, eax
je 0x1001ec2e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10015b52
pop ecx
mov dword [0x10042c44], eax
mov eax, dword [0x10042c44]
cmp eax, ebx
je 0x1001ec86
cmp dword [0x10042c48], ebx
je 0x1001ec86
push eax
call fcn.10015bcd
push dword [0x10042c48]
mov esi, eax
call fcn.10015bcd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001ec86
test edi, edi
je 0x1001ec86
call esi
test eax, eax
je 0x1001ec7d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001ec7d
test byte [ebp - 0xc], 1
jne 0x1001ec86
or dword [ebp + 0x10], 0x200000
jmp 0x1001ecbf
mov eax, dword [0x10042c3c]
cmp eax, ebx
je 0x1001ecbf
push eax
call fcn.10015bcd
pop ecx
test eax, eax
je 0x1001ecbf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001ecbf
mov eax, dword [0x10042c40]
cmp eax, ebx
je 0x1001ecbf
push eax
call fcn.10015bcd
pop ecx
test eax, eax
je 0x1001ecbf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10042c38]
call fcn.10015bcd
pop ecx
test eax, eax
je 0x1001ecdf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001ece1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41376a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4137a2
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x413790
mov al, 1
jmp 0x413801
cmp dword [ebx + 0x54], ecx
jne 0x413799
mov al, 2
jmp 0x413801
cmp dword [ebx + 0x7c], ecx
jne 0x413801
mov al, 3
jmp 0x413801
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4137b7
mov al, 4
jmp 0x413801
cmp ecx, 5
jne 0x4137d7
cmp ebx, 0
jne 0x4137c5
mov al, 5
jmp 0x413801
cmp ebx, 1
jne 0x4137ce
mov al, 6
jmp 0x413801
cmp ebx, 2
jne 0x4137d7
mov al, 7
jmp 0x413801
cmp ecx, 6
jne 0x4137ff
cmp ebx, 0
jne 0x4137e5
mov al, 8
jmp 0x413801
cmp ebx, 1
jne 0x4137ec
mov al, 9
cmp ebx, 2
jne 0x4137f3
mov al, 0xa
cmp ebx, 3
jne 0x4137fa
mov al, 0xb
cmp ebx, 4
jne 0x413801
mov al, 0xc
pop ebx
leave
ret
Function at 0x42a0c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b6c9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ab42d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a142
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a92db
mov eax, dword [eax]
push 0x537d04
push eax
call fcn.0049b254
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ab6b8
test bl, bl
je 0x42a142
push 0x537d04
lea ecx, [esp + 0xc]
call fcn.004aba48
push 0x537d10
lea ecx, [esp + 0xc]
call fcn.004aba48
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42a17e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ab6b8
jmp 0x42a249
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42a202
lea edx, [esp + 0x7c]
push 0x537d0c
push edx
call fcn.0049b254
add esp, 8
test eax, eax
je 0x42a202
lea eax, [esp + 0x7c]
push 0x537d08
push eax
call fcn.0049b254
add esp, 8
test eax, eax
je 0x42a202
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42a192
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ab6b8
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42aa40
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 0x42aaa2
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 0x42aab0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b6d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x548dc0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42abe8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42ab16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ab6b8
xor eax, eax
jmp 0x42ac5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ab7f5
push esi
lea ecx, [esp + 0xc]
call fcn.004aba84
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x537d44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42ac3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042aa40
test eax, eax
jne 0x42ac3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0042aa40
test eax, eax
jne 0x42ac3d
lea eax, [esp + 0x14]
push 0x537d20
push eax
call fcn.0049c3a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ac1c
lea ecx, [esp + 0x14]
push 0x537d1c
push ecx
call fcn.0049c320
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ac1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42ac1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ab7a5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ab2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ab6b8
xor eax, eax
jmp 0x42ac5f
mov byte [esi], 0
push 0x537d18
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ab6b8
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4