joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49efb0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x49efe3
push esi
call fcn.004a20a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x49efdc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x49f069
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49f052
mov eax, dword [esi + 8]
test eax, eax
je 0x49f007
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x49f04e
cmp eax, 2
je 0x49f052
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49effa
cmp eax, 3
je 0x49f02d
cmp eax, 1
jne 0x49effa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x49effa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x49effa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0049f090
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x49f078
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0049f090
add esp, 4
pop esi
ret

Function at 0x4aeb40
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa18cd8
push 0x4ecff4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004eb480
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aecf0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x4aed31
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x4aed9e
cmp dword [esp + 0x1c], 2
jne 0x4aed9e
cmp dword [esp + 0x10], 5
jne 0x4aed9e
cmp dword [esp + 0x14], 1
jne 0x4aed9e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4aed88
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4aed79
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x4aed81
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x4aed9e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x4af9c0
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 0x4afa63
test eax, eax
jbe 0x4afa63
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4afa63
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 0x4afa0e
xor esi, esi
jmp 0x4afa14
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4afa3f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045b060
add esi, eax
push esi
mov ebx, esi
call fcn.0045b060
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4afa20
pop ebp
test edi, edi
pop edi
jne 0x4afa63
test ebx, ebx
je 0x4afa63
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004ebed0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4afbc5
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 0x4afcdd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4afcdd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0050ffb3
mov esi, eax
test esi, esi
je 0x4afcdd
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 0x4afcdd
mov ecx, esi
call fcn.004afb50
cmp edi, eax
jge 0x4afcdd
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 0x4afc63
mov dword [esp + 0x34], 1
jmp 0x4afcbe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4afcdd
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.004af100
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 0x4b7ef0
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 0x4b7f3c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4b7f3c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4b7f26
push eax
call ebp
test ax, ax
jl 0x4b7f34
inc esi
add edi, 4
cmp esi, 6
jb 0x4b7f18
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004b7bf0
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
sub esp, 0x9c
push esi
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x44c]
test eax, eax
je 0x4ba16b
mov eax, dword [esp + 0xa4]
cmp eax, 1
jge 0x4b9b4c
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
cmp ecx, 1
mov dword [esp + 0xc], 1
jl 0x4b9b68
mov dword [esp + 0xc], ecx
fild dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x444]
imul ebx, eax
fidiv dword [esp + 0x18]
push ebp
push edi
test bl, 3
mov dword [esp + 0x3c], ebx
fild dword [esi + 0x1c]
fidiv dword [esp + 0x18]
fstp dword [esp + 0x28]
je 0x4b9b99
inc ebx
test bl, 3
jne 0x4b9b8f
mov dword [esp + 0x3c], ebx
fmul dword [0xa19884]
call fcn.004ead28
fld dword [esp + 0x28]
fmul dword [0xa19884]
mov dword [esp + 0x50], eax
call fcn.004ead28
mov edi, ebx
mov dword [esp + 0x58], eax
imul edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x68], edi
call fcn.004ec0b7
mov ebp, eax
mov eax, dword [esi + 0x44c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
xor edx, edx
add esp, 4
cmp eax, edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], edx
jle 0x4ba139

Function at 0x4ba660
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4ba6c0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4ba6c0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4ba6c0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4ba6c0
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 0x4ba6d0
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 0x4bb0b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4bb116
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4bb116
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4bb0f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4bb4a0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4bb4d8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4bc100
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4bc149
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4bc5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x520720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004bc170
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004bc1f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004bc1f0
lea ecx, [esi + 0xc]
call fcn.0050e488
lea ecx, [esi + 0x10]
call fcn.0050e488
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004bd780
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004bd780
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004bd780
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0050e4fd
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0050e4fd
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c6890
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004ccca0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4c6989
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.00464d20
test eax, eax
jne 0x4c6989
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.00464d20
test eax, eax
jne 0x4c6989
lea edx, [esp + 0x10]
push 0xa4435c
push edx
call fcn.004ec6a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c695a
lea eax, [esp + 0x10]
push 0xa44358
push eax
call fcn.004ec6a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c695a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4c695d
mov byte [esi], 0
push 0xa43b20
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4ccbe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x521538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4ccc90
mov eax, dword [0xa46ce4]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0050e92d
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0050e97c
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0050e8d9
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4ccc77
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4ccc77
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0050e4fd
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4cfd90
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5219c0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4cff37
mov ecx, dword [0xa46ce4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4cfe8c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004ceab0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0050e636
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0050e4fd
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xa43b20
call fcn.0050e56b
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004cee70
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0050e636
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0050e4fd
lea ecx, [esp + 0xc]
call fcn.0050ea11
mov ecx, dword [esp + 0xc]
push 0xa4455c
push ecx
call fcn.004eb4b4
add esp, 8
test eax, eax
je 0x4cfeb4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4cfded
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0050e4fd
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0050e4fd
jmp 0x4cff3b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004cfb30
test eax, eax
push 0
je 0x4cff1f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004ce1d0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4cff05
cmp eax, 0x64
jg 0x4cfef3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4cfe90
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4cfe90
cmp eax, 0x64
jge 0x4cfe8c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4cfe90
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004ce1d0
mov esi, eax
jmp 0x4cfe90
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4cff45
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4dbec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x521c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004dc1d0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0xaab9ac
call fcn.004ed0e8
mov ecx, dword [0xa1a980]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004d77c0
mov esi, 0xa1a9bc
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4dbf67
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4dbf5e
cmp al, 0xff
je 0x4dbf5e
dec al
mov byte [ecx], al
jmp 0x4dbf67
push ecx
call fcn.0050e267
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00509e20
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4dbfad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4dbfa4
cmp al, 0xff
je 0x4dbfa4
dec al
mov byte [ecx], al
jmp 0x4dbfad
push ecx
call fcn.0050e267
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004ed16f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x504470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5232c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004f946a
mov eax, dword [0xa1f998]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004f939c
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00504f60
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x504517
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50450e
cmp al, 0xff
je 0x50450e
dec al
mov byte [ecx], al
jmp 0x504517
push ecx
call fcn.0050e267
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x504548
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50453f
cmp al, 0xff
je 0x50453f
dec al
mov byte [ecx], al
jmp 0x504548
push ecx
call fcn.0050e267
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x510957
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51098f
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.0050e9a4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0050e97c
jmp 0x51099b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x512049
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 0x51208b
call fcn.005184ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51208b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x512082
xor eax, eax
jmp 0x512093
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00512099
pop edi
pop esi
pop ebx
ret 4

Function at 0x5189db
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x518a09
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x518a27
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00518941
jmp 0x518a27
mov eax, dword [esi + 0x14]
test eax, eax
je 0x518a27
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00518941
test edi, edi
mov eax, edi
jne 0x518a11
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403b34
Capabilities:
Encode data using xor

Disassembly:
mov dword cs:[0xda12749b], eax
fld qword [esi + 0x5e]
ljmp 0x5bab
or ch, bh
cmp byte [ebx + 0x16125a35], dl
out dx, eax
push eax
add ebx, edi
or eax, 0xda405c30
invalid
xchg edi, eax
frndint
inc edi
fld qword [edx - 0x7e779d04]
and dword [ecx], 0xe2d73958
movsb byte es:[edi], byte [esi]
and dword [ecx], 0xe2d73958
movsb byte es:[edi], byte [esi]
sahf
sbb eax, 0x58c7eebe
out 0x6a, eax
xchg byte [ecx + 0x6b9a2371], bl
arpl word [edx + 0x2b], ax
xor dword [ecx], ebp
mov bh, 0x38
sbb ch, ah
xchg ebx, eax
mov dword [ecx], ebp
jecxz 0x403b2b
pushal
loopne 0x403aff
shr dword [ebp - 0x47], 1
mov al, byte [0xfdba5893]
stosd dword es:[edi], eax
dec ebx
cld
and eax, 0xbe4fe1be
sub byte [ebx + 9], 0x29
mov ch, 0x89
dec ecx
jmp 0x403bf0
pushfd
and al, 0xd4
mov ebx, 0xc7bd8647
retf 0xeed1
ja 0x403b91
inc ecx
mov ch, 0xe3
test dword [ebp - 0x62], esp
arpl word [esi], bx
ja 0x403c3a
rdpmc
sub byte [edx - 0x6da04ee0], ch
movsb byte es:[edi], byte [esi]
aas
and cl, byte [esi - 0x7b505da0]
hlt
outsb dx, byte [esi]
cmovg esi, dword [edx]
mov ebx, 0xd13fb8e8
mov ch, 0xf5
mov byte [0x8deca7a3], al
add eax, 0x941c1b63
and ebp, dword [ecx]
sub esp, ebp
mov esp, 0x14366b59
inc edx
dec esi
popal
and ebx, dword [edi - 0x4af21d33]
out 0x4f, al
jo 0x403ca3
or eax, 0x4cc3a1f6
push eax
adc edx, edx
stosd dword es:[edi], eax
xor word [ebx], 0xea27
in al, dx
inc esi
lahf
and byte [esi - 8], bl
cmp dh, 0xc4
xchg ebp, eax
wait
fsubr st(4)
retf
pop ds
invalid
popfd
fdivr st(3)
cmp al, 0x1a
and dword [esi + 0x741797f2], esp
jle 0x403d14
in eax, 7
adc dword [edx + 0x3452e1e9], eax
or eax, esi
xor byte [esi + 0x7f], 0x5c
outsd dx, dword [esi]
insd dword es:[edi], dx
dec edx
jo 0x403c9a
pop esp
jge 0x403c7f
rcl byte [edi + 0x6b], cl
int1
invalid
cmp eax, 0xd8820b72
outsb dx, byte [esi]
mov dword [0x28e6dc58], eax
iretd

Function at 0x4a7854
Capabilities:
Encode data using xor

Disassembly:
push ss
xchg ebp, eax
out 0x3b, eax
ret 0xf211
invalid
fucomi st(0)
push esi
mov edx, 0x5e88e711
xchg edi, eax
sbb ebx, dword [edx - 0x3b4d2aa6]
add byte [ecx], dl
or dl, byte [edi - 0x2d]
idiv dword [esi + edx - 0x35]
mov ebx, dword [edx]
xchg ebx, eax
xchg ch, cl
xor ch, byte [eax + 0x450bbea8]
pop edi
test eax, 0xe369a50
push ebx
dec ebx
push edi
pop ds
sbb byte cs:[ebx - 0xb17e7a7], dl
xchg ecx, eax
sub byte [edi - 0x30], dh
idiv byte [edi + ebp*8]
or dword [esp + ecx + 0x7f], esp
js 0x4a77fc
movsd dword es:[edi], dword [esi]
maxps xmm5, xmmword [esi]
mov esi, 0xdd1aa9c6
pop esi
invalid
push edi
jg 0x4a77ea
xchg edx, eax
inc ebp
cmpsb byte [esi], byte es:[edi]
fcomi st(6)
cmc
test eax, 0x3229b387
push cs
adc al, 0x2c
jo 0x4a7801
xchg dword [ebp - 0x66], edx
invalid