joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ff38
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47af90]
cmp byte [eax + 0xc], 0
je 0x4400a5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44009e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47bb68], 0
jne 0x43ff8c
push 0x4400ac
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4400b4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb68], eax
cmp dword [0x479b4c], 0
jne 0x440087
push 0x4400c4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x479b4c], eax
cmp dword [0x479b4c], 0
je 0x440087
push 0x4400d0
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb6c], eax
push 0x4400e0
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb70], eax
push 0x4400f4
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb74], eax
push 0x44010c
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb78], eax
push 0x440124
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb7c], eax
push 0x440138
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb80], eax
push 0x440150
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb84], eax
push 0x440168
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb88], eax
push 0x440184
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb8c], eax
push 0x440190
mov eax, dword [0x479b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47bb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4400a5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x443f74
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.0040427c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x443fc3
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.004044ec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b8e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b938]
test si, 4
je 0x44b8fc
or bl, 1
test si, 8
je 0x44b906
or bl, 4
test si, 1
je 0x44b910
or bl, 8
test si, 2
je 0x44b91a
or bl, 0x10
test si, 0x10
je 0x44b924
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b933
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b93c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b974]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b955
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b964
or bl, 4
test esi, 0x20000000
je 0x44b96f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452038
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45204a
add esp, 0xfffffff0
call fcn.00403828
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d47c
mov eax, dword [0x47ac18]
mov dword [eax + 4], ebx
mov dword [eax], 0x4523dc
mov eax, dword [0x47ac24]
mov dword [eax + 4], ebx
mov dword [eax], 0x4523e8
mov eax, ebx
call fcn.004523f4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415738]
call fcn.004034c0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415738]
call fcn.004034c0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415738]
call fcn.004034c0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415738]
call fcn.004034c0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415738]
call fcn.004034c0
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, 0x44e80c
push eax
push 0
push 0
mov eax, dword [0x47ad7c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41eef8]
call fcn.00420690
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41eef8]
call fcn.00420690
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41eef8]
call fcn.00420690
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452844
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45270c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45270c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45270c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452187
call fcn.00403880
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4524f0
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 0x45269b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45267c
mov dl, 1
mov eax, dword [0x415b54]
call fcn.004034c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040427c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45266b
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.00440298
test al, al
je 0x45265e
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, 0x4526ac
lea eax, [ebp - 0x254]
call fcn.00409230
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45265e
xor eax, eax
push ebp
push 0x452657
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 0x4526e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452640
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044ec
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 0x452640
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45265e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452561
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041966c
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 0x4526a2
lea eax, [ebp - 0x260]
call fcn.0040427c
ret

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

