joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f1ca
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x478
mov eax, 0x100441c4
call fcn.1002b85a
mov esi, ecx
push esi
mov dword [ebp - 0x42c], esi
call fcn.1001f0b5
pop ecx
test eax, eax
je 0x1001f443
push esi
call fcn.1001f0fb
pop ecx
test eax, eax
je 0x1001f443
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x428], ebx
call fcn.1002cd00
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.1000d602
push eax
push str.___08x
lea ecx, [ebp - 0x468]
call fcn.1000e35e
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x1001f25a
mov eax, dword [eax + 4]
jmp 0x1001f25d
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.10002807
lea esi, [ebp - 0x21c]
call fcn.1000cf84
test eax, eax
je 0x1001f42f
mov ecx, dword [ebp - 0x42c]
mov edx, esi
call fcn.1001dde3
test eax, eax
jne 0x1001f42f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x434], eax
push ebx
lea eax, [ebp - 0x428]
push ebx
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x434]
push eax
push 0x1001f44b
push 1
mov eax, esi
push eax
call fcn.1000cc1d
cmp dword [ebp - 0x428], ebx
je 0x1001f42f
xor eax, eax
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.1002cd00
add esp, 0xc
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x42c]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
cmp esi, ebx
je 0x1001f334
push str..rar
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001f334
mov esi, str..zip
push esi
call fcn.1000d602
push eax
push str..._08x._s
lea ecx, [ebp - 0x468]
call fcn.1000e35e
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x1001f359
mov eax, dword [eax + 4]
jmp 0x1001f35c
add eax, 4
push eax
lea eax, [ebp - 0x424]
push eax
call edi
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.10002807
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.1000ce37
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], ebx
call fcn.10021570
add esp, 0xc
mov ecx, eax
lea ebx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.1001d939
mov ebx, eax
neg ebx
sbb bl, bl
lea edi, [ebp - 0x484]
inc bl
mov byte [ebp - 4], 0
call fcn.100028fc
push dword [ebp - 0x484]
call fcn.1002adba
pop ecx
test bl, bl
je 0x1001f40d
xor esi, esi
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push eax
call fcn.1001eef2
pop ecx
test eax, eax
jne 0x1001f414
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x1001f3d9
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1001f414
and dword [ebp - 0x428], 0
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x44c]
call fcn.1000296b
push dword [ebp - 0x44c]
call fcn.1002adba
pop ecx
lea eax, [ebp - 0x21c]
push eax
call fcn.1000d3f2
mov eax, dword [ebp - 0x428]
jmp 0x1001f445
xor eax, eax
call fcn.1002b8dd
ret
Function at 0x1001f46c
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x10053060]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x1001f575
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f575
and dword [esp + 0x10], 0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
call fcn.1002cd00
add esp, 0xc
call fcn.1000d602
push eax
push esi
push str._s._08x
lea eax, [esp + 0x24]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push esi
call fcn.1001efcd
pop ecx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1001ee2d
xor edi, edi
pop ecx
inc edi
pop ecx
test eax, eax
je 0x1001f548
and dword [esp + 0x14], 0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.1001eef2
pop ecx
test eax, eax
jne 0x1001f52a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 5
jl 0x1001f504
jmp 0x1001f548
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x10], edi
jne 0x1001f548
push 2
mov ecx, esi
call fcn.1001f1ca
pop ecx
test eax, eax
je 0x1001f548
test ebx, ebx
je 0x1001f548
mov dword [ebx], edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], edi
jne 0x1001f56f
push edi
mov ecx, esi
call fcn.1001f1ca
pop ecx
test eax, eax
je 0x1001f56f
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x1001f56f
mov dword [ebx], edi
mov eax, dword [esp + 0x10]
jmp 0x1001f577
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002a90b
mov esp, ebp
pop ebp
ret

