joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43df9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43dfe8
mov eax, esi
call fcn.00453b98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43dfe8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43dfe8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43e127
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43e028
cmp eax, 0x108
ja 0x43e028
mov eax, esi
call fcn.00453b98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e11e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43e127
jmp 0x43e11e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43e107
cmp eax, 0x20a
ja 0x43e107
test byte [esi + 0x50], 0x80
jne 0x43e05a
sub eax, 0x203
je 0x43e057
sub eax, 3
je 0x43e057
sub eax, 3
jne 0x43e05a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43e06e
dec eax
je 0x43e083
dec eax
je 0x43e0a0
dec eax
je 0x43e083
jmp 0x43e0a7
mov ecx, ebx
mov eax, dword [0x4b113c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045d52c
jmp 0x43e11e
cmp byte [esi + 0x5d], 1
jne 0x43e099
mov eax, esi
mov si, 0xffed
call fcn.00403820
jmp 0x43e127
or word [esi + 0x54], 1
jmp 0x43e11e
and word [esi + 0x54], 0xfffe
jmp 0x43e11e
mov eax, dword [0x4b2b48]
cmp byte [eax + 0x20], 0
je 0x43e11e
mov eax, dword [0x4b2b48]
cmp dword [eax + 0x1c], 0
je 0x43e11e
mov eax, dword [ebx]
mov edx, dword [0x4b2b48]
cmp eax, dword [edx + 0x1c]
jne 0x43e11e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00453adc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403820
jmp 0x43e127
cmp eax, 0xb00b
jne 0x43e11e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043c8ac
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441694
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4416b0
cmp dword [esi + 4], 0
je 0x4416dd
test byte [ebx + 0x55], 1
jne 0x4416cf
mov eax, ebx
call fcn.00440234
test eax, eax
jne 0x4416cf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4417ed
mov edx, esi
mov eax, ebx
call fcn.004411b8
jmp 0x4417ed
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4417e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00443504
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043ded0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00441694
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00443504
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4417ed
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447ee0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b1444]
cmp byte [eax + 0xc], 0
je 0x44804d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448046
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b2b9c], 0
jne 0x447f34
push 0x448054
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44805c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2b9c], eax
cmp dword [0x4aec88], 0
jne 0x44802f
push 0x44806c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4aec88], eax
cmp dword [0x4aec88], 0
je 0x44802f
push 0x448078
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2ba0], eax
push 0x448088
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2ba4], eax
push 0x44809c
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2ba8], eax
push 0x4480b4
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bac], eax
push 0x4480cc
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bb0], eax
push 0x4480e0
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bb4], eax
push 0x4480f8
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bb8], eax
push 0x448110
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bbc], eax
push 0x44812c
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bc0], eax
push 0x448138
mov eax, dword [0x4aec88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b2bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44804d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c1d0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404444
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c21f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004046c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453a4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453a9c]
test si, 4
je 0x453a60
or bl, 1
test si, 8
je 0x453a6a
or bl, 4
test si, 1
je 0x453a74
or bl, 8
test si, 2
je 0x453a7e
or bl, 0x10
test si, 0x10
je 0x453a88
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453a97
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453ad8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453ab9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453ac8
or bl, 4
test esi, 0x20000000
je 0x453ad3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a19c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a1ae
add esp, 0xfffffff0
call fcn.00403950
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d1b8
mov eax, dword [0x4b0db8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a540
mov eax, dword [0x4b0dcc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a54c
mov eax, ebx
call fcn.0045a558
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41379c]
call fcn.004035e8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41379c]
call fcn.004035e8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41379c]
call fcn.004035e8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41379c]
call fcn.004035e8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41379c]
call fcn.004035e8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x456970
push eax
push 0
push 0
mov eax, dword [0x4b1030]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ec2c]
call fcn.004203c4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ec2c]
call fcn.004203c4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ec2c]
call fcn.004203c4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045aa5c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a2eb
call fcn.004039a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a6c0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a86b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45a84c
mov dl, 1
mov eax, dword [0x413fac]
call fcn.004035e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404444
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45a83b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00448240
test al, al
je 0x45a82e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45a87c
lea eax, [ebp - 0x254]
call fcn.004097d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a82e
xor eax, eax
push ebp
push 0x45a827
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45a8b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a810
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046c4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45a810
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a82e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a731
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418d70
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a872
lea eax, [ebp - 0x260]
call fcn.00404444
ret

Function at 0x45b1fc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4b2be8]
cmp byte [eax + 0xa5], 0
jne 0x45b26d
cmp dword [0x4b2c00], 0
jne 0x45b22e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b1b8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b2c00], eax
cmp dword [0x4b2bfc], 0
jne 0x45b249
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b2bfc], eax
cmp dword [0x4b2c04], 0
jne 0x45b26d
push esp
push 0
push 0
push 0x45b15c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b2c04], eax
pop edx
ret
Function at 0x45b900
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b2be8]
cmp dword [eax + 0x30], 0
je 0x45b9aa
cmp dword [ebx + 0x94], 0
jne 0x45b9a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b890
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b9a4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45b96a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b9a4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00416084
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b979
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c508
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45c53d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404534
jmp 0x45c54a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404498
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d674
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d6b5
mov eax, esi
call fcn.00443808
test al, al
je 0x45d6b5
mov eax, dword [ebx + 0x84]
call fcn.00443504
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d6b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443504
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4758f0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x47591c
cmp dword [esp + 4], 5
jne 0x475918
cmp dword [esp + 8], 1
jae 0x47591c
xor eax, eax
jmp 0x47591e
mov al, 1
mov byte [0x4b3010], al
add esp, 0x94
ret
Function at 0x485254
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov eax, ebx
mov edx, 0xff
call fcn.00404da8
mov eax, dword [ebx]
call fcn.00404ccc
add eax, eax
push eax
mov eax, dword [ebx]
call fcn.00404cbc
push eax
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x485292
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404da8
jmp 0x485299
mov eax, ebx
call fcn.00404b60
pop edi
pop esi
pop ebx
ret

Function at 0x4870c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4870c6
ret

Function at 0x48759c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, eax
movzx eax, word [ebx]
movzx esi, word [ebx + 2]
sub esi, eax
jl 0x4875f8
inc esi
mov dword [ebp - 4], eax
movzx eax, word [ebx + 4]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld xword [0x487600]
fdivp st(1)
fmul qword [0x4b05c4]
call fcn.00402d94
push eax
mov ax, word [ebx + 8]
and ax, 1
xor al, 1
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
inc dword [ebp - 4]
dec esi
jne 0x4875b6
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x490b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x58]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x490c4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [esi]
mov eax, dword [ebp - 0x10]
call fcn.004a6244
mov ax, word [esi + 0x15]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004a617c
call fcn.0049e9b4
mov cx, word [esi + 0x17]
mov dl, byte [esi + 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.004a617c
mov dl, byte [esi + 0x13]
call fcn.0049e96c
mov eax, dword [ebp - 0x10]
call fcn.004a617c
xor edx, edx
mov dl, byte [esi + 0xe]
mov word [eax + 0x3c], dx
mov eax, dword [ebp - 0x10]
call fcn.004a617c
mov dl, byte [esi + 0xf]
mov byte [eax + 0x3e], dl
mov eax, dword [ebp - 0x10]
call fcn.004a617c
mov dl, byte [esi + 0x10]
mov byte [eax + 0x3f], dl
mov eax, dword [ebp - 0x10]
call fcn.004a617c
mov dl, byte [esi + 0x11]
mov byte [eax + 0x40], dl
mov al, byte [esi + 0xb]
push eax
mov al, byte [esi + 0xc]
push eax
mov ax, word [esi + 9]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004a617c
call fcn.0049e9d8
movsx ecx, byte [esi + 0xd]
mov edx, dword [esi + 5]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov byte [ebp - 0x11], 0
lea ebx, [esi + 0x19]
mov edi, ebx
mov eax, dword [ebp - 0x10]
call fcn.004a617c
call fcn.0049e990
mov dl, byte [ebp - 0x11]
call fcn.0049e520
mov cx, word [edi + 1]
mov dl, byte [edi]
mov edi, dword [eax]
call dword [edi + 0x14]
inc byte [ebp - 0x11]
add ebx, 3
cmp byte [ebp - 0x11], 4
jne 0x490be7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490c56
mov eax, dword [ebp - 0x10]
call fcn.00403618
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004064e4
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
ret
Function at 0x498a54
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4939b0]
call fcn.00404e10
xor eax, eax
push ebp
push 0x498b3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
xor eax, eax
push ebp
push 0x498b10
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov al, byte [ebx + 1]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
lea ecx, [ebp - 0x10]
lea eax, [ebx + 2]
mov dx, word [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00497078
mov edx, eax
mov cl, 3
mov eax, dword [ebp - 4]
call fcn.004961b4
test al, al
je 0x498afb
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 4]
call dword [ebp - 0xa]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
jne 0x498afb
lea edx, [ebp - 0x14]
mov eax, dword [0x4b107c]
call fcn.004061b0
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x4938a8]
call fcn.0040c7cc
call fcn.00403db8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498b17
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
ret

