joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427428
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004275b4
lea edi, [esi + 0x474]
push ebx
mov ecx, esi
call fcn.004275e4
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0x200
jb 0x42744b
and dword [ebp - 4], 0
lea ebx, [esi + 0x74]
mov edi, 0x100
mov eax, dword [ebp - 4]
mov ecx, esi
add eax, 0x1000
push eax
call fcn.004275e4
inc dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
cmp dword [ebp - 4], edi
jb 0x42746d
and dword [ebp - 4], 0
lea ebx, [esi + 0xc74]
mov eax, dword [ebp - 4]
mov ecx, esi
add eax, 0x2000
push eax
call fcn.004275e4
inc dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
cmp dword [ebp - 4], 0x10
jb 0x427494
mov ecx, esi
call fcn.00426fde
and dword [esi + 0x1db4], 0
xor eax, eax
or cl, 0xff
sub cl, al
mov byte [ebp + eax - 0x110], cl
inc eax
cmp eax, edi
jb 0x4274c2
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0x14
jge 0x42753d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0x14
mov dword [ebp - 0x10], eax
jge 0x427534
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ebx, edi
movzx eax, byte [eax + ecx]
movzx edx, byte [ecx + edx - 1]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx - 1]
xor eax, edx
cdq
idiv ebx
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
mov byte [ebp + eax - 0x210], dl
jge 0x427546
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x14
jl 0x4274f9
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x15
jl 0x4274eb
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x4274de
xor eax, eax
mov dword [ebp + 8], eax
movzx ecx, byte [ebp + eax - 0x210]
cmp eax, ecx
je 0x427570
lea ecx, [ebp + ecx - 0x110]
lea eax, [ebp + eax - 0x110]
mov bl, byte [ecx]
mov dl, byte [eax]
mov byte [eax], bl
mov eax, dword [ebp + 8]
mov byte [ecx], dl
inc eax
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x42754b
cmp byte [ebp + 0xc], 0
je 0x427597
lea eax, [ebp - 0x110]
push edi
add esi, 0x1cb4
push eax
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x4275ad
xor eax, eax
movzx ecx, byte [ebp + eax - 0x110]
mov byte [ecx + esi + 0x1cb4], al
inc eax
cmp eax, edi
jb 0x427599
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4276f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 8]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
jne 0x427739
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x427735
push eax
lea eax, [ebp - 8]
push str.ERROR:__d_CRLEvent::IsEventExist__
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
xor al, al
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
leave
ret
Function at 0x42779e
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
push dword [esp + 0xc]
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi], eax
je 0x4277d1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4277cf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
mov eax, dword [esi]
pop esi
ret 8

Function at 0x4277d5
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x42781a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x427816
push eax
lea eax, [ebp - 8]
push str.ERROR:__d_RLMutexWin::IsExist__
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
xor al, al
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
leave
ret

