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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5c41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a5c22
mov dl, 1
mov eax, dword [0x427ef8]
call fcn.00433e44
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.0040693c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a5c11
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.0048a518
test al, al
je 0x4a5c04
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4a5c50
lea eax, [ebp - 0x394]
call fcn.004126ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a5c04
xor eax, eax
push ebp
push 0x4a5bfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4a5cc0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a5be6
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b3c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4a5be6
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5c04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a5b07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00433d80
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5c48
lea eax, [ebp - 0x3a0]
call fcn.0040692c
ret

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

Disassembly:
push ecx
mov eax, dword [0x51e284]
cmp byte [eax + 0xad], 0
jne 0x4a6812
cmp dword [0x51e29c], 0
jne 0x4a67d2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x51655c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x51e29c], eax
cmp dword [0x51e298], 0
jne 0x4a67ed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x51e298], eax
cmp dword [0x51e2a0], 0
jne 0x4a6812
push esp
push 0
push 0
mov eax, dword [0x516558]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x51e2a0], eax
pop edx
ret
Function at 0x4a6ae0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a6af7
add esp, 0xfffffff0
call fcn.00405364
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043b308
mov eax, dword [0x518474]
cmp byte [eax], 0
jne 0x4a6b24
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x518854]
cmp word [eax + 2], 0
jne 0x4a6b3e
mov eax, dword [0x518854]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a8ba4
mov eax, dword [0x5189b4]
cmp word [eax + 2], 0
jne 0x4a6b58
mov eax, dword [0x5189b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a8db4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x444904]
call fcn.0044ad2c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a9268
mov dl, 1
mov eax, dword [0x425810]
call fcn.00404e08
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x425810]
call fcn.00404e08
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448f1c]
call fcn.00453db4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a6d38
mov eax, dword [0x5186b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004541b4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a9528
mov dl, 1
mov eax, dword [0x425810]
call fcn.00404e08
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5186b4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004124b8
test eax, eax
je 0x4a6c69
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004121e4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041249c
test eax, eax
je 0x4a6c81
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406b3c
push ebx
push 0x4a8574
call fcn.0049cd94
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x518474]
cmp byte [eax], 0
jne 0x4a6cd2
mov eax, ebx
call fcn.004a6eac
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a9754
mov eax, ebx
call fcn.004aa388
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a6d2f
call fcn.004053bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a7180
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a7222
cmp dword [ebx + 0x94], 0
jne 0x4a721c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a70cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a721c
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_GetWindowLongW
test al, 8
je 0x4a71e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a721c
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.00430908
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a71f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a7440
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x51e284]
cmp dword [eax + 0x170], 0
je 0x4a75a5
test bl, bl
jne 0x4a74f3
cmp dword [esi + 0x9c], 0
jne 0x4a74e8
mov eax, esi
call fcn.004aa1d8
push eax
push 0x4a734c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a74b9
mov eax, dword [0x51e284]
cmp byte [eax + 0xd3], 0
je 0x4a74b9
mov eax, dword [esi + 0xd8]
call fcn.00407fa0
mov edi, eax
cmp edi, 0
jl 0x4a74b9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a74a2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a74e8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430908
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a74c8
inc dword [esi + 0x9c]
jmp 0x4a75a5
cmp dword [esi + 0x9c], 0
jle 0x4a75a5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a75a5
cmp dword [esi + 0x44], 0
je 0x4a7550
mov eax, dword [0x51e284]
cmp byte [eax + 0xd3], 0
je 0x4a7550
mov eax, dword [esi + 0xd8]
call fcn.00407fa0
mov edi, eax
cmp edi, 0
jl 0x4a7550
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a7539
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a757f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430908
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a755f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49ac6c]
call fcn.00408160
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a81c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a822b
cmp byte [ebx + 0xd3], 0
jne 0x4a822b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406a78
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a8218
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a8238
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040693c
jmp 0x4a8238
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040693c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a993c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a99aa
mov eax, esi
call fcn.00484530
test al, al
je 0x4a99aa
mov eax, dword [ebx + 0x84]
call fcn.00484184
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a99aa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a999e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00484184
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047b5c0
jmp 0x4a99aa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a9774
pop esi
pop ebx
ret
Function at 0x4ab08c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40be28]
call fcn.004075cc
xor eax, eax
push ebp
push 0x4ab1d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5165b4], 0
jne 0x4ab0e0
mov ecx, dword [0x51849c]
mov dl, 1
mov eax, dword [0x40d0ec]
call fcn.0041682c
call fcn.00405908
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004047fc
mov eax, ebx
call fcn.004067c0
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4ab1e4
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409598
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4ab127
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4ab17c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4ab175
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406ba4
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406b3c
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00410ef0
test eax, eax
jne 0x4ab175
mov ebx, 0x15
jmp 0x4ab181
mov ebx, 0x10
jmp 0x4ab181
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x5165b4]
call fcn.004aaef8
mov eax, dword [ebp - 4]
call fcn.004aaef8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004095b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab1dd
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406934
lea eax, [ebp - 0xc]
mov edx, dword [0x40be28]
call fcn.004076a4
ret
Function at 0x4f7030
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x51e3c4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4f7052
shr eax, 1
xor eax, 0xedb88320
jmp 0x4f7054
shr eax, 1
dec edx
jne 0x4f7040
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4f7039
mov byte [0x51e7c4], 1
pop esi
pop ebx
ret

