joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bc4e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5bc4fb
add esp, 0xfffffff0
call fcn.00407f70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004bd670
mov eax, dword [0x5f1a0c]
cmp byte [eax], 0
jne 0x5bc528
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5f1d3c]
cmp word [eax + 2], 0
jne 0x5bc542
mov eax, dword [0x5f1d3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005be7b8
mov eax, dword [0x5f1e70]
cmp word [eax + 2], 0
jne 0x5bc55c
mov eax, dword [0x5f1e70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005be9bc
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4ee8f0]
call fcn.004f4a40
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5bef34
mov dl, 1
mov eax, dword [0x4863ec]
call fcn.004078d4
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4863ec]
call fcn.004078d4
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f3318]
call fcn.004fe050
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5bc744
mov eax, dword [0x5f1bf4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004fe4e8
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5bf21c
mov dl, 1
mov eax, dword [0x4863ec]
call fcn.004078d4
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5f1bf4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004239ec
test eax, eax
je 0x5bc676
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00423828
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004239d0
test eax, eax
je 0x5bc68e
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a268
push ebx
push 0x5be194
call fcn.005b1d78
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x5f1a0c]
cmp byte [eax], 0
jne 0x5bc6df
mov eax, ebx
call fcn.005bc928
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005bf454
mov eax, ebx
call fcn.005c00c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5bc73c
call fcn.00407fc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bcc6c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5bcd0e
cmp dword [ebx + 0xac], 0
jne 0x5bcd08
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5bcba8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5bcd08
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5bccce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5bcd08
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004a8654
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5bccdd
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5bcf4c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x5f8750]
cmp dword [eax + 0x188], 0
je 0x5bd0c6
test bl, bl
jne 0x5bd011
cmp dword [esi + 0xb4], 0
jne 0x5bd006
mov eax, esi
call fcn.005bff10
push eax
push 0x5bce40
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5bcfd7
mov eax, dword [0x5f8750]
cmp byte [eax + 0xeb], 0
je 0x5bcfd7
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5bcfb8
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5bcfd7
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5bcfc0
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5bd006
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004a8654
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5bcfe6
inc dword [esi + 0xb4]
jmp 0x5bd0c6
cmp dword [esi + 0xb4], 0
jle 0x5bd0c6
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5bd0c6
cmp dword [esi + 0x58], 0
je 0x5bd07b
mov eax, dword [0x5f8750]
cmp byte [eax + 0xeb], 0
je 0x5bd07b
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5bd05c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5bd07b
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5bd064
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5bd0aa
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004a8654
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5bd08a
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5aebd8]
call fcn.0040b764
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5bdd20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5bdd7d
cmp byte [ebx + 0xeb], 0
jne 0x5bdd7d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040980c
mov eax, dword [esi]
test eax, eax
je 0x5bdd6a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5bdd8a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409a64
jmp 0x5bdd8a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409a64
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5bf63c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5bf6ad
mov eax, esi
call fcn.00520734
test al, al
je 0x5bf6ad
mov eax, dword [ebx + 0x98]
call fcn.00520364
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bf6ad
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
je 0x5bf69e
push 0
mov eax, dword [ebx + 0x98]
call fcn.00520364
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.00516f80
jmp 0x5bf6ad
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005bf474
pop esi
pop ebx
ret
Function at 0x5c3f7c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5c3ff6
mov eax, dword [ebx + 8]
call fcn.00520364
mov ecx, eax
mov dl, 1
mov eax, dword [0x52c8e0]
call fcn.0051a68c
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00531090
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5c3874
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00520364
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.00520364
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5c406c
mov eax, dword [ebx + 8]
call fcn.00520364
mov ecx, eax
mov dl, 1
mov eax, dword [0x52c8e0]
call fcn.0051a68c
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00531090
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5c38c0
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00520364
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00520364
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5c40d8
mov eax, dword [ebx + 8]
call fcn.00520364
mov ecx, eax
mov dl, 1
mov eax, dword [0x52d360]
call fcn.0051a68c
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00520364
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00520364
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x102877a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1034060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push 2
push edi
push dword [ebp + 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, edi
jne 0x10287cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jg 0x10287c0
mov esi, eax
jmp 0x10288c0
and eax, 0xffff
or eax, 0x80070000
jmp 0x10287b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x10287fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x10288b5
and eax, 0xffff
or eax, 0x80070000
jmp 0x10288b5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x10287df
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp byte [esi + ebx], 0
mov edi, ebx
je 0x1028866
lea edi, [esi + 1]
cmp edi, 0x400
ja 0x102883e
push edi
call fcn.0102658b
test al, al
je 0x102883e
mov eax, edi
call fcn.01029160
mov edi, esp
jmp 0x1028849
push edi
lea ecx, [ebp - 8]
call fcn.010278d8
mov edi, eax
test edi, edi
jne 0x1028854
mov esi, 0x8007000e
jmp 0x10288b7
lea eax, [esi + 1]
push eax
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
test edi, edi
jne 0x102886e
xor eax, eax
jmp 0x10288a9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea ebx, [esi + esi]
cmp ebx, 0x400
ja 0x1028898
push ebx
call fcn.0102658b
test al, al
je 0x1028898
mov eax, ebx
call fcn.01029160
mov eax, esp
jmp 0x10288a1
push ebx
lea ecx, [ebp - 8]
call fcn.010278d8
push esi
push edi
push eax
call fcn.0102665e
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
push eax
call fcn.01028551
mov esi, eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.0102731e
mov eax, esi
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0102907f
leave
ret 0x10
Function at 0x1029070
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1032860
call fcn.010291b8
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1035824
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1028e2b
cmp eax, esi
jne 0x1028e1e
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1028e2e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1028e05
xor esi, esi
inc esi
mov eax, dword [0x1035820]
cmp eax, esi
jne 0x1028e41
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1028e70
mov eax, dword [0x1035820]
test eax, eax
jne 0x1028e6a
mov dword [0x1035820], esi
push 0x10012f8
push 0x10012ec
call fcn.01028d67
pop ecx
pop ecx
test eax, eax
je 0x1028e70
jmp 0x1028f94
mov dword [0x1034bc8], esi
mov eax, dword [0x1035820]
cmp eax, esi
jne 0x1028e94
push 0x10012e8
push 0x100126c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1035820], 2
cmp dword [ebp - 0x20], ebx
jne 0x1028ea1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1035828], ebx
je 0x1028ec2
push 0x1035828
call fcn.01029329
pop ecx
test eax, eax
je 0x1028ec2
push ebx
push 2
push ebx
call dword [0x1035828]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1028f94
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1028f2c
cmp cx, bx
je 0x1028ee7
cmp dword [ebp - 0x1c], ebx
jne 0x1028f2c
movzx ecx, word [eax]
cmp cx, bx
je 0x1028efc
cmp cx, 0x20
ja 0x1028efc
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1028ee7
test byte [ebp - 0x40], 1
je 0x1028f08
movzx ecx, word [ebp - 0x3c]
jmp 0x1028f0b
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1034bc4], eax
cmp dword [0x1034bb8], ebx
jne 0x1028f71
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1028f3d
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x1028ed1
cmp dword [0x1034bc8], ebx
jne 0x1028f7f
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1034bc4]
jmp 0x1028fa0
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010291fd
ret
call fcn.01029514
jmp 0x1028dc8
Function at 0x102995e
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1034060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov word [esi + 8], cx
cmp dword [0x1034f00], eax
jne 0x10299f3
push 0x110
push eax
lea eax, [ebp - 0x114]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [0x1034f00], 1
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10299f3
cmp dword [ebp - 0x114], 5
jb 0x10299d7
cmp dword [ebp - 0x110], 1
jae 0x10299e0
cmp dword [ebp - 0x114], 6
jb 0x10299f3
cmp dword [ebp - 0x108], 2
jne 0x10299f3
mov dword [0x103407c], 0x7f
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0102907f
leave
ret

