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

Disassembly:
push 0xffffffffffffffff
push 0x4233fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x54], 0
mov eax, dword [0x434910]
mov ebp, dword [esp + 0x5c]
xor edi, edi
test eax, eax
mov ebx, 1
jne 0x41089b
cmp dword [esi + 0x30c], ebx
jne 0x41089b
xor eax, eax
cmp ebp, 0xffffffff
setne al
lea ecx, [esp + 0x10]
dec eax
and eax, 0xfffffffd
add eax, 6
mov edi, eax
mov eax, dword [0x434c5c]
test eax, eax
jne 0x410871
push str.pubcld
jmp 0x410876
push str.pricld
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x435348]
push ebp
push ecx
push 0x434dd0
push edx
push str._s_win__s__s.connector_RdpDlg.cpp_6E00E577_FB26_4007_B54E_6B0A23380D6F_error_OnDisconnectedMsrdp__d_.
call fcn.0040b000
add esp, 0x14
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x434910], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x348]
push eax
push 0x431
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00404010
mov eax, dword [0x4352dc]
test eax, eax
je 0x410940
lea ecx, [esi + 0x334]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x54], bl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004098b0
add esp, 8
mov byte [esp + 0x54], 2
cmp dword [eax + 0x18], 0x10
jb 0x410911
mov eax, dword [eax + 4]
jmp 0x410914
add eax, 4
push ebp
push eax
push str.RDP_Connector_Inner_Server:__s_:_OnDisconnectedMsrdp_Error_Id:__d_.
call fcn.0040b4c0
add esp, 0xc
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
call fcn.00403f80
call fcn.00409170
cmp ebp, 2
je 0x410959
mov dword [esi + 0x3c8], 0
lea ecx, [esi + 0xd0]
call fcn.0040ca40
cmp eax, ebx
jne 0x410979
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x42d
push edx
call edi
jmp 0x410991
push ebp
push str.CRdpDlg__OnDisconnectedMsrdp__errid:_d.
call fcn.0040b250
mov eax, dword [esi]
add esp, 8
mov ecx, esi
call dword [eax + 0x154]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x10]
call dword [0x426178]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x410a10
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x320]
test eax, eax
je 0x410a56
mov dword [0x434910], 1
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x348]
push 0
push eax
push 0x431
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00404010
call dword [esi + 0x320]
pop esi
ret

Function at 0x410a60
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x31c]
test eax, eax
je 0x410aa9
mov eax, dword [esp + 8]
mov dword [0x434910], 1
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x348]
push eax
push ecx
push 0x431
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00404010
call dword [esi + 0x31c]
pop esi
ret 4