Disassembly:
push ecx
mov eax, dword [0x47bbb4]
cmp byte [eax + 0xa5], 0
jne 0x453055
cmp dword [0x47bbcc], 0
jne 0x453016
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452fa0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47bbcc], eax
cmp dword [0x47bbc8], 0
jne 0x453031
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47bbc8], eax
cmp dword [0x47bbd0], 0
jne 0x453055
push esp
push 0
push 0
push 0x452f44
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47bbd0], eax
pop edx
ret
Function at 0x4536e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47bbb4]
cmp dword [eax + 0x30], 0
je 0x453792
cmp dword [ebx + 0x94], 0
jne 0x45378c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453678
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45378c
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 0x453752
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45378c
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.00417aa0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453761
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4542f0
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 0x454325
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.0040436c
jmp 0x454332
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042d0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455444
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455485
mov eax, esi
call fcn.0043b958
test al, al
je 0x455485
mov eax, dword [ebx + 0x84]
call fcn.0043b654
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455485
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b654
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x458cec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00421470
cmp ebx, dword [ebp - 8]
jge 0x458d4f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004216c8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004216c8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004216f4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x458d15
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x458d58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00421470
cmp ebx, dword [ebp - 8]
jge 0x458dbb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004216c8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004216c8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004216f4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x458d81
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x45b6fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b95c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45b75f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0045b3a4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c5d0
cmp al, 1
jne 0x45b75f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0045b66c
test al, al
je 0x45b8eb
cmp dword [ebp - 8], 0
jge 0x45b77d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0045b3a4
mov eax, dword [ebp - 0x210]
call fcn.0040453c
cmp ebx, eax
jge 0x45b7c7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0045b3a4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x47af78]
and eax, 0xff
bt dword [edx], eax
jae 0x45b7c7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x45b7db
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045b6d8
cmp ebx, dword [ebp - 8]
je 0x45b8dd
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x45b807
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036f8
and eax, 0x7f
movzx eax, word [eax*2 + 0x479e28]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x45b8ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036f8
and eax, 0x7f
movzx eax, word [eax*2 + 0x479e28]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043b654
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036f8
and eax, 0x7f
movzx eax, word [eax*2 + 0x479e28]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043b654
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b8d1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x45b93e
cmp dword [ebp - 8], 0
jge 0x45b8f6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0045b3a4
mov eax, dword [ebp - 0x218]
call fcn.0040453c
cmp eax, dword [ebp - 8]
jg 0x45b930
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0045b3a4
mov eax, dword [ebp - 0x21c]
call fcn.0040453c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045b6d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b963
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004042a0
ret
Function at 0x465594
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4655c2
mov eax, ebx
call fcn.00466048
cmp dword [ebx + 0x40], 0
je 0x4655bb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x465633
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x465625
cmp dword [ebx + 8], 0
je 0x4655e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4655f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x465625
cmp dword [ebx + 8], 0
je 0x4655d7
cmp eax, 3
je 0x465609
dec eax
jne 0x4655d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4655d7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4655d7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x465651
cmp dword [ebx + 0x14], 0xcc
je 0x465651
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046565c
pop ebx
ret

Function at 0x478220
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
lea eax, [ebp - 8]
mov edx, dword [0x4780cc]
call fcn.00404bec
xor eax, eax
push ebp
push 0x478287
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], ebx
lea eax, [ebp - 4]
call fcn.0040427c
lea eax, [ebp - 8]
push eax
push 0x4780ec
call sub.user32.dll_EnumWindows
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004042d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47828e
lea eax, [ebp - 8]
mov edx, dword [0x4780cc]
call fcn.00404cbc
ret
Function at 0x5ed425
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.0062b844
mov eax, dword [0x4c2150]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x5ed403
mov eax, 1
mov dword [esi], ebp
jmp 0x5ed405
mov ebp, dword [esi]
test ecx, ecx
je 0x5ed4e8
push ebp
call fcn.005d9284
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x5ed434
push 0x4a1d50
push 0x68
push 0x4a1d38
call fcn.005d9b84
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x5ed48b
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.005d5df4
add esp, 0xc
test eax, eax
je 0x5ed58a
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.005d5fa4
add esp, 0xc
test eax, eax
je 0x5ed58a
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.005d5fb4
add esp, 0xc
test eax, eax
je 0x5ed58a
jmp 0x5ed4c5
cmp edi, 0x80
jbe 0x5ed4a7
push 0x4a1d10
push 0x75
push 0x4a1d38
call fcn.005d9b84
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.0062b4d4
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x5ed4f0
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.0062b454
add esp, 0xc
jmp 0x5ed4f0
test eax, eax
je 0x5ed576
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x5ed4f4
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.005d5df4
add esp, 0xc
test eax, eax
je 0x5ed58a
push ebp
call fcn.005d9284
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.005d5fa4
add esp, 0x10
test eax, eax
je 0x5ed58a
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x5ed538
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.005d5df4
add esp, 0xc
test eax, eax
je 0x5ed58a
push ebp
call fcn.005d9284
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.005d5fa4
add esp, 0x10
test eax, eax
je 0x5ed58a
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.005d6144
add esp, 8
test eax, eax
jne 0x5ed58e
xor eax, eax
jmp 0x5ed593
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00627a52
add esp, 0x8c
ret
Function at 0x61ec34
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x61ec4d
mov esi, edi
mov edi, eax
jmp 0x61ec4f
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x61ec5f
mov eax, ebx
jmp 0x61ec69
push eax
push ebx
call fcn.005e4114
add esp, 8
test eax, eax
jne 0x61ec71
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x61ec8d
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x61ec78
cmp eax, dword [esi + 4]
jge 0x61eca4
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x61ec94
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x61ecc5
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x61ecc2
dec eax
test eax, eax
jg 0x61ecb4
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x6709dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov eax, 1
jmp 0x6709ec
add eax, eax
inc ecx
cmp eax, 0x1000
jl 0x6709ec
mov eax, 1
shl eax, cl
cmp eax, 0x1000
jne 0x670b6e
mov ecx, dword [0x443b28]
push ebx
push esi
mov esi, dword [0x443b2c]
add ecx, 0xfff
push edi
mov edi, dword [0x443b30]
add esi, 0xfff
add edi, 0xfff
and esi, 0xfffff000
and edi, 0xfffff000
mov dword [0x443b2c], esi
and ecx, 0xfffff000
mov dword [0x443b30], edi
mov dword [0x443b28], ecx
cmp esi, 0x8000
jge 0x670a68
mov esi, 0x1800000
mov dword [0x443b2c], esi
jmp 0x670a99
cmp esi, 0x80000
jge 0x670a99
push esi
push 0x43b554
call fcn.0068f911
add eax, 0x40
push eax
call fcn.0068fa75
mov esi, dword [0x443b2c]
add esp, 0xc
mov edi, dword [0x443b30]
mov ecx, dword [0x443b28]
xor ebx, ebx
mov eax, 1
test ecx, ecx
cmovle ebx, eax
cmp ecx, 0x4000
jl 0x670ab7
lea eax, [esi - 0x4000]
cmp ecx, eax
jle 0x670b06
lea eax, [esi + esi*2]
cdq
lea ecx, [esi - 0x4000]
and edx, 3
add eax, edx
sar eax, 2
cmp ecx, eax
cmovle eax, ecx
lea ecx, [eax + 0xfff]
and ecx, 0xfffff000
mov dword [0x443b28], ecx
test ebx, ebx
jne 0x670b06
push ecx
push 0x43b580
push 2
call fcn.0066febc
mov esi, dword [0x443b2c]
add esp, 0xc
mov edi, dword [0x443b30]
mov ecx, dword [0x443b28]
xor ebx, ebx
mov eax, 1
test edi, edi
cmovle ebx, eax
lea eax, [esi - 0x2000]
mov dword [ebp - 4], eax
cmp edi, eax
jge 0x670b29
lea eax, [ecx + 0x2000]
cmp edi, eax
jg 0x670b67
sub esi, ecx
mov eax, esi
shl eax, 4
sub eax, esi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, ecx
cmp dword [ebp - 4], eax
cmovle eax, dword [ebp - 4]
add eax, 0xfff
and eax, 0xfffff000
mov dword [0x443b30], eax
test ebx, ebx
jne 0x670b67
push eax
push 0x43b5b0
push 2
call fcn.0066febc
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1000
push 0x43b52c
push 1
call fcn.0066febc
add esp, 0xc
push 1
call fcn.0068f820
int3
Function at 0x670b8c
Capabilities:
Terminate process

Disassembly:
push esi
mov dword [0x443b34], 0
call fcn.006709dc
mov esi, dword [0x443b2c]
shr esi, 0xc
add esi, 0x1f
mov dword [0x443c4c], 0x10000
shr esi, 5
mov dword [0x443c50], esi
lea eax, [esi*8]
push eax
call fcn.0068f280
mov ecx, eax
add esp, 4
mov dword [0x443c54], ecx
test ecx, ecx
je 0x670c0c
xor eax, eax
test esi, esi
jle 0x670c00
jmp 0x670bec
mov dword [ecx + eax*8], 0xffffffff
mov dword [ecx + eax*8 + 4], 0
inc eax
cmp eax, esi
jl 0x670bec
mov dword [0x443c48], 0
pop esi
ret
push 0x43b5e4
push 1
call fcn.0066febc
add esp, 8
push 1
call fcn.0068f820
int3