Function at 0x4f7070
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x51e7c4], 0
jne 0x4f7087
call fcn.004f7030
mov eax, edi
dec eax
test eax, eax
jl 0x4f70af
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51e3c4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f7091
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f9dfc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4f9e96.0
jmp dword [ecx*4 + 0x4f9e2f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f9e61
sub dl, 8
je 0x4f9e70
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9aa4
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9afc
jmp case.0x4f9e96.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4f9e96.0
movzx ecx, byte [ecx + 0x4f9e9d]
jmp dword [ecx*4 + 0x4f9eae]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9ba8
jmp case.0x4f9e96.0
cmp dl, 3
jne 0x4f9edb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9c00
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9bbc
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9c44
jmp case.0x4f9e96.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f9f06
sub dl, 8
je 0x4f9f12
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9c70
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9cdc
jmp case.0x4f9e96.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f9f31
sub dl, 8
je 0x4f9f3d
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9d98
jmp case.0x4f9e96.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f9dc0
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x4f9fdf
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004f8fa8
test eax, eax
je 0x4f9fdf
mov eax, ebx
call fcn.004f9fe8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x4f9f78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f9fe8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4fa019
dec al
je 0x4fa054
dec al
je 0x4fa099
dec al
je 0x4fa102
jmp 0x4fa18c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4fa18c
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4fa029
jmp 0x4fa18c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4fa18c
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4fa064
jmp 0x4fa18c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4fa18c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4fa0c8
xor ebp, ebp
jmp 0x4fa0d8
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4fa0e1
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4fa0a9
jmp 0x4fa18c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4fa18c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4fa15b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004f70b8
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4fa116
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x57c750
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
jmp 0x57c75a
lea esp, [esp + 4]
sub ebp, 0x40887852
mov eax, dword [esp]
lea eax, [eax + ecx]
clc
jmp 0x57c77f
jp 0x57c795
setge ch
rdtsc
jmp 0x57c7b8
bswap ecx
adc eax, 0x7f8c12aa
jmp 0x57c7a1

Function at 0x652748
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esi, reloc.KERNEL32.dll_CreateEventA
push word [esp + 3]
call 0x65272b
push 0x66
pop ebx
call 0x652748
inc esp
jne 0x6527a5
insb byte es:[edi], dx
imul esp, dword [ebx + 0x61], 0x61486574
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[ebp - 0x1422789a], al
xchg bp, bx
jmp 0x65271a
mov edx, 0x88ff3aed
sub esp, 7
mov si, di
jmp 0x652759
xchg bp, bx
jmp 0x65271a
pop eax
mov si, dx
xchg dword [esp + 5], ecx
cpuid
rdtsc
clc
jmp 0x6527a8
lea esp, [esp + 0xb]
pop ax
rcl al, cl
mov word [esp], di
jmp 0x65288a
jb 0x652814
jl 0x6527b8
rdtsc
lea eax, reloc.KERNEL32.dll_CreateEventA
mov edx, 0x8261e43c
xor dword [ebp + reloc.KERNEL32.dll_CreateEventA], ecx
mov edx, 0x8261e43c
pop ecx
cpuid
pushfd
jmp 0x652792
lea edx, reloc.KERNEL32.dll_CreateEventA
lea ebx, [esi + 0x1c]
pop ebp
mov ah, byte [esp]
xchg byte [esp + 1], dl
sub esp, 0x1e
jmp 0x652809
push word [esp + 1]
add al, bl
mov bl, ah
setb bl
push dword [esp + 3]
xchg dword [esp], ebp
jmp 0x6527bb
mov bp, word [esp + 0x15]
setnp dh
mov cx, sp
stc
lea edi, [esp + edi]
jmp 0x652850
mov byte [esp + 9], bh
xchg esi, ebx
mov si, 0xbae
rdtsc
mov byte [esp + 0xe], dh
bswap esi
xor dword [eax + reloc.KERNEL32.dll_CreateEventA], ecx
into
jmp 0x6527f3
xchg cl, dh
add esp, 1
cmp bp, cx
mov ebx, dword [esp]
mov esi, 0x143d7a6a
adc ch, 0x79
jmp 0x6527de
mov ebx, 0xadbdd770
lea esi, [ebx*4]
add esi, ecx
stc
call fcn.00652864
push ebp
les edi, [edi + 0x78c34c1e]
mov edi, 0x78c34c1e
pushal
lea esp, [esp + 0x42]
mov bh, ch
rdtsc
bts di, si
jmp 0x65283a
mov dx, 0x5ac7
rdtsc
cmc
mov bh, 0xc9
mov ax, di
mov ebp, 0xf9ceac65
jmp 0x652825
Function at 0x652864
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov di, ax
mov cl, dh
jmp 0x65286f
rcl dx, cl
mov bx, 0x4d1b
rdtsc
push dword [esp + 2]
xchg word [esp], di
mov dword [esp], ebx
jmp 0x6528b3
inc ax
mov byte [esp], dh
xchg al, bh
add esp, 0
add esp, 0
mov ebp, edi
jmp 0x6528db
push cx
lea esp, [esp + 9]
cpuid
bswap edx
mov ecx, esi
mov dl, cl
jmp 0x65289d
bsr eax, ebx
sub esp, 0xa
neg bp
mov bx, word [esp + 2]
jmp 0x652905
mov ax, si
clc
lea esi, [esi*4]
xchg bh, ch
mov cl, 0x3d
lea edx, [eax - 0x74]
jmp 0x6528c3
push dword [esp + 7]
pop dword [esp + 7]
pop word [esp]
mov ecx, dword [esp + 1]
jmp 0x6529d1
pop word [esp + 2]
push dword [esp + 7]
xchg ebp, edi
mov ecx, 0x8858a133
mov dx, bp
ror bh, cl
jmp 0x6528ef
mov dh, byte [esp + 7]
dec al
mov di, word [esp + 2]
pop dword [esp]
jmp 0x652987
rdtsc
mov dword [esp], edx
rdtsc
shr si, 5
lea ecx, reloc.KERNEL32.dll_CreateEventA
push word [esp]
jmp 0x65293e
bsf esi, ecx
mov cx, word [esp + 4]
mov edi, 0x52128bd
lea edx, [ebx + esi]
mov bx, sp
sub esp, 0x16
jmp 0x6529b2
bsf si, si
mov bl, byte [esp + 1]
xchg byte [esp], al
sub esp, 8
mov dl, 0xb8
cmp di, sp
jmp 0x65296b
mov ecx, dword [esp + 0x18]
pop dword [esp + 0xb]
bsf cx, bx
bt si, di
mov edx, ebp
mov eax, ebp
call fcn.0065299c
and byte [ebx - 0x66], ah
cmc
in al, 0x17
pop word [esp + 1]
not edx
lea esp, [esp + 2]
rdtsc
mov bl, al
mov dh, 0xe1
jmp 0x652954

Function at 0x655d66
Capabilities:
Execute anti-debugging instructions

Disassembly:
std
mov word [esp + 3], dx
pop word [esp + 0x28]
pop word [esp + 0x20]
jmp 0x655d82
mov ebp, dword [esp + 6]
jmp 0x655d50
lea esp, [esp + 0x16]
pop word [esp + 6]
not ah
xchg ebx, eax
jmp 0x655d93
cmc
and dl, al
mov cx, word [esp + 0x3a]
cmc
pop word [esp + 0x2a]
pop ecx
jmp 0x655d6c
bts cx, di
mov ebx, dword [esp + 0x15]
pop dword [esp]
sub esp, 3
lea esp, [esp + 0x15]
pop edx
jmp 0x655dc1