joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11007e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1105da7b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1108a2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x5b8], 0
cmp dword [edi + 4], 0
jne 0x11007f1d
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
lea ecx, [ebp - 0x20]
call sym.duilib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x1c]
mov ecx, eax
call sym.duilib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, edi
call sym.duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [edi + 0x10]
mov ecx, esi
call sym.duilib.dll_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call sym.duilib.dll_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call sym.duilib.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0xa4]
mov bl, al
call sym.duilib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test bl, bl
je 0x11007f5a
mov eax, dword [edi + 0x10]
add eax, 0x5a8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x5a8
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1104c36e
mov esp, ebp
pop ebp
ret 4
Function at 0x11008d70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1108a2ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x11008dde
cmp dword [esi + 0x10], 0
je 0x11008dde
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.1104c3c0
mov ebx, esp
test ebx, ebx
je 0x11008dde
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1b8
call fcn.11045160
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.duilib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1104c36e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x11016a40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
je 0x11016aad
cmp dword [ebp + 8], 0x100
jne 0x11016a9d
cmp word [ebp + 0xc], 0xd
jne 0x11016a9d
cmp byte [esi + 0x4da], 0
je 0x11016a7e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x11016a9d
cmp byte [esi + 0x4db], 0
jne 0x11016a9d
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x11016a96
push 0
push 0
push 0
push str.return
push esi
call sym.duilib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x4d4]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x1101f440
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1101f485
cmp byte [ebp + 8], 0
je 0x1101f479
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x11028610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1108a2ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], 0
call fcn.1104e150
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.duilib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1104c36e
mov esp, ebp
pop ebp
ret
Function at 0x11029210
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x11029235
or esi, 1
push 1
call edi
test ax, ax
jns 0x11029241
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x1102924d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x11029259
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x1102bc30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x1102bc55
cmp esi, dword [edi + 0x58]
je 0x1102bc55
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x58]
cmp esi, eax
je 0x1102bd31
test eax, eax
je 0x1102bcb5
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0x58]
mov ecx, edi
call sym.duilib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [edi + 0x58], 0
test esi, esi
je 0x1102bd31
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x1102bd31
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x1102bd31
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x1102bd31
xorps xmm0, xmm0
mov dword [edi + 0x58], esi
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0x58]
mov ecx, edi
call sym.duilib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x11040700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x11040727
cmp eax, edi
jge 0x1104071f
push esi
call fcn.1103e2b0
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x11040750
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x11040733
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x1104076f
mov edi, dword [esi + 4]
mov edx, dword [esi]
cmp edx, edi
jb 0x1104075d
xor eax, eax
jmp 0x11040765
mov al, byte [edx]
inc edx
mov dword [esi], edx
movzx eax, al
mov byte [ebp + ecx + 8], al
inc ecx
cmp ecx, 4
jl 0x11040755
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x110407a5
mov dword [0x1108af50], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x110407be
pop edi
mov dword [0x1108af50], 0x11067d60
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x110407d6
push edi
push esi
call fcn.1103e150
add esp, 8
test eax, eax
je 0x1104079f
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.1104e5a0
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x11047930
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1108a2ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x11047a2a
movzx eax, word [ebx]
test ax, ax
je 0x11047a2a
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x11047970
cmp ax, 0x5c
jne 0x11047972
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x11047964
cmp edi, ebx
je 0x110479bf
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.1104fc77
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x11047a3a
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.11047930
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x110479d0
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x110479e2
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x11047a00
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1104c36e
mov esp, ebp
pop ebp
ret
call fcn.1104c650
int3

Function at 0x11048120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x110481b9
cmp dword [esi + 4], 0xffffffff
jne 0x110481b9
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x11048150
cmp dword [ebp + 0x10], 1
mov eax, dword [0x11069b64]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x11048183
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x11048183
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1104aaa0
add esp, 0x10
test eax, eax
jne 0x110481a3
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.1104b2e0
add esp, 4
mov dword [esi], eax
mov eax, dword [0x1108b2f4]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x1104abe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x1104ac1e
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1104ac12
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x1104ac2f
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.1104e5a0
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1104ad3e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x1104adfd
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
sub edi, 1
jne 0x1104ad56
pop edi
test esi, esi
je 0x1104ae1b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x11069430]
sub esi, 1
jne 0x1104ae01
not eax
pop esi
pop ebp
ret
Function at 0x405ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x405015
lea edi, [esi - 0x4015]
push edi
jmp 0x405eda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x405ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x405ed0
mov eax, 1
add ebx, ebx
jne 0x405ef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x405ee8
jne 0x405f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x405ee8
xor ecx, ecx
sub eax, 3
jb 0x405f18
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x405f8a
mov ebp, eax
add ebx, ebx
jne 0x405f23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x405f30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x405f54
inc ecx
add ebx, ebx
jne 0x405f40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x405f35
jne 0x405f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x405f35
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x405f74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x405f65
jmp 0x405ed6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x405f74
add edi, ecx
jmp 0x405ed6
pop esi
mov edi, esi
mov ecx, 0xd4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x405f92
cmp byte [edi], 0
jne 0x405f92
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 0x405f97
lea edi, [esi + 0x3000]
mov eax, dword [edi]
or eax, eax
je 0x406006
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x405fc4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6088]
or eax, eax
je 0x406000
mov dword [ebx], eax
add ebx, 4
jmp 0x405fe1
call dword [esi + 0x6084]
mov ebp, dword [esi + 0x608c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x40603a
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x100016c0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
push 4
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001760
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10001760
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
jne 0x1000174d
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
je 0x1000174d
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001747
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x1000174d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10001710
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10001cd5
mov esp, ebp
pop ebp
ret
Function at 0x54450a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56e298]
jne 0x544514
repz ret
jmp fcn.00546499

Function at 0x54982f
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.00545516
and dword [ebp - 4], 0
cmp dword [0x56ff28], 0
mov ebx, eax
jne 0x5498e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x549991
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x549991
push eax
call fcn.005454a4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x56ff28], eax
call esi
push eax
call fcn.005454a4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x56ff2c], eax
call esi
push eax
call fcn.005454a4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x56ff30], eax
call esi
push eax
call fcn.005454a4
pop ecx
mov dword [0x56ff38], eax
test eax, eax
je 0x5498e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005454a4
pop ecx
mov dword [0x56ff34], eax
mov eax, dword [0x56ff34]
cmp eax, ebx
je 0x549938
cmp dword [0x56ff38], ebx
je 0x549938
push eax
call fcn.0054551f
push dword [0x56ff38]
mov esi, eax
call fcn.0054551f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x549938
test edi, edi
je 0x549938
call esi
test eax, eax
je 0x54992f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x54992f
test byte [ebp - 0xc], 1
jne 0x549938
or dword [ebp + 0x10], 0x200000
jmp 0x549971
mov eax, dword [0x56ff2c]
cmp eax, ebx
je 0x549971
push eax
call fcn.0054551f
pop ecx
test eax, eax
je 0x549971
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x549971
mov eax, dword [0x56ff30]
cmp eax, ebx
je 0x549971
push eax
call fcn.0054551f
pop ecx
test eax, eax
je 0x549971
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x56ff28]
call fcn.0054551f
pop ecx
test eax, eax
je 0x549991
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x549993
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54a9a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x56e234]
add eax, 0xfffffdcf
mov dword [0x56e234], eax
call fcn.004010a0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x54aa64
jmp 0x54aa3e
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0054a530
lea ecx, [0x54c1b0]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x84], edx
mov dword [esp + 0x60], 0x138c00
mov edx, dword [0x56e220]
mov dword [esp + 0x40], edx
mov edx, dword [0x56e224]
mov dword [esp + 0x6c], edx
mov edx, dword [0x56e228]
mov dword [esp + 0x7c], edx
mov edx, dword [0x56e22c]
mov dword [esp + 0x54], edx
mov edx, dword [0x56e230]
mov dword [esp + 0x68], edx
mov dword [0x56e234], 0xfffff70e
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x54aa97
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x24], eax
jmp 0x54aa97
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
jmp 0x54aa3e
lea eax, [esp + 0x40]
mov dword [0x56e238], 0xcff
mov dword [esp + 0x18], eax
call fcn.0054b040
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, 0
mov dword [esp + 0x1c], eax
je 0x54a9d3
jmp 0x54aa5a
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x54aa46
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jne 0x54aa46
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
mov dword [esp + 0x94], ecx
mov dword [0x56e238], 0x2382
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x88], eax
mov dword [0x56e234], 0x17e8
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0054b8f0
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x56e234]
add ecx, 0xfffff71a
mov dword [0x56e234], ecx
mov dword [esp + 0x1c], eax
jmp 0x54aa5a
Function at 0x54aee0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x56e240], 0
mov byte [0x56e244], 0
mov dword [0x56e234], 0x2002
mov dword [0x56e238], 0xf6c
mov dword [0x56e23c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x54af48
mov eax, dword [0x56e238]
add eax, 0xffffeb75
mov dword [0x56e238], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x56e234], 0x142c
mov eax, dword [0x56e23c]
add eax, 1
mov dword [0x56e23c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x54af48
xor eax, eax
mov dword [0x56e238], 0x1a2c
mov dword [0x56e23c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x56e248], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x56e240]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x56e248], esi
mov dword [0x56e238], 0x232c
mov eax, esi
cdq
idiv ecx
mov dword [0x56e240], edx
mov dword [0x56e234], 0x347
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x56e244], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x56e244]
mov esi, dword [0x56e240]
mov byte [ebx + esi], cl
mov esi, dword [0x56e23c]
add esi, 1
mov dword [0x56e23c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x54af91
jmp 0x54af31