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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x754], edi
je 0x1009176c
cmp dword [ebp + 8], 0x100
jne 0x1009175b
cmp word [ebp + 0xc], 0xd
jne 0x1009175b
cmp byte [esi + 0x75a], 0
je 0x10091742
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1009175b
cmp byte [esi + 0x75b], 0
jne 0x1009175b
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10091757
push edi
push edi
push edi
push str.return
push esi
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SendNotify_class_xx_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x1009176f
mov eax, dword [esi + 0x754]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x1009af16
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc18]
test ecx, ecx
je 0x1009af30
mov eax, dword [ecx]
pop edi
pop ebp
jmp dword [eax + 0x218]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
mov dword [edi + 0xc20], esi
call sym.UserAndPayClient.dll_private:_int___thiscall_xx_DuiLib::CVirtualListUI::GetElementCount_void_
mov ebx, eax
cmp ebx, esi
cmovg ebx, esi
xor esi, esi
test ebx, ebx
jle 0x1009af94
mov ecx, edi
call sym.UserAndPayClient.dll_private:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CVirtualListUI::CreateElement_void_
mov ecx, dword [edi + 0xc18]
add ecx, 0x608
mov dword [ebp + 8], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
jne 0x1009af84
push str.pControl__GetManager____NULL
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
push dword [ebp + 8]
mov ecx, edi
call sym.UserAndPayClient.dll_private:_void___thiscall_xx_DuiLib::CVirtualListUI::FillElement_class_xx_DuiLib::CControlUI___int_
inc esi
cmp esi, ebx
jl 0x1009af4f
pop esi
pop ebx
pop edi
pop ebp
ret 4
Function at 0x100a2107
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1017542c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x100a2187
cmp dword [esi + 0x10], 0
je 0x100a2187
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.100c2b80
mov ebx, esp
test ebx, ebx
je 0x100a2187
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1f8
call fcn.10055074
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
push str.textchanged
push ecx
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SendNotify_class_xx_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x100a2187
mov ecx, dword [esi + 0x10]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_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.100c1de9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100a4ec2
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x1010716b
call fcn.100c2a72
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x650], ebx
cmp dword [esi + 4], ebx
jne 0x100a4f4b
lea eax, [ebp - 0xa8]
push eax
call fcn.100a4a84
push ebx
sub esp, 0x10
lea esi, [ebp - 0xa8]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, esi
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_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.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_xx_DuiLib::tagTFontInfo____thiscall_xx_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], ebx
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0x94]
mov bl, al
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov edi, 0x640
test bl, bl
je 0x100a4f86
mov eax, dword [esi + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [esi + 0x1a]
push eax
call fcn.100bef40
mov eax, dword [esi + 0x10]
add esp, 0xc
add eax, edi
push eax
push 0
push 0x1002
push dword [esi + 4]
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
call fcn.100c2a2d
ret 4
Function at 0x100a53f1
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x1017542c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x100a541d
xor eax, eax
jmp 0x100a5492
push esi
mov esi, 0xff
lea eax, [ebp - 0x104]
push esi
push 0
push eax
call fcn.100bf4c0
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x100a5419
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.100bef40
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c1de9
mov esp, ebp
pop ebp
ret
Function at 0x100a558f
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x101071c9
call fcn.100c2a72
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [eax + 0x648], ebx
cmp dword [esi + 4], ebx
jne 0x100a5643
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x100a5620
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.100a5180
push ebx
sub esp, 0x10
lea esi, [ebp - 0xb0]
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, esi
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_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.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [esi + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_xx_DuiLib::tagTFontInfo____thiscall_xx_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], ebx
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0x94]
mov bl, al
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
test bl, bl
je 0x100a567b
call fcn.100a53f1
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x640], eax
mov eax, dword [esi + 0x10]
push dword [eax + 0x640]
push 0
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
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
call fcn.100c2a2d
ret 4

