joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45537c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48ab78]
cmp byte [eax + 0xa5], 0
jne 0x4553ed
cmp dword [0x48ab90], 0
jne 0x4553ae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455338
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ab90], eax
cmp dword [0x48ab8c], 0
jne 0x4553c9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ab8c], eax
cmp dword [0x48ab94], 0
jne 0x4553ed
push esp
push 0
push 0
push 0x4552dc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48ab94], eax
pop edx
ret

Function at 0x455a80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ab78]
cmp dword [eax + 0x30], 0
je 0x455b2a
cmp dword [ebx + 0x94], 0
jne 0x455b24
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455a10
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455b24
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 0x455aea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455b24
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.00414f30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455af9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456688
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 0x4566bd
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.00404538
jmp 0x4566ca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040449c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4577ec
Capabilities:
Hide graphical window

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

Function at 0x459c40
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0043da78
test al, al
je 0x459c9b
cmp bl, 7
jne 0x459c77
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x459c7c
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
test eax, eax
je 0x459c9b
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, edi
call fcn.00425b68
mov byte [esi + 0x220], bl
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x460e70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x460f2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b54
mov eax, dword [0x489140]
cmp byte [eax], 0
je 0x460edf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404eb4
mov eax, dword [ebx]
call fcn.00404ce0
push eax
mov eax, dword [ebx]
call fcn.00404cd0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ce0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404eb4
jmp 0x460f11
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408fc8
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460f31
lea eax, [ebp - 0x3f0]
call fcn.00404448
ret

Function at 0x460f38
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408fc8
add esp, 0x3ec
pop ebx
ret

Function at 0x4610f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4611be
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044dcd4
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.00460db4
mov edi, eax
test edi, edi
je 0x461157
mov al, byte [0x4611cc]
cmp al, bl
jne 0x461157
mov edx, edi
mov eax, ebp
call fcn.00460cec
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4611be
cmp byte [ebp + 0x161], 2
jne 0x461182
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x489440]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00438104
test eax, eax
jne 0x4611be
jmp 0x4611b9
mov edx, dword [0x48935c]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4611b9
test byte [eax + 0x2f4], 8
jne 0x4611b9
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x48935c]
mov eax, edx
mov edx, 0xb006
call fcn.00438104
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46756c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x489440]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x467612
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4675b1
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4675ed
jmp 0x4675b5
pop edx
pop eax
jge 0x4675ed
mov eax, dword [0x489440]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461eec
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x467612
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x467612
cmp dword [ebx + 0x11c], 0
je 0x467612
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042ec38
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x46e890
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46e94a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b54
mov eax, dword [0x489140]
cmp byte [eax], 0
je 0x46e8ff
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404eb4
mov eax, dword [ebx]
call fcn.00404ce0
push eax
mov eax, dword [ebx]
call fcn.00404cd0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ce0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404eb4
jmp 0x46e931
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408fc8
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e951
lea eax, [ebp - 0x3f0]
call fcn.00404448
ret

Function at 0x471be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x471c3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00471c44
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471c41
ret
Function at 0x478474
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4784aa
jmp 0x478550
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4784ee
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4784ee
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4784fe
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4784fe
mov eax, dword [edx + 0x14]
test eax, eax
je 0x478517
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00474e00
jmp 0x478550
mov dl, 1
mov eax, dword [0x41c898]
call fcn.0041e800
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041f1b8
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.0041e3b0
mov edx, esp
mov eax, esi
call fcn.0041ef04
mov eax, esi
call fcn.0040369c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x47ad54
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0043d774
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00436e70
pop ebx
ret
Function at 0x485750
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x485776
push 0
mov eax, dword [ebx + 0x94]
call fcn.0043d774
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x485830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4859a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x485986
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408fc8
mov dl, 1
mov eax, dword [0x45b314]
call fcn.0045b36c
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x4132c0]
call fcn.0040366c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0045b3e8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x485983
mov dl, 1
mov eax, dword [0x45c8fc]
call fcn.0045c964
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x4859b8
call fcn.0045bb50
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404754
xor eax, eax
push ebp
push 0x48597c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0045cc64
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004859c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485983
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0040369c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040369c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040369c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4859a8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040446c
ret
Function at 0x404625
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41d48c
call fcn.0041d680
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x420268
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x42032c
push 4
mov ebx, 0x420278
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.0040282e
mov dword [esi + 0x3c], 0x4203bc
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.0040282e
mov dword [edi], 0x4203c4
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00402daf
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.00403ce5
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00402daf
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.00403ce5
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00402daf
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.00403ce5
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00402daf
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.00403ce5
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.00403ce5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4076de
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41d8cb
call fcn.0041d680
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x420268
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x420290
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.00413db9
push dword [esi + 8]
mov ecx, ebx
call fcn.00413db9
push dword [esi + 0xc]
mov ecx, edi
call fcn.00413db9
push dword [esi + 0xc]
mov ecx, edi
call fcn.00413db9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4076ea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41d8cb
call fcn.0041d680
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x420268
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x420290
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.00413db9
push dword [esi + 8]
mov ecx, ebx
call fcn.00413db9
push dword [esi + 0xc]
mov ecx, edi
call fcn.00413db9
push dword [esi + 0xc]
mov ecx, edi
call fcn.00413db9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40c864
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
mov eax, 0x41de92
call fcn.0041d680
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 3
xor ebx, ebx
or eax, 0xffffffff
lea ecx, [esi + 0x38]
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
push edi
mov dword [ebp - 0x10], esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004033b3
lea ecx, [esi + 0x44]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004033b3
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 4
mov dword [esi + 0x50], 0x4206b0
lea ecx, [esi + 0x64]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004033b3
lea ecx, [esi + 0x70]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004033b3
lea ecx, [esi + 0x7c]
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004033b3
lea ecx, [esi + 0x88]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004033b3
lea eax, [esi + 0x94]
push eax
call fcn.0041c9b0
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x419f2a
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x419f57
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x428d00]
xor eax, esi
inc ecx
dec edx
jne 0x419f38
pop edi
pop esi
ret 4