Function at 0x427913
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ecx]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fread]
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
je 0x42795e
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push esi
push str.RLFile::Read____d__d_error_d
push eax
call fcn.0042783a
add esp, 0x14
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x427963
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ecx]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fwrite]
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
je 0x4279ae
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push esi
push str.RLFile::Write____d__d_error_d
push eax
call fcn.0042783a
add esp, 0x14
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x427b69
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x427ba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.RLFileWin::GetSize___error_d
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x427ba6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0
push eax
push esi
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427bcb
cmp dword [ebp + 0xc], esi
je 0x427bf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.RLFileWin::Read___error_d
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x427bf6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0
push eax
push esi
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x427c1b
cmp dword [ebp + 0xc], esi
je 0x427c41
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.RLFileWin::Write___error_d
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x427e50
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x480214
call fcn.0047bf90
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi]
cmp eax, ebx
jne 0x427ee5
cmp byte [0x4aed18], bl
je 0x427e7e
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
jmp 0x427edf
cmp word [0x4aed1a], bx
jne 0x427e8e
push ebx
push ebx
push ebx
push 1
jmp 0x427e73
lea ecx, [ebp - 0x10]
call fcn.0042a6b5
movzx eax, word [0x4aed1a]
push eax
mov ecx, 0x4aed14
mov dword [ebp - 4], ebx
call fcn.0042b153
push eax
lea eax, [ebp - 0x10]
push str._s:_d
push eax
call fcn.0042bbbf
add esp, 0x10
lea ecx, [ebp - 0x10]
push ebx
push ebx
call fcn.0042b153
push eax
push 3
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.0042a9b6
mov eax, dword [esi]
cmp eax, ebx
je 0x427f09
cmp dword [esi + 4], ebx
jne 0x427f9f
push 1
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x427f17
mov ecx, esi
call fcn.00427db7
xor al, al
jmp 0x427fa1
cmp byte [0x4aed18], bl
push edi
jne 0x427f29
cmp word [0x4aed1a], bx
je 0x427f7b
mov edi, 0x4aed0c
mov ecx, edi
call fcn.0042b143
test eax, eax
jne 0x427f7b
mov ecx, edi
call fcn.0042b131
push eax
mov ecx, edi
call fcn.0042b153
push eax
push 0x2b
mov ecx, esi
call fcn.00427e17
mov edi, 0x4aed08
mov ecx, edi
call fcn.0042b143
test eax, eax
jne 0x427f7b
mov ecx, edi
call fcn.0042b131
push eax
mov ecx, edi
call fcn.0042b153
push eax
push 0x2c
mov ecx, esi
call fcn.00427e17
mov edi, 0xea60
mov ecx, esi
push edi
push 2
call fcn.00427ddf
push edi
push 6
mov ecx, esi
call fcn.00427ddf
push edi
push 5
mov ecx, esi
call fcn.00427ddf
pop edi
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x427fe4
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
lea eax, [ebp - 0x128]
push edi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x28]
push eax
mov esi, ecx
push dword [ebp + 0xc]
call fcn.0042832c
add esp, 0x14
mov ecx, esi
call fcn.00427fb1
mov edi, 0x4aea90
push str.RLHttp::SendRequest__3
push edi
call fcn.004287f7
pop ecx
lea eax, [ebp - 0xa8]
pop ecx
push dword [ebp - 4]
mov ecx, esi
push eax
call fcn.00427e50
test al, al
je 0x428137
lea eax, [ebp - 0x28]
xor ebx, ebx
push 0x49b1a0
push eax
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], 0x4080100
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x42806c
mov dword [ebp + 0xc], 0x4881100
mov ecx, 0x4aed0c
call fcn.0042b143
test eax, eax
jne 0x42807e
or byte [ebp + 0xe], 0x40
push str.RLHttp::SendRequest__5
push edi
call fcn.004287f7
pop ecx
lea eax, [ebp - 8]
pop ecx
push ebx
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x128]
push dword [esi + 0x14]
push ebx
push eax
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x4280ba
mov ecx, esi
call fcn.00427db7
jmp 0x428137
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x4280c9
and dword [ebp + 8], ebx
and dword [ebp + 0xc], ebx
jmp 0x4280d9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.0042b131
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
push eax
push dword [esi + 8]
push str.RLHttp::SendRequest__8__X__X__X__X
push edi
call fcn.004287f7
add esp, 0x18
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.0042b153
push eax
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42813b
mov ecx, esi
call fcn.00427db7
push str.RLHttp::SendRequest__8_ERROR
push edi
call fcn.004287f7
pop ecx
pop ecx
mov ecx, esi
call fcn.00427fcd
xor al, al
jmp 0x42814a
push str.RLHttp::SendRequest__9
push edi
call fcn.004287f7
pop ecx
mov al, 1
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x428151
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov edi, str.S:Ammyy_sourcesRLRLHttp.cpp
cmp dword [esi + 8], 0
jne 0x42817b
push 0xde
push edi
lea ecx, [ebp - 0x14]
call fcn.00425726
mov ecx, eax
call fcn.00425832
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
and dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0x20000005
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x4281bd
push 0xe4
push edi
lea ecx, [ebp - 0x14]
call fcn.00425726
mov ecx, eax
call fcn.00425832
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4288ca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4288f7
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x428900
xor al, al
jmp 0x4288f3
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x428920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [ebp - 4]
mov eax, 0x104
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 4], eax
call fcn.0042aea3
push eax
push 0
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop esi
jne 0x428964
push dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0042af79
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x42897a
mov ecx, dword [ebp + 0xc]
push 0x4ae3c0
call fcn.0042ab80
xor al, al
jmp 0x428960
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x42899a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4289c4
xor al, al
leave
ret 4
test eax, eax
jne 0x4289cc
mov al, 1
jmp 0x4289c0
push eax
lea eax, [ebp - 0xc]
push str.IsExistW___error_u
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x4289ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push esi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], esi
push dword [ebx]
call edi
cmp eax, 2
jne 0x428a1e
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
cmp eax, esi
jne 0x428a7f
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
add ecx, dword [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x18]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x428a7f
cmp dword [ebp - 4], 0xf4240
jb 0x428a6d
push 0x78
push str.S:Ammyy_sourcesRLRLRegistry.cpp
lea ecx, [ebp - 0xc]
call fcn.00425726
mov ecx, eax
call fcn.00425832
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
add ecx, dword [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x428a17
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExW___error_u
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x428a9f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push 3
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x428ae7
push eax
lea eax, [ebp - 8]
push str.RegSetValueExW_REG_BINARY__error_u
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x428aeb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042b131
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0042b153
push eax
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
je 0x428b39
push eax
lea eax, [ebp - 8]
push str.RegSetValueExA___error_u
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x428b3d
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x428b77
cmp eax, 2
je 0x428b77
push eax
lea eax, [ebp - 8]
push str.RegDeleteKeyA___error_u
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x428bac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x428bf4
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.FindResourceEx___error_d_lpName0x_X
push eax
call fcn.0042783a
add esp, 0x10
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x428c2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.SizeofResource___error_d
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x428c5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.LoadResource___error_d
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x428c8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.LockResource___error_d
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x42a16f
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x48033b
call fcn.0047bf90
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
call fcn.0042a6b5
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xe
push dword [edi + 4]
mov dword [ebp - 4], 1
call esi
mov ebx, eax
test ebx, ebx
jbe 0x42a1c5
inc ebx
lea ecx, [ebp - 0x10]
push ebx
call fcn.0042aea3
push eax
push ebx
push 0xd
push dword [edi + 4]
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0042af79
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042a6c1
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042a9b6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42a1f8
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x480367
call fcn.0047bf90
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.0042bc6f
push edi
push edi
xor ebx, ebx
push 0xe
push dword [esi + 4]
inc ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jbe 0x42a24f
inc edi
lea ecx, [ebp - 0x10]
push edi
call fcn.0042c46b
push eax
push edi
push 0xd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042c541
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042bc7b
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042bf6c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42d0d4
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x48058c
call fcn.0047bf90
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.0042a2dc
lea ecx, [esi + 0x28]
mov dword [ebp - 4], ebx
call fcn.0042a6b5
push 0xf
mov dword [esi], 0x48a658
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x64
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], 0xff000000
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x10], 0x24
mov byte [esi + 0x14], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42de64
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042e15b
mov ecx, esi
call fcn.0042e7f5
mov ecx, dword [esi + 0x790]
mov edi, dword [esi + 0x78c]
mov eax, ecx
xor ebx, ebx
imul eax, eax, 0x190
cdq
idiv edi
push ebx
mov byte [esi + 0x88c], bl
mov dword [esi + 0x218], eax
mov eax, ecx
imul eax, eax, 0xc8
cdq
idiv edi
mov ecx, esi
mov dword [esi + 0x21c], eax
call fcn.0042f89c
push ebx
push 1
mov ecx, esi
call fcn.00434901
push 0x4a4714
mov ecx, esi
call fcn.0042de10
push ebx
push 0x4ae3c0
mov ecx, esi
call fcn.00433625
push ebx
push ebx
push esi
push 0x432945
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xa38], eax
cmp eax, ebx
pop edi
pop esi
pop ebx
jne 0x42df22
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 8]
push str.Failed__beginthreadex____errno___d_
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x42e033
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x48083c
call fcn.0047bf90
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x4aed48
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call fcn.00428472
cmp byte [ebp + 8], bl
mov byte [ebp - 4], 1
je 0x42e0f7
cmp dword [0x4aed94], ebx
jne 0x42e0ef
cmp dword [0x4aed90], ebx
je 0x42e098
lea eax, [ebp - 0x24]
push str.ERROR1_in_HookKeyboard__
push eax
call fcn.0042783a
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push 0x100
lea eax, [esi + 0xb06]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
push 0x400000
push 0x42df24
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp eax, ebx
mov dword [0x4aed94], eax
jne 0x42e0ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.Error_d_while_SetWindowsHookEx__
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
mov dword [0x4aed90], esi
jmp 0x42e11b
mov eax, dword [0x4aed94]
cmp eax, ebx
je 0x42e11b
cmp dword [0x4aed90], esi
jne 0x42e11b
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4aed94], ebx
mov dword [0x4aed90], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00428486
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4