joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428eec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x1e8], edi
jge 0x428f09
xor eax, eax
jmp 0x4290da
mov eax, esi
call fcn.00428952
mov ebx, eax
cmp dword [esi + 0x1f8], edi
je 0x428f57
cmp dword [esi + 0x20c], edi
jl 0x428f57
cmp dword [esi + 0x210], edi
jl 0x428f57
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov edi, 0x10000
test edi, eax
jne 0x428f4f
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x428f5c
mov ebx, dword [esi + 0x210]
jmp 0x428f5c
mov edi, 0x10000
mov eax, dword [ebp + 8]
sub eax, 0x21
je 0x42900d
dec eax
je 0x428fea
dec eax
je 0x428fe1
dec eax
je 0x428fd9
dec eax
dec eax
je 0x428fc2
dec eax
dec eax
je 0x428fa5
sub eax, 0x19
jne 0x428f02
cmp dword [esi + 0x1f8], eax
je 0x428f02
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x428f02
call fcn.0042879e
jmp 0x428f02
mov edi, ebx
inc edi
inc ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x21c], 0
je 0x428ffe
cmp dword [esi + 0x1e8], edi
jg 0x429021
jmp 0x42901f
mov edi, ebx
inc edi
dec ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x21c], 0
jne 0x428fdd
test edi, edi
jge 0x429029
xor edi, edi
jmp 0x429029
test edi, edi
jge 0x429029
mov edi, dword [esi + 0x1e8]
dec edi
jmp 0x429021
cmp ebx, 0xffffffff
jne 0x428ff3
xor edi, edi
jmp 0x428ffe
mov eax, esi
call fcn.00428e70
mov edi, eax
add edi, ebx
mov eax, dword [esi + 0x1e8]
dec eax
cmp eax, edi
jge 0x429021
mov edi, eax
jmp 0x429021
cmp ebx, 0xffffffff
je 0x428fd9
mov eax, esi
call fcn.00428e70
sub ebx, eax
mov edi, ebx
jns 0x429029
xor edi, edi
test edi, edi
jl 0x428f02
cmp dword [esi + 0x1f8], 0
je 0x429085
cmp dword [esi + 0x20c], 0
jl 0x429085
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call ebx
cwde
test eax, 0x10000
jne 0x42905f
push 0xa1
call ebx
cwde
test eax, 0x10000
je 0x429085
mov ebx, dword [esi + 0x20c]
mov dword [esp + 0xc], ebx
call fcn.00428a92
mov ecx, ebx
mov eax, edi
mov ebx, esi
call fcn.00428ba5
mov eax, dword [esp + 0xc]
mov dword [esi + 0x20c], eax
jmp 0x42909b
call fcn.00428a92
xor eax, eax
push edi
inc eax
mov ecx, esi
call fcn.00428740
mov dword [esi + 0x20c], edi
push 0
lea ebx, [esi + 0xc0]
push dword [ebx]
mov eax, esi
push dword [0x4837a8]
mov dword [esi + 0x218], edi
mov dword [esi + 0x210], edi
call fcn.004243da
mov ecx, dword [esi + 0x204]
test ecx, ecx
je 0x4290ce
push dword [ebx]
mov eax, dword [ecx]
call dword [eax]
mov eax, edi
mov ecx, esi
call fcn.00428e9f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42da04
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x78
cmp dword [eax + 0x28], 2
push esi
push edi
jne 0x42db45
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [eax + 4]
call edi
mov esi, eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffec
push dword [eax + 4]
and esi, 0xff7fffff
or esi, 0x400000
call edi
xor edi, edi
push eax
push edi
push esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0xc]
sub dword [ebx], eax
mov eax, dword [esp + 0x10]
sub dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
sub dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
sub dword [ebx + 0xc], eax
push edi
push 0x473ea0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 8], eax
cmp eax, edi
je 0x42db45
mov esi, dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
call esi
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x40]
call fcn.0042d9b9
mov esi, dword [esp + 8]
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5c]
push eax
push 4
mov dword [esp + 0x64], 0x24
mov dword [esp + 0x68], esi
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test al, 1
je 0x42db45
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x42db45
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x42db3b
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
jle 0x42db30
inc dword [ebx]
jmp 0x42db45
jge 0x42db37
inc dword [ebx + 4]
jmp 0x42db45
cmp eax, dword [esp + 0x1c]
jle 0x42db42
dec dword [ebx + 0xc]
jmp 0x42db45
dec dword [ebx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x431a2b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00431f59
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 0xc], esi
cmp esi, 0xffffffff
je 0x431af0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
jne 0x431a82
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x431af2
cmp ebx, 0xf4240
jle 0x431a95
push ebx
push esi
call fcn.00432785
test eax, eax
je 0x431af0
lea eax, [ebx + 2]
push eax
push 1
call fcn.0044721b
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x431a75
push edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431ae0
cmp dword [ebp - 4], ebx
jne 0x431ae0
mov edi, dword [ebp + 8]
mov eax, esi
call fcn.00431af9
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0044435d
xor eax, eax
pop ecx
inc eax
jmp 0x431af2
push esi
call fcn.0044435d
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x432785
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x465c69
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x47f070]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, 0x186a0
cmp dword [ebp + 0xc], ebx
jge 0x4327be
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0044584f
mov edi, eax
xor esi, esi
pop ecx
mov dword [esp + 0x18], edi
cmp edi, esi
jne 0x4327d5
xor eax, eax
jmp 0x43284c
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.00431995
push esi
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push dword [ebp + 8]
mov dword [esp + 0x84], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x432823
cmp dword [esp + 0x14], ebx
jne 0x432823
mov eax, edi
lea edi, [esp + 0x1c]
call fcn.00431af9
test eax, eax
je 0x432823
cmp dword [esp + 0x24], esi
je 0x432823
mov dword [esp + 0x10], 1
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esp + 0x18]
call fcn.0044435d
or dword [esp + 0x74], 0xffffffff
pop ecx
lea eax, [esp + 0x1c]
push eax
call fcn.00431a04
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433ca4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
je 0x433dc6
mov ebx, dword [ebp + 0x10]
xor edx, edx
cmp ebx, edx
je 0x433dc6
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov dword [ebx], edx
cmp eax, edx
je 0x433dc1
push edi
jmp 0x433ce7
xor edx, edx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jae 0x433d22
mov edi, dword [ebp + 0x10]
sub eax, ecx
cmp eax, edi
jge 0x433cfc
mov edi, eax
push edi
push ecx
push dword [ebp + 8]
call fcn.00449580
add dword [esi + 0xc], edi
add dword [ebp + 8], edi
mov eax, edi
cdq
add esp, 0xc
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], edx
add dword [ebx], edi
sub dword [ebp + 0x10], edi
jmp 0x433db0
mov edi, 0x2000
cmp dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edx
jl 0x433d61
mov eax, dword [esi + 8]
push edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x433dbc
mov eax, dword [ebp + 0xc]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], 0
add dword [ebx], eax
sub dword [ebp + 0x10], eax
jmp 0x433dac
mov ecx, dword [esi + 0x1c]
cmp ecx, edx
mov eax, dword [esi + 0x18]
jg 0x433d78
jl 0x433d71
cmp eax, edx
jae 0x433d78
xor eax, eax
mov dword [ebp - 8], edx
jmp 0x433d7b
mov dword [ebp - 8], ecx
push edx
lea ecx, [ebp + 0xc]
push ecx
push edx
push edi
push dword [ebp - 8]
push eax
call fcn.0044d960
sub edi, eax
push edi
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x433dbc
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
add ecx, eax
mov dword [esi + 0x10], ecx
test eax, eax
je 0x433dc0
cmp dword [ebp + 0x10], 0
jne 0x433ce5
jmp 0x433dc0
and dword [ebp - 4], 0
pop edi
mov eax, dword [ebp - 4]
jmp 0x433dc8
xor eax, eax
pop esi
pop ebx
leave
ret 0xc