Function at 0x411680
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push edi
push 0
push 0
push 0
push 0xa0
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x10
call edi
mov ebx, dword [esp + 0x14]
mov ebp, dword [sym.imp.USER32.dll_VkKeyScanA]
push 0
push 0
push 0
push ebx
call ebp
movsx eax, ax
push eax
call esi
push eax
push ebx
call ebp
push eax
call edi
push 0
push 2
push 0
push ebx
call ebp
movsx ecx, ax
push ecx
call esi
push eax
push ebx
call ebp
push eax
call edi
push 0
push 2
push 0
push 0xa0
call esi
push eax
push 0x10
call edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x418a90
Capabilities:
Connect socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4306a0]
mov dword [esp + 0x10], eax
call fcn.0041e8b0
mov eax, dword [0x434c5c]
test eax, eax
jne 0x418b47
cmp dword [0x4301bc], 1
jne 0x418b47
push esi
mov esi, dword [sym.imp.WS2_32.dll_connect]
push 0x436974
push 0x40ff10
push esi
call fcn.0041fa00
add esp, 0xc
test eax, eax
jne 0x418b30
push esi
call fcn.0041efc0
add esp, 4
test eax, eax
jne 0x418b30
push str.0.0.0.0
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 6], ax
push 0x10
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
call esi
cmp eax, 0xffffffff
je 0x418b30
push str.hook_api__hook_connect_success__g_hook_connect_succ:1.
mov dword [0x436960], 1
call fcn.0040b4c0
add esp, 4
mov eax, dword [0x436960]
test eax, eax
pop esi
jne 0x418b47
push str.hook_api__hook_connect_fail__g_hook_connect_succ:0.
call fcn.0040b250
add esp, 4
push 0x436968
push 0x40f6d0
push str.SetCursor
push str.user32.dll
call fcn.004090b0
mov eax, dword [0x4368a8]
add esp, 0x10
cmp eax, 1
jne 0x418b89
push 0x43696c
push 0x418920
push str.GetDriveTypeW
push str.Kernel32.dll
call fcn.004090b0
add esp, 0x10
push 0x436970
push 0x40f640
push str.GetComputerNameW
push str.Kernel32.dll
call fcn.004090b0
mov ecx, dword [esp + 0x20]
call fcn.00421871
add esp, 0x24
ret
Function at 0x41da00
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4306a0]
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41da4c
mov ax, word [esp]
cmp al, 2
jne 0x41da46
cmp ah, al
jne 0x41da46
xor eax, eax
mov ecx, dword [esp + 0x190]
call fcn.00421871
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x190]
call fcn.00421871
add esp, 0x194
ret
Function at 0x41efc0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Execute shellcode via indirect call
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x424840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push 0x436a40
lea ecx, [esp + 4]
call fcn.0041feb0
mov dword [esp + 0x24], 0
mov al, byte [0x436a2c]
test al, al
jne 0x41f01b
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp]
call fcn.0041fed0
mov eax, 2
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [0x436a34]
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov edi, dword [0x436a38]
push 0
lea eax, [esp + 0x14]
push eax
push edi
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x24], ebp
call fcn.0041eb90
mov esi, dword [esp + 0x28]
add esp, 0x14
cmp esi, edi
je 0x41f054
cmp dword [esi], ebp
je 0x41f07c
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041fed0
pop edi
pop esi
mov eax, 4
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov al, byte [esi + 0x10]
test al, al
je 0x41f0ab
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041fed0
pop edi
pop esi
mov eax, 5
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00420540
mov byte [esp + 0x30], 1
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0x10]
push edx
push 0x40
push 5
push eax
call edi
test eax, eax
jne 0x41f10e
mov byte [esp + 0x30], al
lea ecx, [esp + 0x18]
call fcn.004203a0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041fed0
pop edi
pop esi
mov eax, 0xa
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
call fcn.0041e990
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
add esp, 8
lea eax, [esp + 0x10]
push eax
push ecx
push 5
push edx
call edi
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x18]
call fcn.004203a0
mov byte [esi + 0x10], 1
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041fed0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x41f170
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push 0xffffffffffffffff
push 0x424840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push 0x436a40
lea ecx, [esp + 8]
call fcn.0041feb0
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp byte [0x436a2c], bl
jne 0x41f1cb
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 4]
call fcn.0041fed0
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [0x436a34]
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, dword [0x436a38]
push ebx
lea eax, [esp + 0x18]
push eax
push edi
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x28], ebp
call fcn.0041eb90
mov esi, dword [esp + 0x2c]
add esp, 0x14
cmp esi, edi
je 0x41f203
cmp dword [esi], ebp
je 0x41f22c
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041fed0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp byte [esi + 0x10], bl
jne 0x41f25a
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041fed0
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00420540
mov byte [esp + 0x34], 1
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0x14]
push edx
push 0x40
push 5
push eax
call edi
test eax, eax
jne 0x41f2be
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x1c]
call fcn.004203a0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041fed0
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov edx, dword [esi]
mov dword [edx], eax
mov cl, byte [ecx + 4]
mov byte [edx + 4], cl
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
push 5
push ecx
call edi
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x1c]
call fcn.004203a0
mov byte [esi + 0x10], bl
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041fed0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4201f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42498b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
mov eax, dword [0x4306a0]
mov dword [esp + 0x2e0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
push esi
push edi
mov dword [esp + 0x10], eax
lea ecx, [ecx]
cmp ebx, dword [esp + 0x10]
je 0x4202f7
mov ecx, dword [ebx]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x2fc], 0
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea edx, [esp + 0x18]
xor eax, eax
push edx
mov ecx, 0xb2
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x20], 0x10001
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4202e5
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
xor ecx, ecx
lea esp, [esp]
test edx, edx
je 0x4202bf
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4202bf
mov eax, dword [esp + 0xd0]
cmp eax, dword [edx + ecx*4]
je 0x4202af
inc ecx
jmp 0x420290
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0xd0], eax
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [esp + 0x2fc], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
jmp 0x420230
mov dword [esp + 0x2fc], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2ec]
call fcn.00421871
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420320
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4249a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
cmp edi, dword [esp + 0x24]
je 0x420388
mov ecx, dword [edi]
push ecx
push 0
push 2
call ebx
mov esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
push esi
call ebp
mov dword [esp + 0x1c], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 4
jmp 0x420354
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x420450
Capabilities:
Enumerate threads

