joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
xor ecx, dword [0x415520]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 4]
xor ecx, dword [0x415524]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 8]
mov edx, dword [ebp - 0x10]
xor ebx, dword [0x415528]
mov esi, dword [edx + 0xc]
push 0x10
push eax
lea eax, [ebp - 0x20]
xor esi, dword [0x41552c]
push eax
call fcn.00406838
add esp, 0xc
mov edx, 0x1f
mov eax, esi
mov ecx, esi
shr ecx, 0x15
shl eax, 0xb
or eax, ecx
mov ecx, edx
and ecx, 3
add eax, ebx
xor eax, dword [ecx*4 + 0x415520]
mov edi, eax
mov ecx, eax
shr edi, 8
and ecx, 0xff
and edi, 0xff
movzx ecx, byte [ecx + 0x415420]
movzx edi, byte [edi + 0x415420]
shl edi, 8
or ecx, edi
mov edi, eax
shr edi, 0x10
shr eax, 0x18
and edi, 0xff
and eax, 0xff
movzx edi, byte [edi + 0x415420]
movzx eax, byte [eax + 0x415420]
shl edi, 0x10
shl eax, 0x18
or ecx, edi
or ecx, eax
mov eax, ebx
xor ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0xf
shl eax, 0x11
or eax, ecx
mov ecx, edx
and ecx, 3
xor eax, esi
dec edx
add eax, dword [ecx*4 + 0x415520]
mov edi, eax
mov ecx, eax
shr edi, 8
and ecx, 0xff
and edi, 0xff
movzx ecx, byte [ecx + 0x415420]
movzx edi, byte [edi + 0x415420]
shl edi, 8
or ecx, edi
mov edi, eax
shr edi, 0x10
shr eax, 0x18
and edi, 0xff
and eax, 0xff
movzx edi, byte [edi + 0x415420]
movzx eax, byte [eax + 0x415420]
shl edi, 0x10
shl eax, 0x18
or ecx, edi
or ecx, eax
xor ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
mov eax, ecx
mov esi, eax
mov ebx, dword [ebp - 0xc]
test edx, edx
jge 0x405cc0
mov eax, dword [ebp - 0x10]
xor ebx, dword [0x415520]
mov dword [eax], ebx
xor esi, dword [0x415524]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, dword [0x415528]
mov dword [eax + 8], ecx
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, dword [0x41552c]
mov dword [ecx + 0xc], edx
push eax
call fcn.00405dfc
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405dfc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ecx, 0x415520
mov ebx, 0x415020
xor edx, edx
mov eax, dword [ebp + 8]
movzx esi, byte [eax]
add edx, 4
mov esi, dword [ebx + esi*4]
xor dword [ecx], esi
movzx esi, byte [eax + 1]
mov esi, dword [ebx + esi*4]
xor dword [ecx + 4], esi
movzx esi, byte [eax + 2]
mov esi, dword [ebx + esi*4]
xor dword [ecx + 8], esi
movzx esi, byte [eax + 3]
add eax, 4
mov esi, dword [ebx + esi*4]
xor dword [ecx + 0xc], esi
cmp edx, 0x10
jl 0x405e10
pop esi
pop ebx
pop ebp
ret
Function at 0x40601c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor ecx, ecx
mov ebx, 0x415020
mov eax, ecx
xor edx, edx
test al, 1
je 0x406039
mov esi, eax
shr esi, 1
xor esi, 0xedb88320
jmp 0x40603d
mov esi, eax
shr esi, 1
mov eax, esi
inc edx
cmp edx, 8
jl 0x406029
mov dword [ebx], eax
inc ecx
add ebx, 4
cmp ecx, 0x100
jl 0x406025
pop esi
pop ebx
ret

