joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441f20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494dd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00488606
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048dc9c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048f1b8
test eax, eax
je 0x44203c
mov ecx, dword [esp + 0x3c]
call fcn.0048dcc9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442000
push edi
mov ecx, esi
call fcn.0048b331
mov ecx, esi
call fcn.004421e0
cmp dword [esp + 0x38], 1
jne 0x442035
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048b46c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x444220
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444253
push esi
call fcn.004525e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44424c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4442d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4442c2
mov eax, dword [esi + 8]
test eax, eax
je 0x444277
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4442be
cmp eax, 2
je 0x4442c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44426a
cmp eax, 3
je 0x44429d
cmp eax, 1
jne 0x44426a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44426a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44426a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444300
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4442e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444300
add esp, 4
pop esi
ret

Function at 0x444b80
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x444ba1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x444ba1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x444ba1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x462130
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x737e0c]
xor edx, edx
cmp eax, edx
jne 0x462156
xor eax, eax
mov byte [eax + 0x737d0c], al
inc eax
cmp eax, 0x100
jl 0x46213e
mov dword [0x737e0c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x737d0c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4621e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4621ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x462188
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x462260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4622b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46229a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x468c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4952be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00469590
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x700c64
call fcn.00486d96
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x468d03
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00486d96
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x468cfc
push 0
mov ecx, eax
call fcn.0045fd70
mov dword [esi + 0xc], eax
jmp 0x468d05
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x468d05
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4893fc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x489434
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.004874b0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00487488
jmp 0x489440
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48aaee
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 0x48ab30
call fcn.0049059e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48ab30
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48ab27
xor eax, eax
jmp 0x48ab38
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048ab3e
pop edi
pop esi
pop ebx
ret 4
Function at 0x490ace
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 0x490afc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x490b1a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00490a34
jmp 0x490b1a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x490b1a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00490a34
test edi, edi
mov eax, edi
jne 0x490b04
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4030c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4063a0]
test esi, esi
jle 0x4031d0
mov edi, dword [0x4063a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x4030f4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x403175
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x4030e0
mov dword [esp], eax
mov ebx, eax
call fcn.004039b0
test eax, eax
mov edi, eax
je 0x4031f7
mov eax, dword [0x4063a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00403ab0
add eax, dword [edi + 0xc]
mov edx, dword [0x4063a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4031d7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40316e
sub eax, 4
and eax, 0xfffffffb
jne 0x403180
add dword [0x4063a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4063a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40316e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00403ed0
lea esi, [esi]
xor esi, esi
jmp 0x4030fe
mov eax, dword [0x4063a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00403ed0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00403ed0
mov esi, esi
lea edi, [edi]

Function at 0x403630
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4063b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4063b0]
sub esp, 4
test ebx, ebx
je 0x403685
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40367e
test esi, esi
je 0x40367e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x403660
mov dword [esp], 0x4063b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403ed0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00403ea0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00403ea0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp fcn.004014e0
Function at 0x4087b0
Capabilities:
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xbc83d043
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
sub eax, 0x96eb42fd
je 0x4088d7
jmp 0x4087dc
mov eax, dword [ebp - 0x18]
sub eax, 0xad88bbf5
je 0x408884
jmp 0x4087ef
mov eax, dword [ebp - 0x18]
sub eax, 0xb5cfdc46
je 0x40889f
jmp 0x408802
mov eax, dword [ebp - 0x18]
sub eax, 0xbc83d043
je 0x408866
jmp 0x408815
mov eax, dword [ebp - 0x18]
sub eax, 0xec2e6106
je 0x4088fe
jmp 0x408828
mov eax, dword [ebp - 0x18]
sub eax, 0x3cc61766
je 0x4088f2
jmp 0x40883b
mov eax, dword [ebp - 0x18]
sub eax, 0x4089a816
je 0x40890a
jmp 0x40884e
mov eax, dword [ebp - 0x18]
sub eax, 0x5df7eb36
je 0x4088b1
jmp 0x408861
jmp 0x40890f
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xad88bbf5
jmp 0x40890f
mov edx, dword [ebp - 0xc]
mov eax, 0x4089a816
mov ecx, 0xb5cfdc46
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40890f
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x5df7eb36
jmp 0x40890f
mov eax, dword [ebp - 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 1], al
mov dword [ebp - 0x14], 0x96eb42fd
jmp 0x40890f
mov dl, byte [ebp - 1]
mov eax, 0x3cc61766
mov ecx, 0xec2e6106
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40890f
mov dword [ebp - 0x14], 0x4089a816
jmp 0x40890f
mov dword [ebp - 0x14], 0x4089a816
jmp 0x40890f
add esp, 0x1c
pop ebp
ret
jmp 0x4087c6
Function at 0x41b78b
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x422fc8
push ebx
push esi
call fcn.00422ef4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00422e88
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x422f75
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422fc7
push edi
push eax
call fcn.004219c0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x422f95
call fcn.00421a0e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422fc6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00422e88
add esp, 0x20
test eax, eax
jne 0x422fb4
push edi
call fcn.00421a0e
jmp 0x422fbc
push ebx
call fcn.00421a0e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4241da
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c9b0
push 0x42c9a8
push str.FlsAlloc
push 0x1f
call fcn.00424099
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42420e
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a144]
call esi
jmp 0x424214
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x424258
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c9c0
push 0x42c9b8
push str.FlsGetValue
push 0x21
call fcn.00424099
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42428f
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x424297
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c9c8
push 0x42c9c0
push str.FlsSetValue
push 0x22
call fcn.00424099
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4242d1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42a144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4295a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4295cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4295cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406fa0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10c
push ebx
push esi
mov esi, dword [esp + 0x118]
push edi
push esi
lea eax, [esp + 0x14]
push str.__s_
push eax
call fcn.00413130
mov cl, byte [esi]
mov dl, byte [esi + 1]
mov al, byte [esi + 2]
add esp, 0xc
mov byte [esp + 0xc], cl
lea ecx, [esp + 0xc]
push ecx
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x406ffd
cmp eax, 2
je 0x406ffd
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.USER32.dll_CharPrevA]
not ecx
dec ecx
add ecx, esi
push ecx
push esi
call edi
mov cl, byte [eax]
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x20
jne 0x407031
push eax
push esi
call edi
cmp byte [eax], 0x20
je 0x407022
push eax
call ebx
mov byte [eax], 0
mov cl, byte [esi]
mov eax, esi
test cl, cl
je 0x407071
mov edi, dword [esp + 0xc]
cmp cl, 0x5c
jne 0x407047
cmp byte [edi], 0x20
je 0x407065
push eax
mov edi, eax
call ebx
mov cl, byte [eax]
test cl, cl
jne 0x40703d
push esi
call fcn.004067d0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
push esi
call fcn.004067d0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
Function at 0x6c957de3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20cc
push ebx
push esi
push edi
push edi
push ebx
add esp, 4
jmp 0x6c957dfd
jmp 0x6c957e06
and edi, 0x1551f
and edi, 0x10e7
pop edi
push edx
sub edx, 0x65b2
and edx, 0x17c86
pop edx
mov eax, 0x4d
mov word [ebp - 0x2008], ax
mov ecx, 0x42
mov word [ebp - 0x2006], cx
mov edx, 0x53
mov word [ebp - 0x2004], dx
mov eax, 0x65
mov word [ebp - 0x2002], ax
mov ecx, 0x72
mov word [ebp - 0x2000], cx
mov edx, 0x76
mov word [ebp - 0x1ffe], dx
mov eax, 0x69
mov word [ebp - 0x1ffc], ax
mov ecx, 0x63
mov word [ebp - 0x1ffa], cx
mov edx, 0x65
mov word [ebp - 0x1ff8], dx
mov eax, 0x2e
mov word [ebp - 0x1ff6], ax
mov ecx, 0x65
mov word [ebp - 0x1ff4], cx
mov edx, 0x78
mov word [ebp - 0x1ff2], dx
mov eax, 0x65
mov word [ebp - 0x1ff0], ax
xor ecx, ecx
mov word [ebp - 0x1fee], cx
mov dword [ebp - 0x1064], 1
push eax
push esi
add esp, 4
sub eax, 0xd7f4
add eax, 0x7fc0
xor eax, 0x1187b
pop eax
push ebx
xor ebx, 0x4560
add ebx, 0x14cc3
or ebx, 0x5f73
and ebx, 0x1735f
pop ebx
imul edx, dword [ebp - 0x1064], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x1064], 0xfe
sub edx, eax
xor edx, 0xaa6272
imul edx, dword [ebp - 0x1064]
imul ecx, dword [ebp - 0x1064], 0xfe
sub edx, ecx
mov dword [ebp - 0x1068], edx
push esi
push esi
add esp, 4
and esi, 0x7c9a
or esi, 0x13b16
pop esi
push edx
sub edx, 0x10cd5
xor edx, 0x6fa3
or edx, 0x1750d
pop edx
push ebx
push ebx
add esp, 4
sub ebx, 0xe91a
pop ebx
mov dword [ebp - 0x10], 1
push esi
push ecx
add esp, 4
sub esi, 0x2616
jmp 0x6c957f87
pop esi
push ecx
sub ecx, 0x5745
pop ecx
push edi
sub edi, 0x125da
jmp 0x6c957fa0
jmp 0x6c957fa7
pop edi
imul edx, dword [ebp - 0x10], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x10], 0xfe
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0xfe
sub edx, ecx
mov dword [ebp - 0x14], edx
push ebx
push eax
add esp, 4
sub ebx, 0x8a07
and ebx, 0x7837
pop ebx
push edx
add edx, 0x6a
xor edx, 0x4eab
pop edx
push eax
push ecx
add esp, 4
add eax, 0x5da0
or eax, 0xc0e7
pop eax
push edx
xor edx, 0x124c9
pop edx
push ebx
add ebx, 0xcc2b
or ebx, 0x13812
pop ebx
push esi
push esi
add esp, 4
or esi, 0xe0a4
call 0x6c958034
add byte [eax + 0x43], dl
inc eax
inc edx
dec ebp
dec ebp
add esp, 4
pop esi
mov dword [ebp - 0x2c], 1
push ecx
jmp 0x6c958046
pop ecx
push eax
push ebx
add esp, 4
xor eax, 0x351
jmp 0x6c958058
pop eax
push eax
push edi
add esp, 4
xor eax, 0x83de
pop eax
push ecx
push esi
add esp, 4
add ecx, 0x6eec
pop ecx
imul edx, dword [ebp - 0x2c], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x2c], 0xfe
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0xfe
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x6c958252
Function at 0x6c95bd85
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
jmp 0x6c95bd54
call fcn.6c95bd62
add byte [edi + 0x35], al
dec ebp
xor ecx, dword [esi + 0x50]
xor eax, 0x4c48343
add esp, 4
add eax, 0x1671b
pop eax
mov dword [ebp - 0xac4], 0
inc dword [eax]
add byte [eax], al
invalid
push eax
call 0x6c95bd85
add byte [edx + 0x4d], cl
xor al, byte [edi + 0x4e]
cmp dh, byte [0x4c4834c]
jmp 0x6c95bd8f
pop eax
push ecx
push ebx
add esp, 4
sub ecx, 0xfd7b
add ecx, 0x3dff
add bl, ch
invalid
pop ecx
mov byte [ebp - 0x87c], 0x45
mov byte [ebp - 0x87b], 0x78
mov byte [ebp - 0x87a], 0x69
mov byte [ebp - 0x879], 0x74
mov byte [ebp - 0x878], 0x50
mov byte [ebp - 0x877], 0x72
push dword [edx - 0x3a]
test dword [edx + 0x6ffffff7], ecx
mov byte [ebp - 0x875], 0x63
mov byte [ebp - 0x874], 0x65
mov byte [ebp - 0x873], 0x73
mov byte [ebp - 0x872], 0x73
mov byte [ebp - 0x871], 0
push edi
push ecx
invalid
invalid

Function at 0x6c95bee9
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [esi - 0x77], ah
xchg ebp, eax
enter 0xffffffffffffffe8, 0xffffffffffffffff
mov eax, 0x6c
mov word [ebp - 0x1736], ax
mov ecx, 0x33
mov word [ebp - 0x1734], cx
mov edx, 0x32
mov word [ebp - 0x1732], dx
mov eax, 0x2e
mov word [ebp - 0x1730], ax
mov ecx, 0x64
mov word [ebp - 0x172e], cx
mov edx, 0x6c
mov word [ebp - 0x172c], dx
mov eax, 0x6c
mov word [ebp - 0x172a], ax
xor ecx, ecx
mov word [ebp - 0x1728], cx
push ecx
push ecx
add esp, 4
or ecx, 0x4f62
or ecx, 0xd1d0
pop ecx
push ecx
call 0x6c95bee9
add byte [ebp + edi + 0x3e], cl
inc eax
dec edi
inc esi
xor eax, 0xc4835044
add al, 0x81
jmp 0x6c95d81f
invalid