joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1111e
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 0xb
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], edi
call esi
push dword [ebp - 8]
push edi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1121a
push 0x126b2
call sub.ntoskrnl.exe_DbgPrint
lea eax, [ebp - 0x18]
mov dword [esp], 0x12680
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push 0xb
call esi
test eax, eax
jge 0x1119a
push edi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1121a
mov eax, dword [ebp - 4]
push ebx
lea ebx, [eax + 4]
mov dword [ebp - 0x10], edi
cmp dword [eax], edi
jbe 0x11211
lea eax, [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov edi, 0x1267a
mov esi, 0x11c
push 0x5c
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x111cc
inc eax
jmp 0x111cf
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x14], eax
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ntoskrnl.exe__stricmp]
add esp, 0xc
test eax, eax
je 0x111ff
add dword [ebp - 0xc], esi
mov eax, dword [ebp - 4]
add ebx, esi
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jb 0x111b8
jmp 0x1120f
push edi
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
pop ecx
xor edi, edi
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop ebx
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
leave
ret 4
Function at 0x11228
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 0xb
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call esi
push dword [ebp - 8]
push edi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x112e2
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push eax
push 0xb
call esi
test eax, eax
jge 0x11277
push edi
jmp 0x112d9
mov eax, dword [ebp - 4]
lea esi, [eax + 4]
mov dword [ebp - 0xc], edi
cmp dword [eax], edi
jbe 0x112d7
push ebx
lea ebx, [esi + 0x1c]
mov edi, 0x11c
push 0x5c
push ebx
call dword [sym.imp.ntoskrnl.exe_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1129f
inc eax
jmp 0x112a1
mov eax, ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
pop ecx
test eax, eax
je 0x112c4
mov eax, dword [ebp - 4]
add esi, edi
add ebx, edi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jb 0x1128d
jmp 0x112d6
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x112d6
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
pop ebx
push 0
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 8
Function at 0x112f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x14004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push edi
xor ebx, ebx
mov byte [ebp - 0x30], bl
lea edi, [ebp - 0x2f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x14228]
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x7c
mov byte [ebp - 0x1b], 0x3b
mov byte [ebp - 0x1a], 0x66
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0x66
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x71
mov byte [ebp - 0x12], 0x47
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x50
mov byte [ebp - 0xe], 0x47
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0x54
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x5c
cmp eax, ebx
jne 0x1143d
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
xor cl, 0x15
mov byte [ebp + eax - 0x30], cl
inc eax
cmp eax, 9
jb 0x1137e
xor eax, eax
mov cl, byte [ebp + eax - 0x14]
xor cl, 0x35
inc eax
movzx cx, cl
cmp eax, 0xd
jb 0x11391
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.0001111e
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x126e8
lea eax, [ebp - 0x10]
push eax
call esi
push 0x126b8
lea eax, [ebp - 0xa0]
push eax
call esi
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea ecx, [ebp - 0x94]
push ecx
push ebx
push ebx
push dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
lea ecx, [ebp - 0x10]
push ebx
push ebx
push 0x40
push ecx
mov dword [0x1425c], eax
call eax
push 0x126b2
mov edi, eax
call sub.ntoskrnl.exe_DbgPrint
lea eax, [ebp - 0x20]
mov dword [esp], 0x12680
push eax
call esi
cmp edi, ebx
jl 0x11438
push dword [ebp - 0x94]
call fcn.0001105c
mov esi, eax
cmp esi, ebx
je 0x1142a
mov dword [0x14228], esi
mov ecx, dword [ebp - 0x94]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1143a
mov esi, ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0001261c
leave
ret
Function at 0x11450
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x14004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x30], bl
lea edi, [ebp - 0x2f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push 0x5e
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push ebx
push eax
mov dword [ebp - 0x94], ebx
call sub.ntoskrnl.exe_memset
mov eax, dword [0x14228]
add esp, 0xc
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x7c
mov byte [ebp - 0x1b], 0x3b
mov byte [ebp - 0x1a], 0x66
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0x66
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x71
mov byte [ebp - 0x12], 0x47
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x50
mov byte [ebp - 0xe], 0x47
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x41
mov byte [ebp - 0xa], 0x54
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x5c
cmp eax, ebx
jne 0x115de
xor eax, eax
mov cl, byte [ebp + eax - 0x20]
xor cl, 0x15
mov byte [ebp + eax - 0x30], cl
inc eax
cmp eax, 9
jb 0x114ff
xor eax, eax
mov cl, byte [ebp + eax - 0x14]
xor cl, 0x35
movzx cx, cl
mov word [ebp + eax*2 - 0x90], cx
inc eax
cmp eax, 0xd
jb 0x11512
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.0001111e
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
push 0x126b8
lea eax, [ebp - 0xa0]
push eax
call esi
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea ecx, [ebp - 0x98]
push ecx
push ebx
push ebx
push dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
lea ecx, [ebp - 0x10]
push ebx
push ebx
push 0x40
push ecx
mov dword [0x1425c], eax
call eax
push 0x126b2
mov edi, eax
call sub.ntoskrnl.exe_DbgPrint
lea eax, [ebp - 0x20]
mov dword [esp], 0x12680
push eax
call esi
cmp edi, ebx
pop esi
jl 0x115d8
mov eax, dword [ebp - 0x98]
push eax
mov dword [0x14244], eax
call fcn.00011034
mov dword [ebp - 0x94], eax
cmp eax, ebx
je 0x115c1
mov dword [0x14228], eax
jmp 0x115cc
call fcn.000112f0
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0001261c
leave
ret
Function at 0x115f2
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x14004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x2f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call sub.ntoskrnl.exe_memset
add esp, 0xc
cmp dword [0x14234], 0
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x7c
mov byte [ebp - 0xb], 0x3b
mov byte [ebp - 0xa], 0x66
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], 0x66
jne 0x1164c
xor al, al
jmp 0x116e0
push esi
xor esi, esi
mov al, byte [ebp + esi - 0x10]
xor al, 0x15
mov byte [ebp + esi - 0x40], al
lea eax, [ebp - 0x40]
push eax
push esi
push 0x12702
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
inc esi
cmp esi, 9
jb 0x1164f
call fcn.00011450
pop esi
test eax, eax
je 0x11645
lea eax, [ebp - 0x40]
push eax
call fcn.0001111e
test eax, eax
je 0x11645
cmp byte [0x14248], 0
jne 0x116a4
add dword [0x14234], eax
add dword [0x14238], eax
mov byte [0x14248], 1
mov eax, dword [0x14244]
test eax, eax
je 0x11645
mov ecx, dword [eax + 0x70]
mov dword [0x1423c], ecx
mov ecx, dword [eax + 0x74]
mov dword [0x14240], ecx
cmp ecx, dword [0x14238]
je 0x116de
mov ecx, dword [0x14234]
mov dword [eax + 0x70], ecx
mov eax, dword [0x14238]
mov ecx, dword [0x14244]
mov dword [ecx + 0x74], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0001261c
leave
ret 8
Function at 0x11df8
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x14004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x14250], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
jne 0x11e25
xor al, al
jmp 0x11eba
call fcn.00011450
mov dword [ebp - 0x208], eax
test eax, eax
je 0x11e1e
push edi
mov edi, esi
shr edi, 9
test esi, 0x1ff
je 0x11e43
inc edi
push edi
push 0x127a2
call sub.ntoskrnl.exe_DbgPrint
pop ecx
pop ecx
push 0x12776
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp esi, 0x200
jb 0x11e9b
cmp dword [0x14258], 0x29a557
je 0x11e7b
mov byte [esi + ebx - 4], 0x9a
push 1
push dword [0x14250]
lea eax, [ebp - 0x204]
push eax
push 3
push dword [ebp - 0x208]
call fcn.00011b34
test eax, eax
jge 0x11e9f
xor al, al
jmp 0x11eb9
push edi
push dword [0x14250]
push ebx
push 4
push dword [ebp - 0x208]
call fcn.00011b34
test eax, eax
setge al
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0001261c
leave
ret 8
Function at 0x401360
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x401380
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x401394
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x4013c0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x4013d6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4013e3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x401a80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x412544]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x401aff
xor eax, eax
cmp ecx, ebx
je 0x401ae7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x401b23
cmp ecx, ebx
je 0x401b0a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00405fbc
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x401b8a
jmp 0x401b50
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00401a80
mov edi, eax
cmp edi, ebx
jne 0x401bd9
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x401b50
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401b9d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.00401270
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401bc0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00405fbc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401be8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405fbc
mov esp, ebp
pop ebp
ret 4
Function at 0x404140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x40d680
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x412544]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x4041c2
call fcn.004011d0
mov edi, eax
jmp 0x4042a4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4041db
call fcn.004011d0
jmp 0x40429b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x4041f6
call fcn.004011d0
jmp 0x40429b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x40422c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40421a
lea ecx, [ebp]
call fcn.00401a20
lea ecx, [ebp - 0x20]
call fcn.004019c0
mov eax, 0x8007000e
jmp 0x4042b6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00402330
mov dword [ebp - 4], 1
jmp 0x404258
mov eax, dword [ebp]
test eax, eax
jne 0x404266
mov edi, 0x8007000e
jmp 0x40429d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40427f
call fcn.004011d0
jmp 0x40429b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403b20
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4042b4
lea ecx, [ebp]
call fcn.00401a20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00405fbc
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404dc0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x404ddc
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x404b80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x404e04
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x405fbc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412544]
jne 0x405fc6
repz ret
jmp fcn.004085fd
Function at 0x409d9e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc edx
in al, dx
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00409a49
push eax
push esi
push dword [ebp + 8]
call fcn.004099fe
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00409a49
push eax
push esi
push dword [ebp + 8]
call fcn.004099fe
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b