Function at 0x10021cea
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.1002cd00
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.1000221e
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002a90b
add ebp, 0x190
leave
ret
Function at 0x10022c0c
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x10040287
call fcn.1002b85a
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10022c2b
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10002d6f
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x10022d30
jmp 0x10022c5c
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10048a88]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x10022c70
cmp al, 0xff
je 0x10022c5c
cmp al, 0xff
je 0x10022d30
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10048a88]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x10022c90
cmp cl, 0xff
je 0x10022c78
cmp cl, 0xff
je 0x10022d30
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000ed51
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10022d30
movsx eax, al
mov al, byte [eax + 0x10048a88]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x10022cd0
cmp al, 0xff
je 0x10022cb0
cmp al, 0xff
je 0x10022d30
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000ed51
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10022d30
movsx eax, al
mov cl, byte [eax + 0x10048a88]
cmp esi, dword [ebp - 0x30]
jae 0x10022d0e
cmp cl, 0xff
je 0x10022cf0
cmp cl, 0xff
je 0x10022d30
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.1000ed51
cmp esi, dword [ebp - 0x30]
jb 0x10022c59
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.100021ee
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000270f
mov eax, dword [ebp - 0x38]
call fcn.1002b8dd
ret
Function at 0x10023c89
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push edi
xor eax, eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x12], 0x5c
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
pop edi
cmp eax, 2
je 0x10023cc7
cmp eax, 3
jne 0x10023cdf
push ebx
call fcn.1000d748
pop ecx
cmp eax, 0xffffffff
je 0x10023cec
cmp eax, 7
jne 0x10023cdf
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x10023cee
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a90b
leave
ret

Function at 0x10023efa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x10023f14
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x10023f10
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002402f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.100241f5
mov bl, al
mov al, dl
call fcn.100241f5
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.100241f5
mov bl, al
mov al, byte [esi - 4]
call fcn.100241f5
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.100241f5
mov bl, al
mov al, byte [esi]
call fcn.100241f5
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.100241f5
mov bl, al
mov al, byte [esi - 0xc]
call fcn.100241f5
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x10024057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002a90b
leave
ret 4
Function at 0x100240e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.10024271
push ebx
mov dl, al
call fcn.1002424a
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.10024205
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.10024223
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.10024205
push ebx
mov byte [ebp - 0x15], al
call fcn.10024223
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1002424a
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.10024271
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1002424a
mov bl, al
mov al, byte [edi + 4]
call fcn.10024271
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.10024223
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10024205
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.10024223
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.10024205
xor bl, al
mov al, dl
call fcn.10024271
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002424a
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x10024110
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002a90b
leave
ret 4

Function at 0x100247ea
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x1003fef8
call fcn.1002b85a
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push 0x80000000
push dword [ebp - 0x28]
call dword [0x10057320]
push eax
lea esi, [ebp - 0x20]
call fcn.100247ae
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x10024853
cmp ecx, 0xffffffff
jne 0x10024859
inc edi
cmp edi, 4
jb 0x10024823
cmp ecx, ebx
je 0x10024864
or eax, 0xffffffff
cmp ecx, eax
jne 0x10024874
lea eax, [ebp - 0x20]
call fcn.1000406f
xor eax, eax
call fcn.1002b8dd
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x100248a1
cmp dword [ebp - 0x18], 0x706c646f
je 0x100248ad
lea eax, [ebp - 0x20]
call fcn.1000406f
mov eax, ebx
jmp 0x1002486e
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x100248bc
dec eax
jne 0x100248a1
push 3
pop ebx
jmp 0x100248a1
push 2
jmp 0x100248b9
Function at 0x10024905
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x1002490a
ret

Function at 0x100249b6
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
ja 0x100249f3
jb 0x10024b0c
cmp eax, 0x1000
jb 0x10024b0c
push 1
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov dword [ebp - 0x20], edi
call esi
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10024a40
cmp dword [ebp - 0x1c], eax
jne 0x10024b0c
push eax
jmp 0x10024af9
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x10024a55
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x10024af3
cmp dword [ebx + 4], 0x706c646f
jne 0x10024af3
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x10024a7b
cmp eax, 3
jne 0x10024af3
push dword [ebx + 0x18c]
push ebx
call fcn.10024905
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x10024ad4
cmp dword [ebx + 0x1a0], 0x40
ja 0x10024ad4
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x10024ad4
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x10024ad4
cmp ax, 0xc
ja 0x10024ad4
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x10024ad4
cmp ax, 0x1f
ja 0x10024ad4
xor ebx, ebx
inc ebx
jmp 0x10024ad6
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
jne 0x10024aef
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
mov eax, ebx
jmp 0x10024b0e
cmp dword [ebp - 0x1c], edi
jne 0x10024b0c
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10027ea3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10027ec7
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10054640]
dec edx
inc ecx
test edx, edx
jne 0x10027eab
pop esi
not eax
ret

Function at 0x10028019
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.1002cd00
mov esi, 0x10049cf4
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x10028069
lea eax, [ebp - 0x5c]
call fcn.1002a255
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.1002a280
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.1002a280
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1002a318
lea eax, [ebp - 0xb8]
call fcn.1002a255
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.1002a280
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.1002a280
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1002a318
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.1000e8f3
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002a90b
add ebp, 0x6c
leave
ret
Function at 0x10028113
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xa7]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xa8], 0
call fcn.1002cd00
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x10028178
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.1002d230
add esp, 0xc
jmp 0x100281b1
lea eax, [ebp - 0x138]
call fcn.1002a3d9
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002a419
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.1002a4a5
pop ecx
pop ecx
push 0x10
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0xa8]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x48], dl
mov byte [ebp + ecx - 0x110], al
inc ecx
cmp ecx, 0x40
jb 0x100281b3
lea eax, [ebp - 0xd0]
call fcn.1002a3d9
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002a419
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002a419
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002a4a5
lea eax, [ebp - 0xd0]
call fcn.1002a3d9
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002a419
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002a419
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002a4a5
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.1000e8f3
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002a90b
leave
ret
Function at 0x1002837d
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
push ebx
push esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, eax
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
xor esi, 0x677d9197
xor edi, 0xb27022dc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ecx + 0x100489b0]
xor eax, dword [ebp + ecx - 0x20]
xor eax, dword [ebp + ecx - 0x18]
xor eax, dword [ebp + ecx - 0x1c]
mov edx, eax
shr edx, 0x18
mov ebx, eax
movzx edx, dl
mov dl, byte [edx + 0x100488a0]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x100488a0]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x100488a0]
mov byte [ebp + 0x73], al
movzx eax, byte [ebp + 0x70]
shr ebx, 8
movzx edx, dl
shl eax, 8
or eax, edx
movzx esi, bl
mov bl, byte [esi + 0x100488a0]
shl eax, 8
movzx edx, bl
or eax, edx
movzx edx, byte [ebp + 0x73]
shl eax, 8
or eax, edx
mov edx, eax
rol edx, 0xd
mov esi, eax
ror esi, 9
xor edx, esi
xor edx, dword [ebp + ecx - 0x24]
xor edx, eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + ecx - 0x14], edx
mov dword [ecx + eax], edx
add ecx, 4
cmp ecx, 0x80
jb 0x1002842c
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x1002904d
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x1002a255
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x1002a90b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10053060]
jne 0x1002a915
repz ret
jmp fcn.1002b8fb

Function at 0x10032389
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1002c081
and dword [ebp - 4], 0
cmp dword [0x10056814], 0
mov ebx, eax
jne 0x1003243a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100324eb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100324eb
push eax
call fcn.1002c00f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10056814], eax
call esi
push eax
call fcn.1002c00f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10056818], eax
call esi
push eax
call fcn.1002c00f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1005681c], eax
call esi
push eax
call fcn.1002c00f
pop ecx
mov dword [0x10056824], eax
test eax, eax
je 0x1003243a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1002c00f
pop ecx
mov dword [0x10056820], eax
mov eax, dword [0x10056820]
cmp eax, ebx
je 0x10032492
cmp dword [0x10056824], ebx
je 0x10032492
push eax
call fcn.1002c08a
push dword [0x10056824]
mov esi, eax
call fcn.1002c08a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10032492
test edi, edi
je 0x10032492
call esi
test eax, eax
je 0x10032489
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10032489
test byte [ebp - 0xc], 1
jne 0x10032492
or dword [ebp + 0x10], 0x200000
jmp 0x100324cb
mov eax, dword [0x10056818]
cmp eax, ebx
je 0x100324cb
push eax
call fcn.1002c08a
pop ecx
test eax, eax
je 0x100324cb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100324cb
mov eax, dword [0x1005681c]
cmp eax, ebx
je 0x100324cb
push eax
call fcn.1002c08a
pop ecx
test eax, eax
je 0x100324cb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10056814]
call fcn.1002c08a
pop ecx
test eax, eax
je 0x100324eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100324ed
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret