joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d274
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d444
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46d425
mov dl, 1
mov eax, dword [0x41cc1c]
call fcn.00403974
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048d4
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x46d414
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0045a6d8
test al, al
jne 0x46d311
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46d407
xor edx, edx
push ebp
push 0x46d400
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46d331
mov ebx, dword [ebp - 0x10]
jmp 0x46d333
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x46d454
lea eax, [ebp - 0x258]
call fcn.0040acc0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46d3e9
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x46d48c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46d3e9
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404b44
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46d3e9
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d407
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x46d2f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421bb4
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 0x46d44b
lea eax, [ebp - 0x264]
call fcn.004048d4
ret
Function at 0x46dd8c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x578b80]
cmp byte [eax + 0xa5], 0
jne 0x46ddfd
cmp dword [0x578b98], 0
jne 0x46ddbe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46dd48
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x578b98], eax
cmp dword [0x578b94], 0
jne 0x46ddd9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x578b94], eax
cmp dword [0x578b9c], 0
jne 0x46ddfd
push esp
push 0
push 0
push 0x46dcec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x578b9c], eax
pop edx
ret

Function at 0x46e490
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x578b80]
cmp dword [eax + 0x30], 0
je 0x46e53a
cmp dword [ebx + 0x94], 0
jne 0x46e534
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46e420
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46e534
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 0x46e4fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46e534
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.0041efb0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46e509
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f098
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 0x46f0cd
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.004049c4
jmp 0x46f0da
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404928
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470294
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4702d5
mov eax, esi
call fcn.00455c0c
test al, al
je 0x4702d5
mov eax, dword [ebx + 0x84]
call fcn.00455908
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4702d5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455908
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4914d4
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 0x491734
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x491537
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049117c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e73c
cmp al, 1
jne 0x491537
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00491444
test al, al
je 0x4916c3
cmp dword [ebp - 8], 0
jge 0x491555
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.0049117c
mov eax, dword [ebp - 0x210]
call fcn.00404bb0
cmp ebx, eax
jge 0x49159f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049117c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5777ec]
and eax, 0xff
bt dword [edx], eax
jae 0x49159f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4915b3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004914b0
cmp ebx, dword [ebp - 8]
je 0x4916b5
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 0x4915df
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bac
and eax, 0x7f
movzx eax, word [eax*2 + 0x571c04]
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 0x4916a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bac
and eax, 0x7f
movzx eax, word [eax*2 + 0x571c04]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00455908
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bac
and eax, 0x7f
movzx eax, word [eax*2 + 0x571c04]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00455908
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4916a9
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 0x491716
cmp dword [ebp - 8], 0
jge 0x4916ce
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049117c
mov eax, dword [ebp - 0x218]
call fcn.00404bb0
cmp eax, dword [ebp - 8]
jg 0x491708
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049117c
mov eax, dword [ebp - 0x21c]
call fcn.00404bb0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004914b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49173b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004048f8
ret
Function at 0x4e2bcc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, ecx
push esp
push edx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404b44
add esp, 0x10c
pop ebx
ret

Function at 0x4e2c08
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x4e2c53
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
add esp, 0x100
pop ebx
ret

Function at 0x4e2c5c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x4e2ca3
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
add esp, 0x100
pop ebx
ret

Function at 0x4e2cc8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
je 0x4e2d19
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x4e2d2f
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
jmp 0x4e2d2f
mov ecx, 0x4e2d40
mov dl, 1
mov eax, dword [0x40868c]
call fcn.0040dd30
call fcn.00404248
add esp, 0x108
pop ebx
ret
Function at 0x544aac
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x544bb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41cc1c]
call fcn.00403974
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x470e20]
call fcn.00470f8c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x544b8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00471068
mov edx, 0x544bc8
mov eax, dword [ebp - 8]
call fcn.004711f4
test al, al
je 0x544b71
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004715ac
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x544b71
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00471768
mov eax, dword [ebp - 0xc]
call fcn.00404db0
push eax
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404db0
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
inc ebx
dec esi
jne 0x544b2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544b96
mov eax, dword [ebp - 4]
call fcn.004039a4
mov eax, dword [ebp - 8]
call fcn.004039a4
ret

Function at 0x544c08
Capabilities:
Get hostname