Disassembly:
push 0xffffffffffffffff
push 0x4249e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
mov dword [esp + 0x2c], 0
cmp esi, 0xffffffff
jne 0x4204a0
mov dword [esp + 0x2c], eax
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
push esi
mov dword [esp + 0x14], 0x1c
mov dword [esp + 0x2c], eax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x420511
mov edi, dword [esp + 0x38]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call ebx
cmp dword [esp + 0x20], eax
jne 0x420500
call ebp
cmp dword [esp + 0x1c], eax
je 0x420500
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00420400
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x4204e4
pop ebp
pop ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov dword [esp + 0x30], 0xffffffff
push esi
call edi
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x421960
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x429d18
call fcn.00421b60
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4219a0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4219a0
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4219b8
cmp eax, 0x20b
je 0x4219a5
mov dword [ebp - 0x1c], ebx
jmp 0x4219cc
cmp dword [ecx + 0x84], 0xe
jbe 0x4219a0
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4219c6
cmp dword [ecx + 0x74], 0xe
jbe 0x4219a0
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x436adc], 0xffffffff
or dword [0x436ae0], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x436a6c]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x436a68]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x436ad8], eax
call fcn.00421d14
call fcn.00421db4
cmp dword [0x4306c8], ebx
jne 0x421a2c
push fcn.00421db4
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00421da2
push 0x430084
push 0x430080
call sub.MSVCR71.dll__initterm
push 0x421d58
call fcn.004218e3
mov eax, dword [0x436a64]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x436a60]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x421a80
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x43007c
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x421afe
cmp al, bl
je 0x421aaa
cmp dword [ebp - 0x20], ebx
jne 0x421afe
mov al, byte [esi]
cmp al, bl
je 0x421aba
cmp al, 0x20
ja 0x421aba
inc esi
mov dword [ebp - 0x24], esi
jmp 0x421aaa
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x421ad6
movzx eax, word [ebp - 0x54]
jmp 0x421ad9
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00422044
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x421af6
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x421b53
cmp al, 0x22
jne 0x421b0d
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x421b20
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x421a98
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00421b9b
ret
Function at 0x1783820
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x271ebdf
mov eax, 0x5a4d
cmp word [ecx], ax
jmp 0x271ebd9
cmp dword [eax + ecx], 0x4550
jmp 0x277bfd3
ja 0x26787c8
mov eax, esi
cmp ah, ch
sub eax, dword [edx + ecx + 0x10]
jmp 0x259c759
push ebp
mov ebp, esp
rcr ecx, 0xad
mov ecx, dword [ebp + 8]
sub esp, 0x114
cmp cx, si
stc
push esi
cmc
test ecx, ecx
jmp 0x26bb436
mov dword [ebp - 8], eax
jmp 0x26259c1
je 0x26259c1
mov eax, dword [edx + ecx + 0x20]
cmp ecx, eax
test ebp, 0x41b076a8
lea eax, [eax + ecx]
xor ebx, ebx
jmp 0x2692acd
mov esp, ebp
movzx ebp, bp
cmovns bp, si
not ebp
pop ebp
jmp 0x2744a03
mov edi, dword [edx + ecx + 0x18]
test edi, edi
jmp 0x25b6852
test edx, edx
je 0x271ebdf
mov eax, dword [eax + ecx + 0x7c]
push ebx
cmp bp, sp
push edi
test edx, ebp
cmc
cmp bh, ah
mov dword [ebp - 0x10], eax
stc
cmp bp, si
mov dword [ebp - 8], 0xffffffff
test ebp, 0x49d4671b
cmp dl, 0xaa
cmp si, di
cmp esi, 0xffff
jmp 0x161e99a
dec edi
jmp 0x270485e
je 0x271ebdf
mov esi, dword [ebp + 0xc]
cmp edi, 0x71297af9
test esi, esi
jmp 0x15460d7
mov dword [ebp - 0xc], eax
js 0x26259c1
jmp 0x26a0802
je 0x277aef1
sub eax, eax
movsx esi, cx
pop esi
jmp 0x25e44ed
ret
mov eax, dword [ecx + 0x3c]
stc
jmp 0x15474f7
jne 0x271ebdf
mov edx, dword [eax + ecx + 0x78]
cmp edx, 0x6172fa6
cmp esi, esp
mov dword [ebp - 4], edx
jmp 0x268b320
Function at 0x405ef7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1274], 0
push esi
jne 0x405f2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f08
mov dword [ecx*4 + 0x7a1270], eax
inc ecx
cmp ecx, 0x100
jl 0x405f03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1270]
xor eax, esi
inc ecx
dec edx
jne 0x405f41
pop edi
not eax
pop esi
ret 0xc

Function at 0x434fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x434fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x434fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434fb8
mov eax, 1
add ebx, ebx
jne 0x434fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x434fd0
jne 0x434fec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434fd0
xor ecx, ecx
sub eax, 3
jb 0x435000
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x435072
mov ebp, eax
add ebx, ebx
jne 0x43500b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x435018
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43503c
inc ecx
add ebx, ebx
jne 0x435028
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43501d
jne 0x435039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43501d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43505c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43504d
jmp 0x434fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43505c
add edi, ecx
jmp 0x434fbe
pop esi
mov edi, esi
mov ecx, 0xc91
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43507a
cmp byte [edi], 9
jne 0x43507a
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 0x43507f
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x4350ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x44b4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44b88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4350ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44b90]
or eax, eax
je 0x4350e8
mov dword [ebx], eax
add ebx, 4
jmp 0x4350c9
call dword [esi + 0x44b8c]
mov ebp, dword [esi + 0x44b94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x435122
sub esp, 0xffffff80
jmp 0x419fa6
Function at 0x9751b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00975140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00975140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00975140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00975140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x975bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x975c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x98787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x975c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x975c52
xor eax, eax
pop esi
leave
ret 4