Function at 0x43428e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x43429e
xor eax, eax
jmp 0x4342fb
mov eax, dword [esi + 0xc]
mov ecx, 0x2000
push edi
mov edi, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, edi
jb 0x4342c7
mov ecx, dword [esi + 8]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00449580
add esp, 0xc
add dword [esi + 0xc], edi
jmp 0x4342ec
call fcn.00434300
test eax, eax
je 0x4342f8
push 0
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4342f8
cmp dword [ebp + 0xc], edi
jne 0x4342f8
add dword [esi + 0x10], edi
adc dword [esi + 0x14], 0
xor eax, eax
inc eax
jmp 0x4342fa
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x434300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x434334
mov eax, dword [esi + 0xc]
test eax, eax
je 0x434334
push 0
lea edx, [ebp - 4]
push edx
push eax
push dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x434330
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0xc]
je 0x434334
xor eax, eax
leave
ret
and dword [esi + 0xc], 0
xor eax, eax
inc eax
leave
ret

Function at 0x4343bb
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
push edi
xor ebp, ebp
push ebp
mov eax, esi
call fcn.00434439
push ebp
mov edi, 0x80
push edi
push 2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x434426
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x434422
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push 2
push 0
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x434426
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x434436
push ebx
call fcn.004477b2
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop ecx
mov dword [esi + 0x18], eax
pop edi
pop ebp
ret

Function at 0x434672
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x43467d
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x43472f
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46b2d0]
inc ecx
sub edi, 8
dec esi
jne 0x434694
pop ebx
test edi, edi
je 0x434748
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46b2d0]
inc ecx
dec edi
jne 0x434733
pop esi
not eax
pop edi
ret
Function at 0x43db8e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x43db96
mov dword [ecx*4 + 0x484ae0], eax
inc ecx
cmp ecx, 0x100
jb 0x43db91
mov edx, 0x800
jmp 0x43dbe3
mov eax, dword [ecx*4 + 0x4846e0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x484ae0]
inc ecx
mov dword [ecx*4 + 0x484adc], eax
cmp ecx, edx
jb 0x43dbc2
mov eax, 0x43feed
mov esi, 0x43ff89
mov dword [0x484adc], eax
mov dword [0x486ae0], eax
mov dword [0x484ad8], esi
call fcn.00440124
test eax, eax
jne 0x43dc10
mov dword [0x486ae0], esi
pop esi
ret

Function at 0x441317
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
push edi
xor edi, edi
and edx, 7
cmp ecx, 5
jae 0x441336
xor eax, eax
jmp 0x441439
sub ecx, 4
add ecx, eax
push ebx
mov dword [ebp - 4], ecx
push esi
lea esi, [edi + eax]
jmp 0x441350
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x441355
inc esi
cmp esi, dword [ebp - 4]
jb 0x441345
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, eax
sub edi, eax
cmp esi, dword [ebp - 4]
jae 0x441423
cmp ecx, 2
jbe 0x4413f1
xor edx, edx
movzx ecx, byte [esi + 4]
lea ebx, [ecx + 1]
test bl, 0xfe
jne 0x441418
movzx ebx, byte [esi + 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 2]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 1]
shl ecx, 8
or ecx, ebx
add edi, 5
mov ebx, ecx
sub ebx, edi
test edx, edx
je 0x4413ce
and edx, 6
shl edx, 2
mov ecx, edx
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], ecx
inc eax
test al, 0xfe
jne 0x4413c9
mov eax, 0x100
shl eax, cl
dec eax
xor ebx, eax
sub ebx, edi
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, ebx
shr ecx, 8
mov byte [esi + 1], bl
mov byte [esi + 2], cl
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
and bl, 1
neg bl
mov byte [esi + 3], cl
mov byte [esi + 4], bl
jmp 0x441340
shr edx, cl
test edx, edx
je 0x441373
cmp edx, 4
ja 0x441418
cmp edx, 3
je 0x441418
mov ecx, edx
shr ecx, 1
movzx ecx, byte [ecx + esi + 1]
inc ecx
test cl, 0xfe
jne 0x441373
or edx, 8
shr edx, 1
inc edi
jmp 0x441340
push 2
pop eax
shr edx, cl
cmp eax, ecx
mov ecx, dword [ebp + 0xc]
sbb eax, eax
not eax
and eax, edx
pop esi
mov dword [ecx], eax
mov eax, edi
pop ebx
pop edi
leave
ret
Function at 0x443f4c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x482288], 0
push esi
jne 0x443ebf
call fcn.00443de5
test eax, eax
je 0x443f02
mov eax, dword [0x482288]
cmp eax, 1
jne 0x443ee0
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x443f02
pop esi
ret
push eax
call dword [0x482290]
test eax, eax
jne 0x443f4a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x443f06
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x482288]
call dword [0x482290]
mov edi, eax
test edi, edi
je 0x443f2b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x443f47
mov edi, esi
add esi, 0xff0
push edi
push dword [0x482288]
call dword [0x48228c]
add edi, 0x10
cmp edi, esi
jb 0x443f33
mov eax, edi
pop edi
pop esi
ret
jmp 0x443eac

Function at 0x444072
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47f070]
jne 0x44407c
repz ret
jmp fcn.0044875c

Function at 0x45a340
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.004488d4
and dword [ebp - 4], 0
cmp dword [0x482e68], 0
mov ebx, eax
jne 0x45a3f1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45a4a2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45a4a2
push eax
call fcn.00448862
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x482e68], eax
call esi
push eax
call fcn.00448862
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x482e6c], eax
call esi
push eax
call fcn.00448862
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x482e70], eax
call esi
push eax
call fcn.00448862
pop ecx
mov dword [0x482e78], eax
test eax, eax
je 0x45a3f1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00448862
pop ecx
mov dword [0x482e74], eax
mov eax, dword [0x482e74]
cmp eax, ebx
je 0x45a449
cmp dword [0x482e78], ebx
je 0x45a449
push eax
call fcn.004488dd
push dword [0x482e78]
mov esi, eax
call fcn.004488dd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45a449
test edi, edi
je 0x45a449
call esi
test eax, eax
je 0x45a440
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45a440
test byte [ebp - 0xc], 1
jne 0x45a449
or dword [ebp + 0x10], 0x200000
jmp 0x45a482
mov eax, dword [0x482e6c]
cmp eax, ebx
je 0x45a482
push eax
call fcn.004488dd
pop ecx
test eax, eax
je 0x45a482
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45a482
mov eax, dword [0x482e70]
cmp eax, ebx
je 0x45a482
push eax
call fcn.004488dd
pop ecx
test eax, eax
je 0x45a482
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x482e68]
call fcn.004488dd
pop ecx
test eax, eax
je 0x45a4a2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45a4a4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x463910
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x46394b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x463932
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x463943
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x46394d
inc edi
add eax, 0x28
cmp edi, esi
jb 0x463928
xor eax, eax
pop edi
pop esi
ret
Function at 0x618880
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.006184a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6188b2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x679780]
call dword [ebp - 8]
jmp 0x6188bc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x665968
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0066535e

Function at 0x669c30
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x669c57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00628ee0
add esp, 4
or eax, 0xffffffff
jmp 0x669c59
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x4fee7f3a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x4304d8
nop
mov ecx, 0x2a5d4af7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x6de84180
Capabilities:
Get mac address on windows

Disassembly:
push ebx
mov eax, 0x2858
call fcn.6de8aec0
sub esp, eax
lea ebx, [esp + 0x50]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x2800
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edx, ebx
sub esp, 8
test eax, eax
jne 0x6de842c1
lea esi, [esi]
lea esi, [esi]
mov eax, dword [edx + 0x190]
test eax, eax
jne 0x6de84255
mov edx, dword [edx]
test edx, edx
jne 0x6de841c0
mov dword [esp + 0x34], 0xb0adadba
lea ecx, [esp + 0x34]
mov eax, 0xffffffba
mov dword [esp + 0x38], 0xb1dfc5ad
mov edx, ecx
mov dword [esp + 0x3c], 0xbeb2df90
mov dword [esp + 0x40], 0x9b9edfbc
mov dword [esp + 0x44], 0x8c9a8d9b
mov dword [esp + 0x48], 0x9099df8c
mov dword [esp + 0x4c], 0x9b918a
lea esi, [esi]
nop
not eax
add edx, 1
mov byte [edx - 1], al
movzx eax, byte [edx]
test al, al
jne 0x6de84220
mov eax, dword [esp + 0x2864]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2860]
mov dword [esp], eax
call fcn.6de814d0
add esp, 0x2858
pop ebx
ret
movzx eax, byte [edx + 0x199]
mov dword [esp + 0x20], eax
movzx eax, byte [edx + 0x198]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 0x197]
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 0x196]
mov dword [esp + 0x14], eax
movzx eax, byte [edx + 0x195]
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 0x194]
mov dword [esp + 8], 0x6de8e080
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2864]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2860]
mov dword [esp], eax
call fcn.6de814d0
add esp, 0x2858
pop ebx
ret
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2864]
mov dword [esp + 8], str.ERROR:__d
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2860]
mov dword [esp], eax
call fcn.6de814d0
add esp, 0x2858
pop ebx
ret