Function at 0x102a584
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
call fcn.01029f7d
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x102a5a6
mov eax, 0x80070057
jmp 0x102a686
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x80070057
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call edi
test eax, eax
jne 0x102a682
cmp dword [ebp - 8], 1
je 0x102a5ea
cmp dword [ebp - 8], 2
je 0x102a5ea
cmp dword [ebp - 8], 7
jne 0x102a682
shr dword [ebp - 4], 1
test byte [esi + 8], 0x20
je 0x102a62c
mov eax, dword [esi + 4]
cmp dword [ebp - 4], eax
jb 0x102a5fe
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi]
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ecx, dword [esi + 4]
cmp ecx, ebx
jle 0x102a626
mov edx, dword [esi]
xor edi, edi
mov word [edx + ecx*2 - 2], di
cmp eax, ebx
jne 0x102a682
jmp 0x102a66d
push dword [ebp - 4]
mov ecx, esi
call fcn.01029d22
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x102a682
mov ecx, dword [ebp - 4]
add ecx, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ecx, esi
test eax, eax
je 0x102a665
lea eax, [ebp - 0x10]
push eax
call fcn.01029d4e
jmp 0x102a682
push dword [ebp - 0x10]
call fcn.0102a0d7
cmp dword [ebp - 8], 2
je 0x102a678
mov dword [ebp - 0xc], ebx
jmp 0x102a682
mov ecx, esi
call fcn.0102a3eb
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x102a947
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1034060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1001cc0]
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1001cc4]
mov dword [ebp - 8], eax
call dword [sym.imp.msvcrt.dll_towupper]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
movzx esi, ax
pop ecx
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], si
call edi
cmp eax, 5
jne 0x102a9b6
and dword [ebp - 0x10], 0
push 0x41
pop ebx
mov eax, ebx
cmp ax, si
jae 0x102a9ba
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], bx
call edi
cmp eax, 5
jne 0x102a9ae
inc dword [ebp - 0x10]
inc ebx
cmp bx, si
jb 0x102a99c
jmp 0x102a9ba
or dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102907f
leave
ret 4

Function at 0x102aa90
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x60], 0xffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x102aab6
call edi
sub eax, dword [esi + 0x64]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1388
jbe 0x102aac7
push dword [ebp + 8]
push esi
call fcn.0102f109
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x60]
pop edi
pop esi
pop ebp
ret 4
Function at 0x1031694
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
xor ebx, ebx
mov dword [ebp - 8], ecx
cmp byte [ecx + 0x10], bl
jne 0x10317b0
push ebx
push 0x20019
push 0x1007458
mov byte [ecx + 0x10], 1
push 0x80000002
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.01026849
test eax, eax
je 0x10316e1
lea ecx, [ebp - 0x34]
call fcn.010267d6
jmp 0x10317b0
push esi
push edi
xor edi, edi
mov esi, 0x104
jmp 0x1031782
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push ebx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x1c]
mov eax, edi
push eax
push dword [ebp - 0x34]
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x103179e
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x103171f
cmp word [ecx], bx
setne al
cmp al, bl
je 0x103177a
cmp dword [ebp - 4], ebx
je 0x103177a
lea ecx, [ebp - 0x28]
call fcn.0102995e
mov eax, dword [ebp - 0x1c]
push 0x2e
pop ecx
cmp cx, word [eax]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
jne 0x1031743
add eax, 2
push eax
call fcn.0102a161
mov ecx, dword [ebp - 0x28]
xor eax, eax
cmp ecx, ebx
je 0x1031758
cmp word [ecx], bx
setne al
cmp al, bl
je 0x1031772
push ecx
call fcn.0102abc4
cmp eax, 0xffffffff
jne 0x1031772
push dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
call fcn.01031367
lea ecx, [ebp - 0x28]
call fcn.0102a10f
lea ecx, [ebp - 0x1c]
call fcn.0102a10f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.0102995e
push esi
lea ecx, [ebp - 0x1c]
call fcn.0102a119
test eax, eax
jge 0x10316ef
lea ecx, [ebp - 0x1c]
call fcn.0102a10f
lea ecx, [ebp - 0x34]
call fcn.010267d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4058bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x4058cc
pop dword [ebp - 0x34]
mov eax, 0xd45be250
add eax, 0x2be4767c
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x370b5b0f
sub dword [ebp - 0x44], 0xe8b915c4
mov dword [ebp - 0x40], 0xb459c5c0
add dword [ebp - 0x40], 0x7dd98685
mov dword [ebp - 0x3c], 0x907b8c30
sub dword [ebp - 0x3c], 0x442f4802
mov dword [ebp - 0x38], 0x7f500d54
sub dword [ebp - 0x38], 0x7f500d54
lea eax, [ebp - 0x44]
push eax
mov eax, 0xa6efece9
add eax, 0x5950e36b
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x217c7988
add dword [ebp - 0x44], 0x52f5efce
mov dword [ebp - 0x40], 0xfa9a15a1
sub dword [ebp - 0x40], 0xb92db42c
mov dword [ebp - 0x3c], 0x65cebfc5
add dword [ebp - 0x3c], 0xfda0aca7
mov dword [ebp - 0x38], 0xbbd2e1e7
sub dword [ebp - 0x38], 0xbbd2e1e7
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x38be0
push 0
call eax
mov ecx, 0x44c8
xor esi, esi
add esi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x34]
mov ebx, 0x91567a7c
add dword [ebp - 0x30], 0x4b99227b
mov edi, dword [edx]
add dword [ebp - 4], ecx
xor edi, ebx
add dword [ebp - 0x28], 0x744b4b9a
mov dword [esi], edi
xor dword [ebp - 8], edx
add esi, 4
add edx, 4
loop 0x4059d9
add eax, 0x5ad2c6da
add eax, 0xa52e3f19
xor ebx, ebx
add ebx, eax
add eax, 0x14108824
add eax, 0xebef77e1
mov ecx, 0x7cb268d2
sub ecx, 0x7c7268d2
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401dc0
Capabilities:
Access peb ldr_data
Check mutex on windows
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
push 0xf0000000
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax + 0x14]
push 0
mov eax, dword [eax + 0x20]
push 0
push 0x405438
mov dword [0x405434], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401e2c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [0x405434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e89
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401e89
push 0
lea eax, [esp + 0x20]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401e89
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.00401530
push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ebe
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401d80
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401cd0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401bb0
push 0
push 0
call esi
push 0x400
lea eax, [esp + 0x24]
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]
mov dword [esp + 0x10], 0x4d2fa200
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a90
lea eax, [esp + 0x10]
push eax
push 0
call esi
jmp 0x401f22

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret