joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x98]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 8], 0
je 0x45c4f3
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
push 0xf
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45c4e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x3e5
je 0x45c4c7
jmp 0x45c4d7
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x45c4e4
push str.WriteFile__
mov ecx, dword [ebp + 8]
call fcn.0045ba70
jmp 0x45c4f3
mov edx, dword [ebp + 8]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 8], 0
jne 0x45c53d
mov dword [ebp - 8], 1
push 1
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x3c
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xc], 0
jne 0x45c53d
push str.GetOverlappedResults___in_WriteFile__
mov ecx, dword [ebp + 8]
call fcn.0045ba70
mov esp, ebp
pop ebp
ret

Function at 0x45c840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x45c550
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x45c871
xor eax, eax
jmp 0x45c876
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45cb60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0xf030
push 0x112
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 3
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x45cbc1
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x45cbc1
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret 4

Function at 0x45cbe0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45cc02
jmp 0x45cc37
lea ecx, [ebp - 0x10]
push ecx
push 0x47cb4c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esp, ebp
pop ebp
ret

Function at 0x45ccc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x45cce8
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x45cce8
xor eax, eax
jmp 0x45cd42
cmp dword [ebp + 0xc], 0
je 0x45cd3f
cmp dword [ebp + 0x10], 0
je 0x45cd04
push 0
push 0
push 0x10
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45cd2e
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 4], eax
jmp 0x45cd35
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45d0b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
jne 0x45d0fe
jmp 0x45d1a2
mov dword [ebp - 0x244], 0x22c
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45d12e
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45d1a2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [eax + 0x54]
jne 0x45d17e
lea ecx, [ebp - 0x26c]
call fcn.00415970
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x254], edx
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x78
call fcn.00415f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00419a90
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45d12e
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 4

Function at 0x45d1c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 0x45cef0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x48], 0
jne 0x45d20f
mov edx, dword [ebp + 8]
mov byte [edx], 1
mov ecx, dword [ebp + 8]
add ecx, 0x78
call fcn.0041cc90
test eax, eax
jne 0x45d20f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0045d0b0
mov ecx, dword [ebp + 8]
push ecx
push 0x45cef0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esp, ebp
pop ebp
ret 4
Function at 0x45e320
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
xor edx, edx
mov word [ebp - 0x808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.00431910
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
push str.iid:_s_n
lea edx, [ebp - 0x808]
push edx
call fcn.004157a0
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
push 0x470968
mov edx, dword [ebp + 0xc]
push edx
call fcn.004158e0
add esp, 8
test eax, eax
je 0x45e3d2
mov eax, dword [ebp + 8]
sub eax, 0x38
je 0x45e3bd
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x80c], ecx
jmp 0x45e3c7
mov dword [ebp - 0x80c], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x80c]
mov dword [edx], eax
push 0x4709d8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004158e0
add esp, 8
test eax, eax
je 0x45e412
mov edx, dword [ebp + 8]
sub edx, 0x38
je 0x45e3fd
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x810], eax
jmp 0x45e407
mov dword [ebp - 0x810], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x810]
mov dword [ecx], edx
push 0x4709f8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004158e0
add esp, 8
test eax, eax
je 0x45e452
mov ecx, dword [ebp + 8]
sub ecx, 0x38
je 0x45e43d
mov edx, dword [ebp + 8]
add edx, 4
mov dword [ebp - 0x814], edx
jmp 0x45e447
mov dword [ebp - 0x814], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x814]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1d9]
test eax, eax
jne 0x45e524
push 0x4709b8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004158e0
add esp, 8
test eax, eax
je 0x45e4a4
mov edx, dword [ebp + 8]
sub edx, 0x38
je 0x45e48f
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0x818], eax
jmp 0x45e499
mov dword [ebp - 0x818], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x818]
mov dword [ecx], edx
push 0x470998
mov eax, dword [ebp + 0xc]
push eax
call fcn.004158e0
add esp, 8
test eax, eax
je 0x45e4e4
mov ecx, dword [ebp + 8]
sub ecx, 0x38
je 0x45e4cf
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp - 0x81c], edx
jmp 0x45e4d9
mov dword [ebp - 0x81c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x81c]
mov dword [eax], ecx
push 0x470988
mov edx, dword [ebp + 0xc]
push edx
call fcn.004158e0
add esp, 8
test eax, eax
je 0x45e524
mov eax, dword [ebp + 8]
sub eax, 0x38
je 0x45e50f
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x820], ecx
jmp 0x45e519
mov dword [ebp - 0x820], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x820]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x45e53e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 4]
call edx
xor eax, eax
jmp 0x45e543
mov eax, 0x80004002
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4650c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.MTHUNTER_FTAPP_2015.07.09
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4650f2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x465130
call fcn.00461890
call fcn.00464a40
call fcn.00461460
mov ecx, dword [0x48d3c4]
push ecx
call sub.ih.dll_int___cdecl_UnInstallMouseHook_struct_HWND____
add esp, 4
mov edx, dword [0x48d3c4]
push edx
call sub.ih.dll_int___cdecl_UnInstallKeyBoardHook_struct_HWND____
add esp, 4
call fcn.004615a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x468d10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469b45
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1a4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x468d9e
push str.Library_inicialization_failed
lea ecx, [ebp - 0x1e4]
call fcn.0040d100
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x1e4]
push ecx
push 2
lea ecx, [ebp - 0x1c8]
call fcn.004195d0
push 0x4823fc
lea edx, [ebp - 0x1c8]
push edx
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.0040df60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret

Function at 0x4b6440
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push ecx
mov edi, eax
mov esi, dword [esp + 0x10]
mov eax, 0xa46de6
xor esi, eax
sub esi, eax
and esi, 0xffff
call 0x4b6461
pop eax
sub eax, 0x135
add esi, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
inc esi
push edi
mov ah, byte [esi]
xor ah, al
mov byte [edi], ah
inc esi
ror al, 1
inc edi
dec ecx
jne 0x4b6471
pop eax
pop ecx
pop edi
pop esi
ret

Function at 0x4b662a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, esi
add eax, dword [esi + 0x3c]
mov edi, esi
add edi, dword [eax + 0x78]
lea eax, [ebx*4]
add eax, dword [edi + 0x20]
mov edx, dword [eax + esi]
lea eax, [esi + edx]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004b65f0
test eax, eax
jne 0x4b6699
mov ebx, 0
cmp ebx, dword [edi + 0x18]
jae 0x4b66b6
lea eax, [ebx*4]
add eax, dword [edi + 0x20]
mov edx, dword [eax + esi]
lea eax, [esi + edx]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004b65f0
test eax, eax
je 0x4b66b0
lea eax, [ebx + ebx]
add eax, dword [edi + 0x24]
movzx eax, word [eax + esi]
shl eax, 2
add eax, dword [edi + 0x1c]
add esi, dword [eax + esi]
mov eax, esi
jmp 0x4b66bb
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x4b6676
mov eax, 0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1635658
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1635662
pushal
call 0x1635668
pop ebp
sub ebp, 0x10
sub ebp, 0x1235658
jmp 0x163567e
mov eax, 0x1235658
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a4
mov edx, 0x4629a81c
xor byte [eax], dl
inc eax
dec ecx
jne 0x1635695
jmp 0x16356a8
xchg edi, eax
rcl dword [edi + 0x1c1c2095]
sbb al, 0x9d
fucom st(4)
sbb al, 0x1c
sbb al, 0x1f
shl dword [ecx + ebx - 0x59e3e3e4], 1
xor al, 0x1c
sbb al, 0x1c
jmp 0x16356c2
Function at 0x411ec0
Capabilities:
Acquire debug privileges

Disassembly:
push 0xffffffffffffffff
push 0x4544c9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46eb88]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x14]
push eax
mov esi, 1
push 0x28
mov dword [esp + 0x44], esi
call dword [0x457324]
push eax
call dword [0x457014]
lea ecx, [esp + 0x28]
push ecx
push str.SeDebugPrivilege
push 0
call dword [section..rdata]
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
push 0
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], 2
call dword [0x45701c]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x457338]
mov ecx, dword [esp + 0x44]
push 0x457f28
call fcn.004016e0
push 0
push 2
mov dword [esp + 0x28], esi
call fcn.0045217e
mov edi, eax
push 0x128
mov dword [esp + 0x20], edi
call fcn.0041a994
push 0x224
mov esi, eax
call fcn.0041a994
add esp, 8
push esi
mov ebx, eax
mov dword [esi], 0x128
push edi
mov dword [ebx], 0x224
call fcn.00452178
test eax, eax
je 0x4120a1
call fcn.0041b226
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x412042
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x24]
push ecx
lea edx, [esp + 0x1c]
push 0x45a1a4
push edx
mov byte [esp + 0x48], 2
call fcn.00401a80
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x41200a
cmp dword [edi - 0xc], 0
jl 0x41200a
push eax
push edi
call fcn.0043d0b6
add esp, 8
test eax, eax
je 0x41200a
sub eax, edi
cmp eax, 0xffffffff
jne 0x41204c
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.00452172
mov ebp, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412038
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x411fa4
jmp 0x4120a1
push 0x80004005
call fcn.00401150
mov ecx, dword [esi + 8]
push ecx
push 8
call fcn.0045217e
mov ebp, eax
push ebx
push ebp
call fcn.00452184
mov eax, dword [esp + 0x44]
lea edx, [ebx + 0x120]
push edx
push 0x45a1a4
push eax
call fcn.00401a80
add esp, 0xc
push ebp
call dword [0x457338]
lea eax, [edi - 0x10]
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x457338]
push esi
call fcn.0041a9ce
push ebx
call fcn.0041a9ce
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x3c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4120e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4173f0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.u1t_L_D_T_RT_PD_QRP.0
call fcn.0043b3f0
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x4180b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454eec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46eb88]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0041b226
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4180f7
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x20], ebp
call fcn.0041b226
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418124
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x20], 1
lea ebx, [esi + 0x1c]
call fcn.0041b226
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418155
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x20], 2
lea edi, [esi + 0x28]
call fcn.0041b226
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418185
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ebp
mov dword [esi], ecx
push 0x457f28
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 3
mov dword [esi + 4], edx
mov dword [esi + 8], eax
call fcn.00401560
push ebp
push 0x457f28
lea ecx, [esi + 0x10]
call fcn.00401560
push ebp
push 0x457f28
mov ecx, ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
call fcn.00401560
push ebp
push 0x457f28
mov ecx, edi
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
call fcn.00401560
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4039c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
movzx edx, word [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
xor eax, eax
push edx
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x4c4d58
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x403a99
push ebx
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov ebx, eax
call fcn.004fc6be
mov esi, eax
lea eax, [edi - 2]
push eax
add ebx, 2
push ebx
push esi
call fcn.004fe210
add esp, 0x10
push esi
mov word [esi + edi - 2], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax]
mov edx, dword [edx + 0x104]
lea ecx, [ebp - 0x1c]
push ecx
push edi
push eax
call edx
push esi
mov ebx, eax
call fcn.004808a0
add esp, 4
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [ebp - 0x1c], 0
je 0x403a97
test ebx, ebx
js 0x403a97
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00403050
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 8

Function at 0x405760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x80
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004ff0c0
lea ecx, [ebp - 0x104]
push ecx
mov byte [ebp - 0x85], 0
call fcn.00530199
add esp, 0x10
xor esi, esi
cmp byte [str._86__.__t957], 0
je 0x405808
mov eax, str._86__.__t957
nop
lea edx, [ebp - 0x84]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4057b8
lea eax, [ebp - 0x84]
cmp byte [ebp - 0x84], cl
je 0x4057d9
xor byte [eax], 0x5a
inc eax
cmp byte [eax], 0
jne 0x4057d0
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.004fee10
add esp, 8
test eax, eax
jne 0x405819
inc esi
mov ecx, esi
shl ecx, 4
cmp byte [ecx + str._86__.__t957], 0
lea eax, [ecx + str._86__.__t957]
jne 0x4057b0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x405c70
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push ebx
push esi
push edi
push eax
push 0x405660
mov dword [0x5bdb34], eax
mov dword [0x5bdb38], eax
mov dword [0x5bdb3c], eax
mov dword [0x5bdb40], eax
mov dword [0x5bdb44], eax
mov dword [0x5bdb48], eax
mov dword [0x5bdb4c], eax
mov dword [0x5bdb50], eax
mov dword [0x5bdb54], eax
mov dword [0x5bdb58], eax
call dword [sym.imp.USER32.dll_EnumWindows]
push 0
call fcn.004ff06e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
add eax, 0xa
mov dword [ebp - 4], eax
lea ecx, [ecx]
push 0
call fcn.004ff06e
add esp, 4
cmp dword [ebp - 4], eax
jle 0x405d2e
mov edi, 1
mov esi, 0x5bdb34
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
je 0x405d19
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x405d13
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405d19
mov dword [esi], 0
add esi, 4
cmp esi, 0x5bdb5c
jl 0x405cf0
test edi, edi
jne 0x405d2e
push 0x64
call ebx
jmp 0x405cd0
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x5bdb34
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
je 0x405d75
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push 0
push 0x100000
call esi
test eax, eax
je 0x405d75
mov eax, dword [edi]
push eax
push 0
push 1
call esi
mov esi, eax
test esi, esi
je 0x405d75
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 4
cmp edi, 0x5bdb5c
jl 0x405d40
call fcn.00405730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret