joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1101bec0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x3d0], 0
je 0x1101bf14
push dword [esi + 0x3d4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [esi + 0x3d0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1101befe
push 0
push dword [esi + 0x3d0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x3d0], 0
mov eax, dword [esi + 0x3d4]
test eax, eax
je 0x1101bf2f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x3d4], 0
lea eax, [esi + 0x3dc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
pop esi
jmp sym.DuiLib.dll_public:_void___thiscall_DuiLib::CTrayIcon::DeleteTrayIcon_void_

Function at 0x1101cc90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov cl, byte [ebp + 8]
mov eax, dword [esi + 8]
mov byte [esi + 0x13], cl
test eax, eax
je 0x1101cd12
test cl, cl
je 0x1101ccb5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
test ecx, 0x10000000
jne 0x1101ccd5
mov byte [esi + 0x10], 1
jmp 0x1101cce8
test ecx, 0x21000000
sete al
lea eax, [eax*2 + 5]
mov byte [esi + 0x10], al
and ecx, 0x31000000
cmp ecx, 0x10000000
jne 0x1101cd12
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call sym.DuiLib.dll_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
pop esi
pop ebp
ret 4
Function at 0x11021690
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x110d6320]
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 0x1102178a
movzx eax, word [ebx]
test ax, ax
je 0x1102178a
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x110216d0
cmp ax, 0x5c
jne 0x110216d2
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x110216c4
cmp edi, ebx
je 0x1102171f
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.110726a0
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x1102179a
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.11021690
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 0x11021730
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x11021742
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 0x11021760
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.1106a914
mov esp, ebp
pop ebp
ret
call fcn.1106b46f
int3

Function at 0x11021e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x11021f09
cmp dword [esi + 4], 0xffffffff
jne 0x11021f09
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 0x11021ea0
cmp dword [ebp + 0x10], 1
mov eax, dword [0x11094124]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x11021ed3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x11021ed3
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.11024800
add esp, 0x10
test eax, eax
jne 0x11021ef3
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.110250b0
add esp, 4
mov dword [esi], eax
mov eax, dword [0x110d7f54]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x11024940
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 0x1102497e
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 0x11024972
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 0x1102498f
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.1106d970
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 0x11024b70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x11024b7e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x11024c3d
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 + 0x110928f0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
sub edi, 1
jne 0x11024b96
pop edi
test esi, esi
je 0x11024c5b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x110928f0]
sub esi, 1
jne 0x11024c41
not eax
pop esi
pop ebp
ret

Function at 0x11026870
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 0x110268b5
cmp byte [ebp + 8], 0
je 0x110268a9
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 0x1102fc90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x110d6320]
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.1106def0
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.1106a914
mov esp, ebp
pop ebp
ret

Function at 0x110313f0
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 0x11031415
or esi, 1
push 1
call edi
test ax, ax
jns 0x11031421
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x1103142d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x11031439
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x11036420
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 + 0xa8]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x1103644c
cmp esi, dword [edi + 0x1e8]
je 0x1103644c
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x1e8]
cmp esi, eax
je 0x11036541
test eax, eax
je 0x110364b8
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x17
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x1e8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0x1e8]
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 + 0x1e8], 0
test esi, esi
je 0x11036541
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x11036541
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x11036541
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x11036541
xorps xmm0, xmm0
mov dword [edi + 0x1e8], esi
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x1e8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0x1e8]
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 0x1103e800
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp sym.DuiLib.dll_public:_static_struct_DuiLib::tagTImageInfo____cdecl_DuiLib::CRenderEngine::LoadImageW_class_DuiLib::STRINGorID__wchar_t_const___unsigned_long_int__struct_HINSTANCE____
Function at 0x11047610
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 0x11047637
cmp eax, edi
jge 0x1104762f
push esi
call fcn.110427c0
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 0x11047660
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 0x11047643
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x1104767c
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x1104766d
xor dl, dl
jmp 0x11047672
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x11047665
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 0x110476b1
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.110426d0
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x110476c9
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.110426d0
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x110476e7
push edi
push ecx
push esi
call fcn.1104a8b0
add esp, 0xc
test eax, eax
jne 0x110476e7
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.1106d970
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x110541c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11088bab
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x110d6320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov dword [eax + 0x500], 0
cmp dword [esi + 4], 0
jne 0x11054261
lea eax, [ebp - 0xa4]
push eax
call fcn.11053c00
mov ecx, dword [esi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov ecx, dword [ecx + 0x44]
mov eax, esp
push 0
push 0x40000000
push 0
movups xmmword [eax], xmm0
call sym.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, esi
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 ecx, dword [esi + 0x10]
call sym.DuiLib.dll_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call sym.DuiLib.dll_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
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 - 0x94]
mov bl, al
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test bl, bl
je 0x1105429e
mov eax, dword [esi + 0x10]
add eax, 0x4f0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
add eax, 0x4f0
push eax
push 0
push 0x1002
movups xmm0, xmmword [eax]
push dword [esi + 4]
movups xmmword [esi + 0x1a], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1106a914
mov esp, ebp
pop ebp
ret 4
Function at 0x11055270
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x110d6320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x110552f1
cmp dword [esi + 0x10], 0
je 0x110552f1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.1106b320
mov ebx, esp
test ebx, ebx
je 0x110552f1
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.110202b0
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
push str.textchanged
push ecx
mov ecx, dword [ecx + 0x44]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x110552f1
mov ecx, dword [esi + 0x10]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1106a914
mov esp, ebp
pop ebp
ret 0x10
Function at 0x11063560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x614], 0
je 0x110635da
cmp dword [ebp + 8], 0x100
jne 0x110635ca
cmp word [ebp + 0xc], 0xd
jne 0x110635ca
cmp byte [esi + 0x61a], 0
je 0x1106359e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x110635ca
cmp byte [esi + 0x61b], 0
jne 0x110635ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x110635c3
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0
push str.return
push esi
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
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x614]
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 0x1107dcd5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1107db54

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40141e
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x214
lea eax, [esp]
push ebp
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x22c]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or eax, 9
push eax
push dword [esp + 0x230]
push dword [esp + 0x230]
call fcn.00406299
test eax, eax
jne 0x401527
xor ebp, ebp
test byte [esp + 0x22c], 2
je 0x401493
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x401503
push 0x105
lea eax, [esp + 0x18]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4014ce
test edi, edi
jne 0x401503
push dword [esp + 0x22c]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0040141e
test eax, eax
jne 0x4014d8
push 0x105
lea eax, [esp + 0x18]
push eax
push edi
push dword [esp + 0x18]
call ebp
test eax, eax
je 0x4014a6
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004068a7
test eax, eax
jne 0x401514
push dword [esp + 0x228]
push dword [esp + 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x401527
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x401527
push 0
push esi
push dword [esp + 0x230]
push dword [esp + 0x230]
call eax
pop edi
pop esi
pop ebp
add esp, 0x214
ret 0xc
Function at 0x4032fb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
test ecx, ecx
js 0x403324
mov eax, dword [0x434278]
push edi
add eax, ecx
push edi
push eax
push dword [0x40a014]
mov dword [0x40c974], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.0040317c
test eax, eax
js 0x4033fa
push ebx
push esi
push 4
lea eax, [ebp + 8]
push eax
push dword [0x40a014]
call fcn.00406909
test eax, eax
je 0x4033f5
push dword [ebp + 8]
add dword [0x40c974], 4
call fcn.0040317c
mov esi, eax
test esi, esi
js 0x4033f1
cmp dword [ebp + 0x10], edi
jne 0x4033c5
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x4033f1
mov ebx, 0x4000
mov edi, 0x41e550
cmp ecx, ebx
mov eax, ebx
cmovl eax, ecx
push eax
push edi
push dword [0x40a014]
mov dword [ebp - 4], eax
call fcn.00406909
test eax, eax
je 0x4033f5
push dword [ebp - 4]
push edi
push dword [ebp + 0xc]
call fcn.004069cc
test eax, eax
je 0x4033c1
mov eax, dword [ebp - 4]
add esi, eax
mov ecx, dword [ebp + 8]
add dword [0x40c974], eax
sub ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
jg 0x40337d
jmp 0x4033f1
push 0xfffffffffffffffe
jmp 0x4033f7
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 8], eax
cmovl eax, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [0x40a014]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4033f5
mov esi, dword [ebp - 4]
add dword [0x40c974], esi
mov eax, esi
jmp 0x4033f8
push 0xfffffffffffffffd
pop eax
pop esi
pop ebx
pop edi
leave
ret 0x10

Function at 0x40341d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
cmp dword [ebp + 8], 0
je 0x403445
mov eax, dword [0x40c988]
test eax, eax
je 0x40343c
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x40c988], 0
leave
ret
cmp dword [0x40c988], 0
je 0x403457
push 0
call fcn.004061d0
leave
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x434220]
jbe 0x4034c1
cmp dword [0x433218], 0
je 0x40349c
test byte [0x434314], 1
je 0x4034c1
call fcn.004033ff
push eax
lea eax, [ebp - 0x80]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0
call fcn.00405d0a
leave
ret
push 0
push 0x4037a0
push 0
push 0x6f
push dword [0x433214]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push eax
mov dword [0x40c988], eax
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret
Function at 0x405dee
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x405e08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
pop esi
ret 4