Function at 0x40a0b3
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40a0ed
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40a0e8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add al, dh
add byte [eax], al
add al, dh
add byte [eax], al
cmp edx, 0x3000
jne 0x40a0d2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
xor al, 3
into
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40a0da
cmp edx, ebx
jne 0x40a228
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40a0a9
add eax, dword [eax + 4]
jmp 0x40a096
mov dword [ebp + 0xc], ebx
jmp 0x40a0f8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40a110
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40a12e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
Function at 0x40a0f7
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40a0ed
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40a0e8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add al, dh
add byte [eax], al
add al, dh
add byte [eax], al
cmp edx, 0x3000
jne 0x40a0d2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
xor al, 3
into
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40a0da
cmp edx, ebx
jne 0x40a228
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40a0a9
add eax, dword [eax + 4]
jmp 0x40a096
mov dword [ebp + 0xc], ebx
jmp 0x40a0f8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40a110
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40a12e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx

Function at 0x40a13c
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40a18c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40a173
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40a17c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40a186
add ecx, eax
or byte [ecx], 4
inc eax
invalid

Function at 0x40a95b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
das
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
Function at 0x40ae14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax - 0x74000004], ecx
dec ebp
cld
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004099aa
add esp, 0xc
and dword [ebp - 0x700], 0
inc dword [eax]
jmp 0x40ae46
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x40ae8f
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x40ae39
call fcn.00409a39
outsd dx, dword [esi]
sub dword [eax], ebx
mov byte [eax - 0x72b5b], al
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00409a39
push es
push edx
salc
xor dword [ebp - 0x72b7b], ecx
call dword [eax - 0x18]
pop ss
jmp 0x40af30
invalid