Function at 0x41a215
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0041a0e4
mov eax, dword [esi]
lea ecx, [esi + 0x14]
lea eax, [eax*8 - 4]
test eax, eax
jbe 0x41a296
push ebx
push edi
mov esi, eax
mov eax, dword [ecx]
xor edx, edx
mov dword [ebp + 0x10], eax
xor ebx, ebx
mov dl, byte [ebp + 0x12]
mov bl, ah
movzx edx, byte [edx + 0x4267ec]
movzx edi, byte [ebx + 0x4267ec]
mov edx, dword [edx*4 + 0x4273dc]
xor edx, dword [edi*4 + 0x426fdc]
mov edi, eax
shr edi, 0x18
and eax, 0xff
movzx edi, byte [edi + 0x4267ec]
movzx eax, byte [eax + 0x4267ec]
xor edx, dword [edi*4 + 0x4277dc]
xor edx, dword [eax*4 + 0x426bdc]
mov dword [ecx], edx
add ecx, 4
dec esi
jne 0x41a23c
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x41a69a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x41a6af
xor eax, eax
jmp 0x41a740
push 0x10
pop eax
cmp ebx, eax
jb 0x41a740
sub ebx, eax
push esi
mov esi, dword [ebp + 8]
add ebx, eax
shr ebx, 4
mov eax, ebx
push edi
mov edi, dword [ebp + 0xc]
shl eax, 4
mov dword [ebp + 0x10], eax
mov eax, dword [edi]
push dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a29b
mov eax, dword [esi]
xor eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [ebp - 0x1c]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 8]
xor eax, dword [ebp - 0x18]
mov dword [edi - 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebp - 0x14]
dec ebx
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jne 0x41a6d1
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41a7a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [ecx]
and edx, 7
cmp dword [ebp + 0xc], 5
jb 0x41a8f8
add dword [ebp + 0x10], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0xc]
lea edi, [ecx + eax - 4]
cmp esi, edi
jae 0x41a7e8
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x41a7e8
inc esi
jmp 0x41a7d9
mov eax, esi
sub eax, ecx
cmp esi, edi
mov dword [ebp - 8], eax
jae 0x41a8d8
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x41a81d
xor edx, edx
mov cl, byte [esi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x41a84a
cmp cl, 0xff
je 0x41a84a
and edx, 3
shl edx, 1
or edx, 1
inc eax
jmp 0x41a7cc
dec ecx
shl edx, cl
and edx, 7
je 0x41a803
movzx ecx, byte [edx + 0x420b18]
mov edi, esi
sub edi, ecx
cmp byte [edx + 0x420b10], 0
mov cl, byte [edi + 4]
je 0x41a845
test cl, cl
je 0x41a845
cmp cl, 0xff
jne 0x41a803
mov dword [ebp - 4], eax
jmp 0x41a812
xor ebx, ebx
mov bh, cl
mov bl, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x41a873
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x41a87a
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x41a8ae
movzx edi, byte [edx + 0x420b18]
push 0x18
mov eax, ebx
shl edi, 3
pop ecx
sub ecx, edi
shr eax, cl
test al, al
je 0x41a899
cmp al, 0xff
jne 0x41a8ab
push 0x20
mov eax, dword [ebp - 8]
pop ecx
push 1
sub ecx, edi
pop edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x41a865
mov eax, dword [ebp - 8]
mov ecx, ebx
mov byte [esi + 1], bl
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
add eax, 5
jmp 0x41a7cc
mov esi, eax
push 3
sub esi, dword [ebp - 4]
pop edi
lea ecx, [esi - 1]
shl edx, cl
and edx, 7
cmp edi, esi
sbb ecx, ecx
pop edi
not ecx
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
pop ebx
mov dword [edx], ecx
leave
ret 0x14

Function at 0x41c513
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4