Function at 0x406134
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push 0x28
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.004068a8
mov dword [ebp - 0x24], sym.SFX.exe_WndProc
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov ecx, dword [0x4108ac]
push 0x40e63d
push ecx
call sub.USER32.dll_LoadIconA
mov ebx, eax
test eax, eax
je 0x406174
mov dword [ebp - 0x14], ebx
jmp 0x406183
push 0x7f00
push 0
call sub.USER32.dll_LoadIconA
mov dword [ebp - 0x14], eax
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x28]
mov dword [ebp - 0xc], 6
mov dword [ebp - 4], 0x40e646
push edx
call sub.USER32.dll_RegisterClassA
movzx eax, ax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4061b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, eax
dec ecx
je 0x4061e8
dec ecx
je 0x4063bf
sub ecx, 0x111
je 0x4063b3
sub ecx, 0xe
je 0x40637a
jmp 0x406408
mov dword [0x4108b4], edx
push 0x104
push 0x410d14
mov eax, dword [0x4108ac]
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
call fcn.0040601c
call fcn.00402528
push 0x40e654
push 0x410d14
call fcn.0040924c
add esp, 8
mov dword [0x410cf4], eax
test eax, eax
jne 0x40624c
push 0x30
push 0x40e66b
push 0x40e657
mov edx, dword [0x4108b4]
push edx
call sub.USER32.dll_MessageBoxA
push 6
push 0xffffffffffffffff
call fcn.004065a4
add esp, 8
call fcn.00402a40
test eax, eax
jne 0x406285
push 0x30
push 0x40e686
push 0x40e677
mov ecx, dword [0x4108b4]
push ecx
call sub.USER32.dll_MessageBoxA
mov eax, dword [0x410cf4]
push eax
call fcn.00401658
pop ecx
push 2
push 0xffffffffffffffff
call fcn.004065a4
add esp, 8
push 0x100000
call fcn.0040c0c0
pop ecx
mov dword [0x40e1e8], eax
test eax, eax
je 0x4062ad
push 0x2000
call fcn.0040c0c0
pop ecx
mov dword [0x413184], eax
test eax, eax
jne 0x4062d1
push 0x30
push 0x40e6a4
push 0x40e692
mov edx, dword [0x4108b4]
push edx
call sub.USER32.dll_MessageBoxA
push 8
push 0xffffffffffffffff
call fcn.004065a4
add esp, 8
call fcn.0040219c
push 0xc0c0c0
call sub.GDI32.dll_CreateSolidBrush
mov dword [0x4108b0], eax
push 0
push 0x10
push 0x4031c0
push 0x40e1d8
call sub.USER32.dll_DdeInitializeA
test eax, eax
jne 0x406359
push 0x3ec
push 0x40e6b0
mov ecx, dword [0x40e1d8]
push ecx
call sub.USER32.dll_DdeCreateStringHandleA
mov ebx, eax
push 0x3ec
push 0x40e6b8
mov eax, dword [0x40e1d8]
push eax
call sub.USER32.dll_DdeCreateStringHandleA
mov esi, eax
push 0
push esi
push ebx
mov eax, dword [0x40e1d8]
push eax
call sub.USER32.dll_DdeConnect
mov dword [0x40e1d4], eax
push ebx
mov edx, dword [0x40e1d8]
push edx
call sub.USER32.dll_DdeFreeStringHandle
push esi
mov ecx, dword [0x40e1d8]
push ecx
call sub.USER32.dll_DdeFreeStringHandle
call fcn.0040cf9c
mov dword [0x410844], eax
call fcn.00402ca0
mov eax, dword [0x4108b4]
push eax
call sub.USER32.dll_DestroyWindow
xor eax, eax
jmp 0x406414
cmp dword [0x40e480], 0
jne 0x4063af
call fcn.0040cf9c
sub eax, dword [0x410844]
cmp eax, 0x64
jle 0x4063af
mov dword [0x40e480], 1
push 1
push 0
mov esi, ebx
push esi
call sub.USER32.dll_InvalidateRect
push esi
call sub.USER32.dll_UpdateWindow
xor eax, eax
jmp 0x406414
call fcn.00404810
mov eax, 1
jmp 0x406414
mov dword [0x40e1dc], 1
mov edx, dword [0x410cf4]
push edx
call fcn.00408f20
pop ecx
mov ecx, dword [0x4108b0]
push ecx
call sub.GDI32.dll_DeleteObject
mov eax, dword [0x40e1d4]
push eax
call sub.USER32.dll_DdeDisconnect
push 1
call fcn.0040150c
pop ecx
push 0
call sub.USER32.dll_PostQuitMessage
xor edx, edx
xor eax, eax
mov dword [0x4108b4], edx
jmp 0x406414
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push edx
call sub.USER32.dll_DefWindowProcA
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x40a9e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_SetFileAttributesA
test eax, eax
jne 0x40a9fb
call fcn.0040b28c
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40aab8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xff
mov eax, dword [ebp + 8]
push eax
push 0x41573c
call fcn.0040adcc
add esp, 0xc
lea edx, [ebp - 8]
push 0
push 0
push 0
push edx
push 0x41573c
call fcn.00408e80
add esp, 0x14
push 0x40f418
lea ecx, [ebp - 8]
push ecx
call fcn.004068d8
add esp, 8
mov byte [0x41573c], 0
push 0
push 0
push 0
push 0
push 0
push 0xff
push 0x41573c
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
test eax, eax
je 0x40ab2b
mov eax, 0x41573c
jmp 0x40ab2d
xor eax, eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x40ab34
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
test byte [ebx + 8], 8
je 0x40aba4
cmp dword [ebx + 4], 0xffffffff
jne 0x40aba4
mov dword [esi + 8], 8
mov eax, dword [ebx + 0xc]
push eax
call fcn.0040aab8
pop ecx
mov edi, eax
test edi, edi
je 0x40ab9a
add esi, 0x10
xor eax, eax
push esi
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [ebx + 4], 0xfffffffe
xor eax, eax
jmp 0x40ac64
call fcn.0040b28c
jmp 0x40ac64
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x40abb1
cmp eax, 0xfffffffe
jne 0x40abd8
mov dword [ebx + 4], 0xffffffff
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
call sub.KERNEL32.dll_FindFirstFileA
mov edi, eax
mov dword [ebx + 4], edi
cmp edi, 0xffffffff
setne al
and eax, 1
jmp 0x40abe8
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 4]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x40abf3
call fcn.0040b28c
jmp 0x40ac64
mov eax, dword [ebp - 0x148]
test al, 0x16
je 0x40ac07
mov edx, dword [ebx + 8]
and edx, eax
test dl, 0x16
je 0x40aba4
mov ecx, dword [ebp - 0x148]
mov dword [esi + 8], ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x134]
push edx
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea ecx, [esi + 0xc]
push ecx
lea eax, [esi + 0xe]
push eax
lea edx, [ebp - 8]
push edx
call sub.KERNEL32.dll_FileTimeToDosDateTime
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [esi + 4], ecx
add esi, 0x10
push esi
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ac6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
cmp byte [ebp - 0x104], 0x61
jl 0x40ac9b
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x40aca5
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x40ae68
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x40aead
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
je 0x40ae9c
cmp eax, dword [ebp + 0x10]
jle 0x40af32
mov dword [0x40f710], 8
xor eax, eax
jmp 0x40af9c
cmp dword [0x41585c], 2
jne 0x40aef2
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x40af32
xor eax, eax
jmp 0x40af9c
call sub.KERNEL32.dll_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x40af2e
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.dll_GetFullPathNameA
jmp 0x40af32
xor eax, eax
jmp 0x40af9c
lea edx, [ebp - 0x10c]
push edx
call fcn.00406968
pop ecx
mov ebx, dword [ebp + 0x10]
cmp eax, ebx
jb 0x40af54
mov dword [0x40f710], 0x22
xor eax, eax
jmp 0x40af9c
test edi, edi
jne 0x40af73
push ebx
call fcn.0040c0c0
pop ecx
mov edi, eax
test eax, eax
jne 0x40af73
mov dword [0x40f710], 8
xor eax, eax
jmp 0x40af9c
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b2c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_CreateDirectoryA
dec eax
je 0x40b2ee
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
jne 0x40b2e7
push 5
call fcn.0040b248
pop ecx
pop ebp
ret
call fcn.0040b2ac
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40b3bc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x40b3d8
call fcn.0040b2ac
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x40b3f3
test bl, 1
je 0x40b3f3
mov dword [0x40f710], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x40b504
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x40b523
mov eax, dword [0x40ef18]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x40b530
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x40b55d
je 0x40b56f
sub ecx, 0x100
je 0x40b57d
sub ecx, 0x100
je 0x40b584
sub ecx, 0x100
je 0x40b576
jmp 0x40b58b
sub ecx, 0x600
je 0x40b584
sub ecx, 0x100
je 0x40b56f
jmp 0x40b58b
mov edi, 1
jmp 0x40b590
mov edi, 2
jmp 0x40b590
mov edi, 4
jmp 0x40b590
mov edi, 5
jmp 0x40b590
mov edi, 3
test byte [ebp + 0xd], 1
je 0x40b5b7
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x40f414]
test al, 0x80
je 0x40b5b0
mov ebx, 0x80
jmp 0x40b5c9
mov ebx, 1
jmp 0x40b5c9
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x40b5c9
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x40b5db
je 0x40b5e4
dec eax
je 0x40b5ed
jmp 0x40b5f6
mov dword [ebp - 4], 0x80000000
jmp 0x40b605
mov dword [ebp - 4], 0x40000000
jmp 0x40b605
mov dword [ebp - 4], 0xc0000000
jmp 0x40b605
push 1
call fcn.0040b248
pop ecx
mov ebx, eax
jmp 0x40b6f1
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x40b621
sub eax, 0x10
je 0x40b628
sub eax, 0x10
je 0x40b631
sub eax, 0x10
je 0x40b63a
jmp 0x40b63a
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x40b641
mov dword [ebp - 8], 1
jmp 0x40b641
mov dword [ebp - 8], 2
jmp 0x40b641
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x40b6aa
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x40b69f
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x40b69f
add ebx, 0xffffffb2
push ebx
call fcn.0040b248
pop ecx
mov ebx, eax
jmp 0x40b6f1
mov edi, esi
push edi
call fcn.0040b474
pop ecx
test eax, eax
je 0x40b6be
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x40b6ca
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0040afa4
add esp, 8
mov ebx, eax
inc eax
jne 0x40b6f1
push 4
call fcn.0040b248
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c39c
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x40c778
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x40f714], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x40c830
cmp byte [0x40e059], 0
je 0x40c7ea
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.00406af4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40c7d3
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.00406af4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40c7d3
lea ebx, [ebp - 0x54]
jmp 0x40c7d4
inc ebx
call fcn.0040c730
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x40c851
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x40f718
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00406968
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40f71b
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x40c851
cmp dword [0x40f714], 0xffffffff
je 0x40c851
mov eax, dword [0x40f714]
test eax, eax
je 0x40c851
cmp byte [eax], 0
je 0x40c851
push esi
push eax
call fcn.0040c8e0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b5cc
Capabilities:
Check for software breakpoints

Disassembly:
sar dl, 1
xchg edi, eax
mov edx, 0xd4582caf
or eax, 0x3e945812
invalid
fsub qword [ecx]
dec esp
scasb al, byte es:[edi]
jnp 0x43b57c
cmc
dec esi
std
pop eax
mov cl, 0xcc
invalid

Function at 0x4680f6
Capabilities:
Authenticate hmac

Disassembly:
xchg esi, eax
shr byte [edx + 0x52334b37], cl
cmp eax, 0x7674df8e
xor al, byte [si - 0x5df6]
xor eax, 0x8b44515b

Function at 0x468126
Capabilities:
Authenticate hmac

Disassembly:
rcl dword [edi + 2], cl
call 0xdb3ad29b
xor dword [edi], esi
and ecx, dword [eax - 0x1e]
add al, 0xf0
movsw word es:[edi], word [esi]
lds ebx, [ecx + 0x34]
jno 0x468176
mov dword [ecx + 0x76], ebp
adc ah, byte [eax]
or eax, 0x3a364b20
xor al, 0x42
push edi
lea esi, [ecx - 0xc]
mov cl, 0xcb
adc al, 0x53
jmp 0x46810c
add dword [ecx], ecx
bound edi, qword [esi]
test al, 0xa0
pushfd
xor eax, 0xf1936423

Function at 0x468226
Capabilities:
Authenticate hmac

Disassembly:
xchg ebx, eax
int1
aaa
in al, 0x81
jmp 0x4681fc
jne 0x46817f
mov dl, 0x32
adc byte [edi], al
adc ebp, dword [edi + esi + 0x3026860b]
xchg esp, eax
ficom word [edi + edx*4 + 0x64]
pop ecx
push edi
sar edi, 0x32
add eax, 0x4a6f967
stosd dword es:[edi], eax
cmp ebp, dword [esi]
inc ebx
xor al, 0x8d
dec ebx
xor al, 0xfe
xor dword [ebx + 0x32], eax
pop ebp
push es
bound edi, qword [eax + eax*2 + 0x3cc05733]
nop
mov esp, 0xc0573340
cmp al, 0x90
sub dword [edi - 9], 0x3b
xor al, 0x2a
test bh, 0x84
or al, 0xe5
sbb al, 0x92
mov dh, 0x65
jge 0x4681f3
bound edi, qword cs:[edi - 0x5d]
mov al, 0x13
cmp byte [esi - 0x1cc8ec44], ah
push ecx
test byte [edi], ch
fdivr qword [0x33d02707]
aaa
je 0x46820f
imul ebx, dword [ebp + 0x37], 7
sbb byte [edx + 0x3f], cl
loope 0x468194
ret 0x4a48
cmp ebp, dword [edx - 0x18f9c810]
mov edi, 0xb576be1b
jbe 0x4681b3
stosb byte es:[edi], al
pushal
mov ah, byte [esi]
inc ebp
jb 0x468186
push es
ror dword [ebx - 0x3e], 0x8d
push edx
daa
sbb al, 0x15
inc esp
jno 0x468233
mov bl, 0x5c
salc
push edx
std
jno fcn.00468226
pop edx
ffreep st(7)
jne 0x4681a3
ja 0x468216
test ebp, 0xa3b27728
mov ch, 0x54
push esp
push esp
xchg dword [esi + 0x3f], eax
push 0x54
loop 0x4681e5
les ebp, [ecx]
dec esi
and al, 0x85
mov cl, 0x42
aas
jb 0x468277
fistp qword [esi]
inc edi
sar dword [ebp - 0x39], 1
stosb byte es:[edi], al
hlt
add esi, dword [edi - 0x29]
pop ebx
xchg esi, eax
push esi
out 0x36, al
in al, 0
dec ebp
not byte [ecx - 0x50]
ret 0x5e57
Function at 0x47ce36
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x3f9cf7fe]
push dword [edx]
and byte [esi - 0x2e], 0x4e
std
adc al, 0x7f
inc ecx
mov bl, 0xb0
wait
mov dl, 0xa5
mov dh, 0xaa
enter 0xffffffffffffb3f3, 0x37
dec ecx
adc eax, 0x716cf5c2
mov edx, 0x6a2dff01
popal
mov fs, esp
push 0x96578a25
xor dword [ecx + esi*8 + 0x5d698419], esp
jle 0x47ce98
pop esi
test al, 0x1a
out dx, eax
pop ebx
ret
clc
dec eax
mov edi, 0xe844c400
salc
mov cl, 0x36
loopne 0x47ce88
pop edx
hlt
mov al, dl
outsd dx, dword [esi]
inc edi
xchg ebx, eax
mov cl, 0x4b
push esp
aas
movsb byte es:[edi], byte [esi]
xchg ecx, eax
cmp dword [edi - 0x64], 0xe1d809d6
inc esi
dec edi
lahf
and edi, edi
jns 0x47ce20
add dword [edx - 0x344ee05c], ecx
fcom dword [ecx - 0x5a]
dec edi
xor eax, 0xa79acce9
push 0xfffffffffffffff1
int1
inc ebx
scasb al, byte es:[edi]
jg 0x47cf04
and al, 0xcf
cli
inc esi
push eax
jb 0x47cf0a
xor esi, esi
jmp [ecx + 0x14213b93]
rcr byte [ebx - 0x34], 1
fimul word [edx]
mov cl, 0xf3
jne 0x47ce9e
dec edi
loopne 0x47ce73
mov dh, 0x5a
cmpsd dword [esi], dword es:[edi]
cmp al, 0x8d
push dword [edi + 0x189d67a3]
adc al, byte [ecx - 0x43]
pop es
wait
stc
jl 0x47ce65
mov bh, 0xa3
popfd
sbb byte [edx], dl
inc ecx
mov ebp, 0x7cf99b07
xchg edx, eax
mov cs, word [ecx - 0xefe2e8d]
test eax, 0x6dd611f0
inc eax
xchg ebp, eax
out dx, al
lea edx, [ebx]
into
xchg edx, eax
mov esi, 0x2ff07cf5
sub byte [edi + 0x56daa310], bl
ret
jns 0x47ceb4
wait
outsb dx, byte [esi]
jno 0x47cf1a
loope 0x47cec6
xchg esp, eax
add edi, dword [ebp - 0x773ec0b0]
rol dword [esi], 0xe1
sar dword [edx + 0x73cad662], cl
push 0x49
cmpsd dword [esi], dword es:[edi]
aas
movsd dword es:[edi], dword [esi]
adc bh, cl
fcomp dword [ecx]
les esp, [ebp + edi*2 + 0x2dfa14f1]
mov bl, byte [edx + 0x64cc54cc]
adc al, 0x17
xchg ecx, eax
invalid
retf 0x6a73

Function at 0x486f69
Capabilities:
Encode data using xor

Disassembly:
pop es
dec eax
in eax, 0xbb
pop ds
inc esi
sbb ebp, ebx
stc
mov eax, dword [0x475b3da2]
cmp eax, 0xd30475b
pushal
sbb al, 0x43
add dh, ah
cmp eax, 0xd30475b
pushal
sbb al, 0x43
add dh, ah
ja 0x486f5e
push ds
arpl cx, bp
mov bh, cl
cmp bh, byte [edx + 0xa8b1a4f]
jmp 0x486fc8
call 0xe8f0f7fd
sub bl, bl
push 0xffffffffffffffed
and byte [ebx + 0x369cf0b9], bh
in al, dx
jb 0x48701d
fyl2x
add dword [ebx - 0x17], edi
jnp 0x486fb3
push 0xffffffffffffffb4
sbb dword [0x298375df], eax
sti
insb byte es:[edi], dx
mov ch, 0x97
inc ebx
out dx, al
dec esp
mov byte [0x3b0a2749], al
dec ecx
daa
or bh, byte [ebx]
iretd
push 0x3a84a8dc
mov al, 0x4d
inc eax
in eax, dx
lcall 0x52b1, 0x5ee8b56a
xchg esp, eax
mov byte [0x763f9089], al
mov bh, 0x1d
pop eax
imul ebp, dword [ebx], 0x6e6dfdc8
ja 0x486fdb
cdq
pop edi
movsd dword es:[edi], dword [esi]
stosd dword es:[edi], eax
mov esi, 0xc7b542cc
pop eax
ja 0x4870c0
pop edi
lodsb al, byte [esi]
dec esi
pushfd
mov ebp, 0xa348a718
mov edx, 0x8bb736a1
sbb cl, byte [eax - 0x70]
invalid
adc al, 0xc6
call 0x3bcfb65e
push cs
into
inc edx
inc ebp
cmp byte [edx + edi*2 + 0x5b], 0x6c
pop esi
dec esp
mov dl, 0x23
out 0x11, al
int3