Function at 0x100aa349
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.UserAndPayClient.dll_public_virtual:_void___thiscall_xx_DuiLib::CListUI::DoEvent_struct_xx_DuiLib::tagTEventUI__
Function at 0x100ab0a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1017542c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
and dword [ebx + 0x59c], 0
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x598], ecx
mov dword [ebx + 0x5a0], eax
test ecx, ecx
jne 0x100ab113
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::MenuObserverImpl____cdecl_xx_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test edi, edi
je 0x100ab113
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::MenuObserverImpl____cdecl_xx_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::MenuObserverImpl____cdecl_xx_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x598]
test ecx, ecx
jne 0x100ab139
mov ecx, dword [ebp - 0x18]
jmp 0x100ab140
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiRect::constructor_void_
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x100ab183
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x100ab17e
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c1de9
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100b0ec3
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1017542c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x100b0f11
cmp esi, 0x28
jbe 0x100b0f0b
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x100b0f11
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100bf4c0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c1de9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b120f
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x10107de3
call fcn.100c2a72
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x100b1316
lea eax, [ebp - 0xa4]
push eax
call sym.UserAndPayClient.dll_public:_struct_tagRECT___thiscall_xx_DuiLib::CHotKeyWnd::CalPos_void_
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov ecx, dword [ecx + 0x44]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, ebx
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100b1316
mov ecx, dword [ebx + 0x10]
call sym.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CLabelUI::GetFont_void_const
mov ecx, dword [ebx + 0x10]
push eax
mov ecx, dword [ecx + 0x44]
call sym.UserAndPayClient.dll_public:_struct_xx_DuiLib::tagTFontInfo____thiscall_xx_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x85e]
push eax
movzx eax, word [ecx + 0x85c]
mov ecx, ebx
push eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CHotKeyWnd::SetHotKey_unsigned_short_int__unsigned_short_int_
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CDuiString___thiscall_xx_DuiLib::CHotKeyWnd::GetHotKeyName_void_
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1f8
push eax
call fcn.10054fe4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.100c2a2d
ret 4
Function at 0x100b2975
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x100b2998
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.100b61eb
xor al, al
jmp 0x100b2a4b
call fcn.100b2341
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
push ebx
push edi
call fcn.100d99bf
push edi
call fcn.100db878
push ebx
push ebx
push edi
mov dword [ebp - 4], eax
call fcn.100d99bf
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jg 0x100b29d4
push ebx
push ebx
push ebx
push 0xc
mov ecx, esi
jmp 0x100b298c
inc eax
push eax
call fcn.100c1dfa
push dword [ebp + 8]
mov edi, eax
push 1
push dword [ebp - 4]
push edi
mov byte [edi], bl
call fcn.100d963a
add esp, 0x14
cmp eax, 1
je 0x100b2a03
push edi
call fcn.100c1e03
pop ecx
push ebx
push ebx
push ebx
push 2
jmp 0x100b29d0
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, edi
mov byte [edi + edx], bl
cmp byte [edi], bl
je 0x100b2a30
mov dl, byte [eax]
mov dword [ebp + 8], eax
cmp dl, 0xd
jne 0x100b2a28
inc eax
mov byte [ecx], 0xa
cmp byte [eax], 0xa
cmovne eax, dword [ebp + 8]
jmp 0x100b2a2a
mov byte [ecx], dl
inc eax
inc ecx
cmp byte [eax], bl
jne 0x100b2a11
push dword [ebp + 0xc]
mov byte [ecx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.100c1e03
cmp byte [esi + 0x2c], bl
pop ecx
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100c517f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100ecc8a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ecb09

Function at 0x100f5301
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f4fc1
Function at 0x44e988
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404914
mov eax, dword [ebp - 8]
call fcn.00404914
sub eax, eax
push ebp
push 0x44eaea
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xc1c23
push esi
pop eax
mov edx, 0x44eb04
call fcn.004044b8
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004044fc
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x5c
jne 0x44e9fe
lea eax, [ebp - 0x18]
push 1
pop ecx
pushal
popal
push edi
pop edi
push 1
pop edx
call fcn.004049c4
mov eax, dword [ebp - 0x18]
call fcn.00404724
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
jne 0x44ea27
mov eax, dword [ebp - 0x18]
call fcn.00404724
push eax
pop edx
lea eax, [ebp - 0x18]
pushfd
xor ecx, ecx
inc ecx
popfd
call fcn.004049c4
lea edx, [ebp - 0x41c]
mov eax, dword [ebp - 0x18]
call fcn.004081a0
mov edx, dword [ebp - 0x41c]
lea eax, [ebp - 0x18]
call fcn.004044fc
push ebx
pop eax
sub eax, 0xc1c22
mov dword [ebp - 0x14], eax
push ebx
pop eax
sub eax, 0xc1823
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
sub ebx, 0xa1c0a
push ebx
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404924
push eax
push edi
call dword [0x452bb0]
or eax, eax
jne 0x44eabc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404924
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x452bb8]
test eax, eax
jne 0x44eab2
push esi
pop eax
lea edx, [ebp - 0x418]
mov ecx, 0x400
call fcn.004046d4
mov eax, dword [ebp - 0xc]
push eax
call dword [0x452bbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eaf1
lea eax, [ebp - 0x41c]
call fcn.00404464
lea eax, [ebp - 0x18]
call fcn.00404464
lea eax, [ebp - 8]
nop
push 2
nop
pop edx
call fcn.00404488
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2921252d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x4712188f
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402870
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405466
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00402240
test al, al
jne 0x402aab
call fcn.004024f0
test al, al
jne 0x402aab
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
push str.powershell_Get_ItemPropertyValue__Path_HKLM:SOFTWAREMicrosoftWindows_NTCurrentVersion__Name_ProductName
lea ecx, [ebp - 0x140]
call fcn.00402c30
lea edx, [ebp - 0x140]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.00401ec0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x402930
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402926
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a97
push ecx
push edx
call fcn.0040418b
add esp, 8
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x40296a
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402960
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a97
push ecx
push edx
call fcn.0040418b
add esp, 8
push str.wmic_path_win32_VideoController_get_name
lea ecx, [ebp - 0x140]
call fcn.00402c30
lea edx, [ebp - 0x140]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.00401ec0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x4029d3
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a97
push ecx
push edx
call fcn.0040418b
add esp, 8
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x402a0d
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a97
push ecx
push edx
call fcn.0040418b
add esp, 8
push str.curl__s_http:__api.ipify.org____ssl_no_revoke
lea ecx, [ebp - 0x140]
call fcn.00402c30
lea edx, [ebp - 0x140]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00401ec0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x402a6b
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402a97
push ecx
push edx
call fcn.0040418b
add esp, 8
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x402aa7
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402a9d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040418b
add esp, 8
xor al, al
jmp 0x402aad
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403de7
mov esp, ebp
pop ebp
ret
Function at 0x404a41
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404a80
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404a80
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404a80
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404a80
cmp dword [ecx + 0x74], 0xe
jbe 0x404a80
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret