joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3934058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.039341a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x393407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x393406a
add dl, dl
jne 0x3934089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x39340dc
xor eax, eax
add dl, dl
jne 0x3934096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x393417d
add dl, dl
jne 0x39340a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x39340b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x39340bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x39340c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x39340d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x3934075
mov eax, 1
add dl, dl
jne 0x39340ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x39340f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x39340e1
sub eax, ebx
mov ebx, 1
jne 0x3934128
mov ecx, 1
add dl, dl
jne 0x393410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3934119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3934105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3934075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x393413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x393414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x3934136
cmp eax, 0x7d00
jae 0x393416d
cmp eax, 0x500
jb 0x3934168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3934075
cmp eax, 0x7f
ja 0x3934170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3934075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x393419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x3934075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x5fba59f0
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x1d33695a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x3a7c2122
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4de62fdb
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401360
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x104
lea eax, [ebp - 0x208]
push eax
push str._systemdrive_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x208]
push ecx
push str._sProgram_Files__x86_
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4013b1
mov al, 1
jmp 0x4013b3
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4013c0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s_r5r5r7r.jpg
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401413
xor al, al
jmp 0x40144d
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40144b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x401d1a
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xacc
jge 0x401d3b
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be411
jg 0x401d55
inc edi
cmp edi, 0x3330601
jl 0x401d26
cmp dword [0x20f6b74], 0x400
jne 0x401d8e
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
call fcn.004045d1
push esi
call fcn.0040497d
push esi
push esi
call fcn.00404c7e
push esi
call fcn.00404cf0
add esp, 0x14
xor edi, edi
cmp edi, 0x16c76
jge 0x401da0
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401dc6
inc edi
cmp edi, 0x3003f
jl 0x401d90
mov eax, dword [0x4a9b8c]
mov dword [0x20f6b74], eax
call fcn.00401a58
mov edi, 0x3078f
cmp dword [0x20f6b74], 0x51f
jne 0x401df2
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x401dda
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x402960
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4a2d0d
call fcn.004a2b90
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0040371d
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00404cff
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x4029a8
call fcn.004034d1
mov dword [ebx], eax
call fcn.00403290
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x4029aa
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40584a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8354]
jne 0x405854
repz ret
jmp fcn.0040c81c
Function at 0x410a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a8354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004079d4
and dword [ebp - 0x14], 0
cmp dword [0x4b4d68], 0
mov dword [ebp - 0x18], eax
jne 0x410ab4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410b5c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x410b5c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b4d68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b4d6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b4d70], eax
call edi
push eax
call esi
mov dword [0x4b4d78], eax
test eax, eax
je 0x410ab4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b4d74], eax
mov eax, dword [0x4b4d74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410b0d
cmp dword [0x4b4d78], ecx
je 0x410b0d
push eax
call esi
push dword [0x4b4d78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410b0d
test ebx, ebx
je 0x410b0d
call edi
test eax, eax
je 0x410b04
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410b04
test byte [ebp - 8], 1
jne 0x410b0d
or dword [ebp + 0x10], 0x200000
jmp 0x410b40
mov eax, dword [0x4b4d6c]
cmp eax, dword [ebp - 0x18]
je 0x410b40
push eax
call esi
test eax, eax
je 0x410b40
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410b40
mov eax, dword [0x4b4d70]
cmp eax, dword [ebp - 0x18]
je 0x410b40
push eax
call esi
test eax, eax
je 0x410b40
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b4d68]
call esi
test eax, eax
je 0x410b5c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410b5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040584a
leave
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x41583a
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x78], esi
push edi
mov edi, ecx
jne 0x41585b
mov eax, 0x8876086c
jmp 0x41593d
cmp dword [ebp + 0x7c], esi
je 0x4158d5
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x18], 2
je 0x4158b5
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push esi
call ebx
mov dword [ebp + 0x6c], eax
add eax, 3
and eax, 0xfffffffc
call fcn.004ca000
mov dword [ebp + 0x7c], esp
push esi
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push esi
call ebx
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], esi
cmp dword [ebp + 0x7c], esi
je 0x4158d5
push esi
push 0x10000000
push 3
push esi
push 1
push closesocket
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4158ee
push esi
push 0x10000000
push 3
push esi
push 1
push closesocket
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x41592e
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x41592e
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
je 0x41592e
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
jne 0x41593b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x41593d
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8

Function at 0x415a9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x415aad
call fcn.00415a7b
cmp dword [ebp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
jne 0x415abe
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp dword [ebp + 0x10], esi
je 0x415ad3
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
jne 0x415ae3
push 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
je 0x415b12
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 8], eax
je 0x415b12
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebx], eax
je 0x415b12
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebx + 4], eax
jne 0x415b1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x415b21
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x415b28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x415b80
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x415b80
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x415b80
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x415ba9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x415c17
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415c0e
cmp dword [ebp - 0xc], 4
jne 0x415c0e
cmp dword [ebp - 0x10], edi
je 0x415c0e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x578848], edi
xor eax, eax
jmp 0x415c3f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x578848], edi
jge 0x415c3a
mov dword [0x578848], edi
call fcn.00415b84
test eax, eax
je 0x415c3a
emms
mov dword [0x578848], 1
mov eax, dword [0x578848]
pop edi
leave
ret

Function at 0x415d1f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x415d56
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x415d78
cmp dword [ebp - 0x20], 4
ja 0x415d82
jne 0x415d72
cmp dword [ebp - 0x1c], 0xa
jb 0x415d72
cmp word [ebp - 0x18], 0x55d
jae 0x415d82
mov byte [ebp + 0x73], 1
jmp 0x415d82
cmp dword [ebp - 0x14], 2
jne 0x415d98
test bl, bl
je 0x415db3
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x415da3
dec eax
je 0x415d9c
sub eax, 3
jne 0x415d98
cmp byte [ebp + 0x73], 0
je 0x415dc4
xor eax, eax
jmp 0x415dcc
call fcn.00415c42
jmp 0x415dcc
cmp byte [ebp + 0x73], 0
jne 0x415d98
call fcn.00415c7a
and eax, 4
jmp 0x415dcc
cmp dword [ebp + 0x7c], 0xa
je 0x415dc4
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x415dcc
call fcn.00415c7a
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x41bf93
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x41bfc0
push esi
call fcn.0042565f
cmp byte [esi + 0x40], 0
pop ecx
je 0x41bfb9
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x41c02f
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x41c024
mov eax, dword [esi + 8]
test eax, eax
je 0x41bfe1
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x41c020
cmp eax, 2
je 0x41c024
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41bfd6
cmp eax, 3
je 0x41c005
cmp eax, 1
jne 0x41bfd6
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x41bfd6
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x41bfd6
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x41c04d
cmp eax, 0xcc
je 0x41c04d
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.0041bcf2
pop esi
ret

Function at 0x4270cb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4270d9
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x4271ad
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x548cf0]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x548cf0]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x548cf0]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x548cf0]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x548cf0]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x548cf0]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x548cf0]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x548cf0]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x4270f6
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x4271cd
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x548cf0]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x4271b3
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x43c980
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x57bbb4]
xor eax, esp
mov dword [esp + 0x400], eax
lea eax, [esp + 0x40c]
push eax
push 0
push dword [esp + 0x410]
lea eax, [esp + 0xc]
push 0x400
push eax
call fcn.0043c920
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.004c90dc
add esp, 0x404
ret

Function at 0x43ccd0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xd0
mov eax, dword [0x57bbb4]
xor eax, esp
mov dword [esp + 0xcc], eax
push esi
push edi
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43cd2d
lea eax, [esp + 0xc]
push eax
push 0x20
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0xc]
test eax, eax
jne 0x43cd46
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.004c90dc
add esp, 0xd0
ret
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
je 0x43cd2d
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43cd55
movups xmm0, xmmword [0x55ad3c]
push 0x20
lea eax, [esp + 0x30]
sub edx, ecx
push eax
push 0x400
push 0x20
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0043da10
add esp, 0x24
test eax, eax
je 0x43cd2d
xor esi, esi
mov dl, byte [esp + esi + 0xc]
mov cl, dl
and dl, 0xf
shr cl, 4
cmp cl, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
cmp dl, 0xa
mov byte [esp + esi*2 + 0x4c], al
sbb al, al
and al, 0xf9
add al, 0x37
add al, dl
mov byte [esp + esi*2 + 0x4d], al
inc esi
cmp esi, 0x20
jb 0x43cd90
lea edx, [esp + 0x90]
mov byte [esp + 0x8c], 0
lea ecx, [esp + 0x2c]
call fcn.0043cc10
mov eax, edx
mov byte [esp + 0xd0], 0
push eax
lea eax, [esp + 0x50]
push eax
push 0x400
push 0x55a7a0
push 0x87
push edi
call fcn.0043ca80
mov ecx, dword [esp + 0xec]
add esp, 0x18
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c90dc
add esp, 0xd0
ret