Function at 0x499808
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov edi, eax
mov ebp, 2
mov ebx, esp
lea esi, [esp + 0x10]
lea edx, [esp + 0xa]
mov eax, dword [edi + 0x4c]
call fcn.00495cb4
push esi
mov ecx, ebx
mov edx, dword [esp + 0x10]
mov eax, edi
call fcn.0049a27c
mov eax, dword [esp + 0xc]
call fcn.00402ac4
add esi, 0x10
add ebx, 2
dec ebp
jne 0x49981c
mov eax, edi
call fcn.00498d3c
test al, al
jne 0x4998e7
mov ax, word [esp]
cmp ax, word [esp + 2]
jne 0x4998e7
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [0x483f44]
call fcn.0048517c
test al, al
je 0x4998e7
lea ecx, [esp + 4]
mov eax, dword [edi + 0x4c]
mov edx, 0x17
call fcn.00495fa8
mov ebx, dword [esp + 6]
mov byte [ebx], 0x3b
lea eax, [ebx + 1]
mov dx, word [esp]
mov word [eax], dx
lea eax, [ebx + 3]
mov ecx, 1
mov edx, 4
call fcn.00402fd8
lea eax, [ebx + 7]
mov edx, dword [esp + 0x14]
mov dword [eax], edx
lea eax, [ebx + 0xb]
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
lea eax, [ebx + 0xf]
mov edx, dword [esp + 0x10]
mov dword [eax], edx
lea eax, [ebx + 0x13]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
lea edx, [esp + 4]
mov eax, dword [edi + 0x4c]
call fcn.004957a4
jmp 0x4998fb
mov eax, edi
call fcn.00498d3c
test al, al
jne 0x4998fb
mov dl, 4
mov eax, edi
call fcn.00496ab8
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ac6d8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
xor eax, eax
mov dword [ebp - 4], eax
push 0
call sub.user32.dll_OpenClipboard
xor edx, edx
push ebp
push 0x4ac773
push dword fs:[edx]
mov dword fs:[edx], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ac714
call fcn.00403e64
jmp 0x4ac77a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
test eax, eax
jne 0x4ac728
call fcn.00403e64
jmp 0x4ac77a
xor eax, eax
push ebp
push 0x4ac759
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac760
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ac784
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
push 0
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x4ac825
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ac7bc
call fcn.00403e64
jmp 0x4ac82c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
test ebx, ebx
jne 0x4ac7d2
call fcn.00403e64
jmp 0x4ac82c
xor eax, eax
push ebp
push 0x4ac80b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.00402cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac812
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop esi
pop ebx
pop ecx
pop ebp
ret