Disassembly:
add esp, 0xfffffefc
lea eax, [esp + 4]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.0040333c
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, 0x5792d4
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00404b44
add esp, 0x104
ret
Function at 0x550b40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x550c17
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [esi + 0x42], 0
je 0x550b94
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x550c30
mov edx, 0x550c48
mov eax, esi
call fcn.00550afc
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.00404bb8
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
xor edx, edx
mov eax, ebx
call fcn.0040a1d8
xor eax, eax
mov dword [ebp - 0x1f], eax
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], 3
lea eax, [ebp - 0x28]
mov ecx, 0x550c60
mov edx, ebx
call fcn.00404bfc
mov eax, dword [ebp - 0x28]
call fcn.00404db0
mov dword [ebp - 0x17], eax
mov eax, 0x550c64
mov dword [ebp - 0x13], eax
mov word [ebp - 0xf], 0x14
lea eax, [ebp - 0x1f]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete byte [ebp - 1]
mov eax, ebx
call fcn.0040a02c
test al, al
je 0x550bfc
mov edx, 0x550c70
mov eax, ebx
call fcn.0055114c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550c1e
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004048f8
ret

Function at 0x550cb8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404b44
add esp, 0x10c
pop ebx
ret

Function at 0x550cf4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x550d3f
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
add esp, 0x100
pop ebx
ret

Function at 0x550d48
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
je 0x550d99
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x550daf
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
jmp 0x550daf
mov ecx, 0x550dc0
mov dl, 1
mov eax, dword [0x40868c]
call fcn.0040dd30
call fcn.00404248
add esp, 0x108
pop ebx
ret
Function at 0x550e64
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404b44
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x550eab
mov eax, dword [ebx]
call fcn.00404bb0
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e50
add esp, 0x100
pop ebx
ret

Function at 0x550f68
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffe8
call fcn.00550eb4
cmp al, 3
je 0x550f89
push esp
push 0xf00ff
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x550fdc
call fcn.00550eb4
cmp al, 3
je 0x550fd3
lea eax, [esp + 0xc]
push eax
push 0x550fe0
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 2
call sub.user32.dll_ExitWindowsEx
add esp, 0x18
ret
Function at 0x70a286
Capabilities:
Hash data using rshash

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
mov ecx, 0xf8c9
test edi, edi
jne 0x70a2a2
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x18]
cdq
idiv edi
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x70a302
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov dword [esp + 0x14], edx
mov edx, ebx
test edi, edi
jle 0x70a2f5
mov dword [esp + 0x10], edi
nop
test eax, eax
jle 0x70a2ee
mov edi, eax
jmp 0x70a2d6
movzx ebp, byte [edx]
imul esi, ecx
imul ecx, ecx, 0x5c6b7
add esi, ebp
inc edx
sub edi, 1
jne 0x70a2d6
mov edi, dword [esp + 0x24]
sub dword [esp + 0x10], 1
jne 0x70a2c6
add ebx, dword [esp + 0x20]
sub dword [esp + 0x14], 1
jne 0x70a2bb
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x74fc36
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
test ecx, ecx
je 0x74fc6a
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
cmp eax, 0x90
je 0x74fc6a
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x74fc6a
xor eax, eax
jmp 0x74fca2
mov dword [ebp - 4], 1
jmp 0x74fc7c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x74fc9d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp eax, edx
je 0x74fc9b
xor eax, eax
jmp 0x74fca2
jmp 0x74fc73
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x7c71ce
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10090148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.007c212e
test eax, eax
jne 0x7c723a
push ebp
push 0x100aae44
mov ecx, edi
call fcn.007c644e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.007c1cae
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.007b9b9e
push ebx
mov dword [esp + 0x4c], ebp
call fcn.007c22de
add esp, 4
test eax, eax
je 0x7c72dd
add esi, 0x18
push esi
call fcn.007ba62e
add esi, eax
push esi
call fcn.007ba62e
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x7c75e0
jmp dword [ecx*4 + 0x10010e20]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.007c658e
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.007ba62e
add esi, eax
push esi
call fcn.007ba62e
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x7c732e
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x100933d4]
test eax, eax
je 0x7c732e
mov eax, 1
jmp 0x7c7330
xor eax, eax
cmp ebx, 8
jge 0x7c7595
cmp ebx, 7
ja 0x7c75e0
jmp dword [ebx*4 + 0x10010e30]
test eax, eax
jne 0x7c75a8
mov ecx, dword [esp + 0x10]
push eax
push 0x100aae30
call fcn.007c644e
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.007c7aee
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x10096138
call fcn.007b9d9e
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x7cec4e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100ca7a0]
xor edx, edx
cmp eax, edx
jne 0x7cec74
xor eax, eax
mov byte [eax + 0x100ca6a0], al
inc eax
cmp eax, 0x100
jl 0x7cec5c
mov dword [0x100ca7a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100ca6a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x7ced05
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x7cecd8
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x7ceca6
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x7ced7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x7cedd1
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x7cedb8
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret