joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x24], 0x76ce
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0x119
mov dword [ebp - 4], 0x1885
mov dword [ebp - 0xc], 0xaf43
mov dword [ebp - 8], 0x4e6b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
or eax, 0xbd2
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
add eax, 0x69b0
xor edx, edx
div ecx
mov edx, 0xb4102f0
push ebx
sub edx, eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
imul eax, eax, 0x692b
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
sub eax, 0x295b
or eax, 0x35f2
xor eax, 0xb4048d0
cmp edx, eax
jb 0x40837e
mov dword [ebp - 0x30], 0x6116
mov dword [ebp - 0x2c], 0x603e
mov dword [ebp - 0x18], 0x228f
mov dword [ebp - 0x14], 0x54dc
mov dword [ebp - 0x20], 0x4534
mov dword [ebp - 0x1c], 0x248f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
or eax, edx
mov edx, dword [ebp - 0x30]
or ecx, ebx
mov ebx, dword [ebp - 0x2c]
push ebx
add eax, 0xffffed35
push edx
adc ecx, 0xffff836b
push ecx
push eax
call fcn.004065b4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x24]
mov eax, 0x24924925
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
imul ecx, ecx, 0x34bc
or ecx, 0x30d2
mov eax, 0x124e8ef3
mul ecx
shr edx, 0x16
sub dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
imul eax, eax, 0x692b
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
sub eax, 0x295b
or eax, 0x35f2
xor eax, 0xb4048d0
cmp edx, eax
jae 0x4082ce
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464348
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00404ee0
mov ebp, dword [0x47bafc]
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push esi
add ebp, 0xfffffff8
call ebx
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x1fffff
mov byte [esp + 0x3c], 2
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 1
lea ecx, [esp + 0x38]
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, eax
push edi
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x47bafc]
lea eax, [esp + 0x14]
push eax
add edx, 0xfffffff8
push esi
mov dword [esp + 0x20], edx
call ebx
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x1fffff
mov byte [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 1
mov esi, eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
push esi
call ebp
push esi
call edi
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x405610
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x464b11
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 1
mov eax, dword [0x47bb18]
push eax
call fcn.0042bd60
add eax, 0x50
push eax
mov ecx, esi
call fcn.0042bd60
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x70
push eax
mov ecx, esi
call fcn.0042bd60
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x50
push eax
mov ecx, esi
call fcn.0042bd60
mov edi, eax
lea ecx, [edi + 0xc]
push ecx
mov ecx, esi
call fcn.0042bd60
add eax, 0x44
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bf00
lea edx, [edi + 0x10]
push edx
mov ecx, esi
mov ebp, eax
call fcn.0042bd60
add eax, 0x44
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bf00
mov ebx, eax
lea eax, [edi + 0x14]
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x44
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bf00
add edi, 0x18
push edi
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0042bd60
add eax, 0x44
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 8
push eax
mov ecx, esi
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bf00
mov edi, dword [esp + 0x2c]
push 0x46eae8
mov ecx, edi
mov esi, eax
call fcn.0042a2b0
mov ecx, dword [esp + 0x14]
push esi
push ecx
push ebx
push ebp
push str._s_s_s_s
push edi
mov dword [esp + 0x30], 1
call fcn.00401b30
push ebp
call fcn.0042e116
push ebx
call fcn.0042e116
mov edx, dword [esp + 0x34]
push edx
call fcn.0042e116
push esi
call fcn.0042e116
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405834
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4062f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464348
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00404ee0
mov ebp, dword [0x47bafc]
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push esi
add ebp, 0xfffffff8
call ebx
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x1fffff
mov byte [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 1
lea ecx, [esp + 0x38]
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, eax
push edi
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x47bafc]
lea eax, [esp + 0x14]
push eax
add edx, 0xfffffff8
push esi
mov dword [esp + 0x20], edx
call ebx
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x1fffff
mov byte [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 1
mov esi, eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
push esi
call ebp
push esi
call edi
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406415
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x407980
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x464498
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov eax, dword [0x47bb4c]
push eax
mov ecx, esi
call fcn.0042bd60
mov edi, eax
lea ecx, [edi + 0x54]
push ecx
mov ecx, esi
call fcn.0042bd60
lea edx, [edi + 0x58]
push edx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0042bd60
add edi, 0x18
push edi
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0042bd60
add eax, 0x14
push eax
mov ecx, esi
call fcn.0042bd60
lea edx, [ebx + ebx*4]
add edx, edx
add edx, edx
sub eax, edx
sub eax, dword [esp + 0x28]
lea ecx, [ebp + ebp*4]
add ecx, ecx
add ecx, ecx
sub ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
mov edi, ecx
call fcn.00429de0
add eax, 0x10
add esp, 4
mov ecx, edi
mov edx, esi
mov dword [ebx], eax
call fcn.004062f0
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4290d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00431148

Function at 0x42a0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42a0e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42a124
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x42a120
lea ebx, [ebx]
cmp esi, eax
jae 0x42a124
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x42a110
cmp esi, eax
jb 0x42a12a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x42aea0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42af2e
lea ecx, [esp + 4]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x42aee5
push str.LookupPrivilege_error__n
call fcn.0044d8bd
add esp, 4
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
push 0x10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x42af37
push str.AdjustTokenPrivileges_error__n
call fcn.0044d8bd
add esp, 4
mov eax, 1
add esp, 0x1c
ret
xor eax, eax
add esp, 0x1c
ret
Function at 0x42c7e0
Capabilities:
Check for foreground window switch

Disassembly:
sub esp, 0x420
mov eax, dword [0x47a770]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
push 0x480af0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
cmp esi, eax
je 0x42c837
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ecx]
push 0x96
call ebx
push esi
call ebp
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call edi
cmp esi, eax
jne 0x42c820
push 0x400
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0044eac0
mov eax, 0x46db94
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c853
push 0x200
lea ecx, [esp + 0x30]
push ecx
sub eax, edx
push eax
push 0x46db94
push 2
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ax, word [esp + 0x2c]
xor esi, esi
test ax, ax
je 0x42c8ef
mov ebx, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov edi, dword [sym.imp.USER32.dll_SendInput]
movzx eax, ax
lea ebp, [esi + 6]
jmp 0x42c8a0
xor edx, edx
mov dword [esp + 0x10], 1
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0x3e8
call ebx
mov dword [esp + 0x20], eax
push 0x1c
lea eax, [esp + 0x14]
push eax
push 1
call edi
push 0x1c
lea ecx, [esp + 0x14]
push ecx
push 1
mov dword [esp + 0x24], ebp
call edi
movzx eax, word [esp + esi*2 + 0x2e]
inc esi
test ax, ax
jne 0x42c8a0
push 0x480af0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044b460
add esp, 0x420
ret
Function at 0x42c920
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push 0xffffffffffffffff
push 0x464268
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.0042eec8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c961
push 0x80004005
call fcn.004020f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42c9a2
push eax
push eax
push 0x46ee08
call fcn.004328e1
jmp 0x42ca4e
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
push 0x1000
push 0x80
mov esi, eax
push 0
push esi
call ebx
push 0x40
push 0x1000
push 0x64
push 0
push esi
mov edi, eax
call ebx
mov ecx, dword [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0x80
push ecx
push edi
push esi
call ebp
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
push 0x64
push eax
push ebx
push esi
call ebp
lea ecx, [esp + 0x14]
push ecx
push 0
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebp, eax
push 0xffffffffffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0x80
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call edi
push 0x8000
push 0x64
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call edi
push esi
call edi
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ca76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x42ccd0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x1018
call fcn.0044f1c0
mov eax, dword [0x47a770]
xor eax, esp
mov dword [esp + 0x1014], eax
mov eax, dword [esp + 0x101c]
push ebx
push ebp
mov ebp, dword [esp + 0x1028]
mov dword [esp + 0x18], eax
push esi
mov eax, ebp
push edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42cd03
sub eax, ecx
shr eax, 1
mov edi, eax
push edi
call fcn.0042e10b
add esp, 4
xor esi, esi
mov ebx, eax
test edi, edi
jle 0x42cd4f
mov cl, byte [ebp + esi*2]
mov dl, byte [ebp + esi*2 + 1]
push 0x10
lea eax, [esp + 0x14]
push 0
push eax
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0
call fcn.0044becb
mov byte [esi + ebx], al
inc esi
add esp, 0xc
cmp esi, edi
jl 0x42cd21
xor ebp, ebp
mov eax, 0x19007000
sub eax, edi
mov esi, 0x11000000
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], eax
cmp eax, esi
jb 0x42cdea
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42cd90
push 0
push 0x1000
lea ecx, [esp + 0x2c]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x42cda3
push 0x1000
lea edx, [esp + 0x28]
push esi
push edx
call fcn.004516b0
add esp, 0xc
xor edx, edx
xor eax, eax
test edi, edi
jle 0x42cdcd
jmp 0x42cdb0
mov cl, byte [eax + ebx]
cmp cl, 0xcc
je 0x42cdc8
lea ebp, [eax + edx]
cmp cl, byte [esp + ebp + 0x24]
jne 0x42cdcd
lea ecx, [edi - 1]
cmp eax, ecx
je 0x42ce3c
inc eax
cmp eax, edi
jl 0x42cdb0
inc edx
cmp edx, 0x1000
jb 0x42cda5
inc dword [esp + 0x14]
add esi, 0x1000
cmp esi, dword [esp + 0x10]
jbe 0x42cd71
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x1034]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, 0x11000
shl ecx, 0xc
add ecx, eax
add ecx, ebp
pop edi
pop esi
lea ecx, [ecx + edx + 5]
mov edx, dword [esp + 0x1030]
pop ebp
pop ebx
cmp edx, 1
je 0x42ce25
mov eax, dword [esp + 8]
cmp edx, 2
je 0x42ce25
mov eax, ecx
mov ecx, dword [esp + 0x1014]
xor ecx, esp
call fcn.0044b460
add esp, 0x1018
ret 0x10
lea ebp, [eax + edx]
mov edx, dword [esp + 0x1034]
lea eax, [esp + ebp + 0x25]
movzx ecx, byte [eax + edx]
mov byte [esp + 0x10], cl
lea eax, [esp + ebp + 0x26]
movzx ecx, byte [eax + edx]
lea eax, [esp + ebp + 0x27]
mov byte [esp + 0x11], cl
movzx ecx, byte [eax + edx]
lea eax, [esp + ebp + 0x28]
mov byte [esp + 0x12], cl
movzx ecx, byte [eax + edx]
add esi, ebp
add esi, edx
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], esi
jmp 0x42cdf1
Function at 0x42d250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42d2a7
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 8]
mov eax, dword [eax - 0xc]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 8]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x42d286
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d2c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
ret

Function at 0x42fc10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42fc58
call fcn.0043a4ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42fc58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42fc9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42fc84
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42fc84
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42fc98
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x432ab3
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 8

Function at 0x438f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x438fb7
call fcn.0043a4ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x438fb7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x438fd3
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00438aea
mov esi, eax
test edi, edi
je 0x438fd1
test ebx, ebx
je 0x438fd1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43974a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46336b
call fcn.0044e4f2
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43976f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4397b5
lea ecx, [ebp - 0x10]
call fcn.00402160
mov ecx, dword [esi + 0x50]
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.0042f226
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402140
mov eax, esi
call fcn.0044e5ca
ret 8