joyce8/EMBER2024-capa huggingface dataset:
Function at 0x688c80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xb23000
lea edi, [esi - 0x232000]
push edi
jmp 0x688c9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x688ca1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x688c90
mov eax, 1
add ebx, ebx
jne 0x688cb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x688cc4
jne 0x688ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x688ce3
dec eax
add ebx, ebx
jne 0x688cd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x688ca8
add ebx, ebx
jne 0x688cdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x688d35
xor ecx, ecx
sub eax, 3
jb 0x688cfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x688d6a
sar eax, 1
mov ebp, eax
jmp 0x688d06
add ebx, ebx
jne 0x688d06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x688cd4
inc ecx
add ebx, ebx
jne 0x688d14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x688cd4
add ebx, ebx
jne 0x688d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x688d16
jne 0x688d32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x688d16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x688d54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x688d46
jmp 0x688c96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x688d54
add edi, ecx
jmp 0x688c96
pop esi
mov edi, esi
mov ecx, 0x3ed3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x688d72
cmp byte [edi], 0x11
jne 0x688d72
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 0x688d77
lea edi, [esi + 0x281000]
mov eax, dword [edi]
or eax, eax
je 0x688def
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x438324]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4384a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x688da4
mov ecx, edi
jns 0x688dd3
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 + 0x4384a4]
or eax, eax
je 0x688de9
mov dword [ebx], eax
add ebx, 4
jmp 0x688dc1
call dword [esi + 0x4384b4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x688e20
cmp al, 0xef
ja 0x688e13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x688df5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x688e02
mov ebp, dword [esi + 0x4384a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x688e54
sub esp, 0xffffff80
jmp 0x427dcd
Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x411de0
jmp fcn.00412d60
cmp ecx, dword [section..data]
jne 0x411dea
repz ret
jmp 0x4110af
Function at 0x4010b0
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0xc2792c], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 8], eax
jne 0x4010db
push str.etuxiy_rahewanabijodurihipetiro_kopedov
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x8090e8]
mov ebx, dword [0x8090ec]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], ecx
call fcn.004010a0
mov edx, dword [0x8090f0]
mov eax, dword [0x8090f4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x401120
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0xc2792c]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401182
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x34]
push ecx
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], ax
mov edx, dword [ebp - 0x1c]
push edx
push eax
push str.sodiwa
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov eax, dword [ebp - 4]
mov ecx, dword [0xc2792c]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40119c
mov dword [0xc27928], 0xedeb2e40
jmp 0x4011be
cmp ecx, 0x3eb
jne 0x4011be
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0xc272dc], 0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x14], eax
mov dword [0xc27924], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401090
sub edi, 1
jne 0x401120
cmp dword [0xc2792c], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x401269
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4051e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x808560]
jne 0x4051f0
repz ret
jmp fcn.00407785

Function at 0x406e52
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.00402dba
and dword [ebp - 4], 0
cmp dword [0x809d58], 0
mov ebx, eax
jne 0x406f03
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406fb4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406fb4
push eax
call fcn.00402d48
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x809d58], eax
call esi
push eax
call fcn.00402d48
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x809d5c], eax
call esi
push eax
call fcn.00402d48
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x809d60], eax
call esi
push eax
call fcn.00402d48
pop ecx
mov dword [0x809d68], eax
test eax, eax
je 0x406f03
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402d48
pop ecx
mov dword [0x809d64], eax
mov eax, dword [0x809d64]
cmp eax, ebx
je 0x406f5b
cmp dword [0x809d68], ebx
je 0x406f5b
push eax
call fcn.00402dc3
push dword [0x809d68]
mov esi, eax
call fcn.00402dc3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406f5b
test edi, edi
je 0x406f5b
call esi
test eax, eax
je 0x406f52
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406f52
test byte [ebp - 0xc], 1
jne 0x406f5b
or dword [ebp + 0x10], 0x200000
jmp 0x406f94
mov eax, dword [0x809d5c]
cmp eax, ebx
je 0x406f94
push eax
call fcn.00402dc3
pop ecx
test eax, eax
je 0x406f94
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406f94
mov eax, dword [0x809d60]
cmp eax, ebx
je 0x406f94
push eax
call fcn.00402dc3
pop ecx
test eax, eax
je 0x406f94
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x809d58]
call fcn.00402dc3
pop ecx
test eax, eax
je 0x406fb4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406fb6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4031e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4045c1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x408398]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x14], ecx
mov cl, byte [esp + 0x48]
cmp cl, bl
mov dword [esi + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x20], 1
mov dword [esi + 0xc], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], ebx
jne 0x4032c4
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x48], edi
jbe 0x403291
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x403278
mov edi, eax
add ecx, 0x10
sub edx, 1
jne 0x403270
cmp edi, 0x100000
mov dword [esp + 0x48], edi
mov eax, 0x40651c
ja 0x403295
lea eax, [esp + 0x48]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.004038eb
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x4032bb
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x24], edi
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ecx, ecx
mov eax, ebp
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004038eb
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x403312
push 0x402410
push 0x4023d0
push ebp
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebp
call fcn.00403a33
jmp 0x403314
xor edi, edi
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov byte [esp + 0x20], 1
je 0x403344
cmp eax, ebx
je 0x403341
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x402410
push ecx
push 0x44
push eax
call fcn.004039d0
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.00402e70
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x24

Function at 0x4038fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408398]
jne 0x403906
repz ret
jmp fcn.00403dae

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
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
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
mov ebx, 0x40915c
nop
nop
mov ecx, 0x2c100a46
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x2c0447f
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x4014ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
push ebx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x11c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x4015de
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.004014ca
test eax, eax
jne 0x401678
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40210e
sub eax, 0x4016ac
mov dword [esp], 0x4016ac
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401678
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.004013c4
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.00401454
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401e11
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x100076d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x100192bc]
mov ecx, dword [0x100192d0]
mov edx, dword [0x100192b0]
add ecx, eax
mov eax, dword [0x100192e8]
mov dword [0x100192ec], ecx
mov ecx, dword [0x100192b4]
sub eax, edx
mov dword [0x100192c0], eax
sub eax, ecx
mov dword [0x100192f0], eax
call fcn.10007a20
jmp fcn.10007ad0
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x401941
Capabilities:
Allocate or change rwx memory
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push edi
and dword [ebp - 0x124], 0
xor edi, edi
mov byte [ebp - 0x104], 0
mov dword [ebp - 0x11c], 0x14
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
and dword [ebp - 0x120], 0
lea eax, [ebp - 0x120]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x404691]
lea edx, [fcn.004019d4]
sub eax, edx
push eax
push fcn.004019d4
call sub.KERNEL32.dll_VirtualProtect
mov eax, edi
pop edi
leave
ret
Function at 0x40608a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a74], 0
push esi
jne 0x4060c1
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 0x40609b
mov dword [ecx*4 + 0x422a70], eax
inc ecx
cmp ecx, 0x100
jl 0x406096
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4060f2
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 + 0x422a70]
xor eax, esi
inc ecx
dec edx
jne 0x4060d4
pop edi
not eax
pop esi
ret 0xc

Function at 0x40153f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x134]
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x40162d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040153f
test eax, eax
jne 0x4016c7
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40215e
sub eax, 0x4016fc
mov dword [esp], 0x4016fc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016c7
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401442
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014c9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401e61
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x10224320
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [0x102408ac], 0x2196
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x102243a5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1022443f
jmp 0x1022446f
mov dword [0x102408b0], 0x175
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x19], dl
mov al, byte [ebp - 0x19]
test al, 1
jne 0x10224407
jmp 0x1022446f
mov eax, dword [ebp - 0x20]
add esp, 0x30
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x102243d2
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jl 0x102243a5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1022446f
mov dword [0x102408ac], 0x2350
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10224374
jmp 0x1022446f
mov dword [0x102408ac], 0x108b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1022446f
mov dword [0x102408ac], 0x21b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1022435c
jmp 0x1022446f
mov dword [0x102408ac], 0xfffffaf7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x2a], dx
mov eax, 1
mov cx, word [ebp - 0x2a]
cmp cx, 0x6c
mov dword [ebp - 0x20], eax
je 0x1022439d
mov eax, dword [0x102408b0]
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x101e
mov dword [0x102408ac], ecx
mov dword [ebp - 0x20], eax
jmp 0x1022439d
Function at 0x10224490
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa4
mov al, 0x6e
xor ecx, ecx
lea edx, [ebp - 0x6c]
mov esi, dword [0x102408b0]
mov byte [ebp - 0x2c], 0x6e
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x64
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x2e
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0x77
add esi, 0xffffc9a5
mov dword [0x102408b0], esi
mov dword [0x102408ac], 0xaa7
mov dword [ebp - 0x70], edx
mov byte [ebp - 0x71], al
mov dword [ebp - 0x78], ecx
jmp 0x10224504
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x80], eax
jmp 0x102246f0
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
movsx edx, cl
mov si, dx
mov edx, eax
add edx, 1
mov word [ebp + eax*2 - 0x6c], si
cmp edx, 0x20
mov dword [ebp - 0x84], edx
je 0x10224643
jmp 0x10224690
mov eax, dword [ebp - 0x88]
mov cx, word [eax + 0x24]
mov dword [0x102408ac], 0x5c5
mov edx, dword [eax + 0x28]
mov dword [0x102408b0], 0x1f3a
shr cx, 1
movzx esi, cx
cmp cx, 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], esi
je 0x10224622
jmp 0x102246b6
mov eax, dword [ebp - 0x98]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x90]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], ecx
mov word [ebp - 0xa2], si
mov word [ebp - 0xa4], bx
jb 0x102245d5
mov ax, word [ebp - 0xa2]
mov word [ebp - 0xa4], ax
mov ax, word [ebp - 0xa4]
mov ecx, dword [ebp - 0x9c]
cmp word [ebp + ecx*2 - 0x6c], ax
sete dl
cmp ax, 0
setne dh
mov bl, dl
and bl, dh
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x94]
cmp esi, edi
setb dh
and dh, bl
test dh, 1
mov dword [ebp - 0x98], esi
mov byte [ebp - 0xa5], dl
jne 0x1022457e
jmp 0x102246c3
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xac]
cmp ecx, edx
mov dword [ebp - 0x88], ecx
je 0x102246e9
jmp 0x10224534
mov dword [0x102408b0], 0x12c7
mov dword [0x102408ac], 0x3ac1
mov ecx, dword fs:[0x18]
xor eax, eax
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102408ac], 0x15da
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x80], eax
je 0x102246f0
jmp 0x102246a5
mov eax, dword [ebp - 0x84]
mov cl, byte [ebp + eax - 0x2c]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x71], cl
jmp 0x10224504
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x88], eax
jmp 0x10224534
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x1022457e
mov al, byte [ebp - 0xa5]
mov dword [0x102408ac], 0x1792
test al, 1
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], ecx
jne 0x102244f6
jmp 0x10224622
xor eax, eax
mov dword [ebp - 0x80], eax
jmp 0x102246f0
mov eax, dword [ebp - 0x80]
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret