joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4542f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0044e9d0
test eax, eax
je 0x4543df
mov ecx, edi
call fcn.0044e9d0
mov ecx, eax
call fcn.0044bfa0
test eax, eax
jne 0x4543df
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4543df
mov eax, dword [0x6eb238]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x454352
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0044e9d0
mov ecx, eax
call fcn.0044c1d0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4543df
cmp ebx, eax
jne 0x4543df
cmp dword [esp + 0x10], eax
jne 0x4543c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x457070
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a4618
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4570a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4571bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4570bd
mov eax, 0xffffffc7
jmp 0x4571be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4570ce
cmp dword [esi + 8], eax
jne 0x4570bd
cmp dword [esi + 8], eax
jne 0x4570e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4570e7
mov eax, 0xffffffc7
jmp 0x4571be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4570fb
push eax
mov ecx, ebx
call fcn.004568a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004296c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x45712c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004296e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00456010
test eax, eax
mov dword [esp + 0x38], eax
je 0x45715f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6bcf18
call fcn.004298c0
mov eax, dword [esp + 0x38]
jmp 0x4571be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00456ed0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4571a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00456ef0
mov esi, eax
test esi, esi
jne 0x4571d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00456ed0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x457175
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6bcf18
call fcn.004298c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6bcf18
call fcn.004298c0
mov eax, esi
jmp 0x4571be

Function at 0x45bb90
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x45bbf0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x45bbf0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45bbf0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x45bbf0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x45bc30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x467730
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0049dbc2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00467080
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0049daf0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0049a3b6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0049a3b6
push 1
push 0
push 0
mov ecx, esi
call fcn.0049a35e
push 1
push 0
push 1
mov ecx, esi
call fcn.0049a35e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049dc34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4678b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0049dbc2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00467080
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0049daf0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x467974
cmp dword [esp + 0x40], 1
jne 0x467972
cmp ecx, eax
jge 0x467974
mov eax, ecx
cmp eax, 0xc8
jge 0x467980
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00467730
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049dc34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x468180
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4fd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004987d1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0049de6a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0049f386
test eax, eax
je 0x46829c
mov ecx, dword [esp + 0x3c]
call fcn.0049de97
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x468260
push edi
mov ecx, esi
call fcn.0049b501
mov ecx, esi
call fcn.00468440
cmp dword [esp + 0x38], 1
jne 0x468295
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0049b63c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x46a490
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46a4c3
push esi
call fcn.00478870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46a4bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x46a549
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46a532
mov eax, dword [esi + 8]
test eax, eax
je 0x46a4e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46a52e
cmp eax, 2
je 0x46a532
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46a4da
cmp eax, 3
je 0x46a50d
cmp eax, 1
jne 0x46a4da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46a4da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46a4da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046a570
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46a558
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046a570
add esp, 4
pop esi
ret

Function at 0x46adf0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46ae11
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x46ae11
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46ae11
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4995c7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4995ff
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049767e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00497656
jmp 0x49960b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49acbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49ad00
call fcn.004a0771
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49ad00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49acf7
xor eax, eax
jmp 0x49ad08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049ad0e
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a0ca1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a0ccf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a0ced
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a0c07
jmp 0x4a0ced
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a0ced
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a0c07
test edi, edi
mov eax, edi
jne 0x4a0cd7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401338
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov edx, str.SeDebugPrivilege
lea ecx, [ebp - 0x10]
call fcn.0040124a
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
push dword [ebp + 8]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
pop esi
leave
ret
Function at 0x406bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406c18
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406c18
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x406c08
cmp esi, ecx
jae 0x406c18
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x406bf6
cmp esi, ecx
jae 0x406c18
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x406c1a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41800f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov esi, edi
mov dword [esp + 0x10], edx
shr esi, 5
mov ebx, edi
inc esi
mov dword [esp + 0x14], eax
mov edx, edi
cmp edi, esi
jb 0x41805c
mov edi, dword [esp + 0x10]
movzx ecx, byte [edi + edx - 1]
mov eax, ebx
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp edx, esi
jae 0x41803a
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov esi, dword [eax + ecx*4]
jmp 0x418088
cmp dword [esi + 0xc], edi
jne 0x418086
push edi
lea eax, [esi + 0x10]
push eax
push dword [esp + 0x18]
call fcn.004da4e8
add esp, 0xc
test eax, eax
je 0x4180a4
mov esi, dword [esi]
test esi, esi
jne 0x41806c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
push edi
call fcn.00417f73
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov bl, byte [esi + 5]
mov eax, dword [ecx + 0x10]
movzx ecx, bl
movzx edx, byte [eax + 0x14]
not edx
and edx, ecx
test dl, 3
je 0x4180c4
xor bl, 3
mov byte [esi + 5], bl
mov eax, esi
jmp 0x41809d

Function at 0x41dc72
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x577014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ebx, 0x200
push esi
xor esi, esi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], esi
mov esi, edx
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x218]
call fcn.0041b53c
cmp ebx, edi
mov ecx, edi
push esi
cmovbe ecx, ebx
mov ebx, ecx
push ebx
push 1
push eax
call fcn.004f4c8e
add dword [ebp - 0x218], eax
add esp, 0x10
sub edi, eax
je 0x41dce3
cmp eax, ebx
je 0x41dcb4
lea ecx, [ebp - 0x218]
call fcn.0041b58f
push 0
pop esi
test edi, edi
je 0x41dd07
mov ecx, dword [ebp - 0x220]
or edx, 0xffffffff
call fcn.004101b2
test eax, eax
je 0x41dd0a
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d818b
leave
ret
Function at 0x42646a
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push 0x70
push 0
lea eax, [esi + 8]
mov dword [esi], vtable.SHA::CSHAContext256.0
push eax
call fcn.004d9f30
add esp, 0xc
mov dword [esi + 0x58], 0x6a09e667
mov dword [esi + 0x5c], 0xbb67ae85
mov eax, esi
mov dword [esi + 0x60], 0x3c6ef372
mov dword [esi + 0x64], 0xa54ff53a
mov dword [esi + 0x68], 0x510e527f
mov dword [esi + 0x6c], 0x9b05688c
mov dword [esi + 0x70], 0x1f83d9ab
mov dword [esi + 0x74], 0x5be0cd19
pop esi
ret
Function at 0x42760e
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], vtable.SHA::CSHAContext1.0
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x64], eax
mov word [ecx + 0x68], ax
mov eax, ecx
mov dword [ecx + 4], vtable.SHA1.0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
ret
Function at 0x4279ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x577014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x124], ebx
mov esi, edi
add edx, 2
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
lea edx, [edx + 4]
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jb 0x427a12
push 0x40
pop eax
cmp esi, eax
jae 0x427a9a
sub eax, esi
lea edi, [ebp + esi*4 - 0x10c]
mov dword [ebp - 0x108], eax
mov ebx, eax
mov ecx, dword [edi - 0x34]
mov esi, ecx
mov edx, dword [edi]
mov eax, ecx
ror esi, 0x12
lea edi, [edi + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
ror eax, 0x11
ror ecx, 0x13
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [edi - 0x3c]
add esi, dword [edi - 0x18]
mov dword [edi + 4], esi
sub ebx, 1
jne 0x427a58
mov ebx, dword [ebp - 0x124]
xor edi, edi
mov eax, dword [ebx + 0x50]
mov edx, dword [ebx + 0x64]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebx + 0x60]
mov ecx, eax
mov dword [ebp - 0x11c], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x118], eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [ebp - 0x128]
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x108], eax
jmp 0x427af8
mov edx, dword [ebp - 0x114]
and edx, dword [ebp - 0x11c]
mov esi, ecx
mov eax, ecx
ror esi, 0x19
ror eax, 0xb
xor esi, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x118]
xor esi, eax
xor ecx, edx
mov eax, ebx
ror eax, 0xd
mov edx, ebx
ror edx, 0x16
add esi, ecx
add esi, dword [edi + 0x53fc70]
xor edx, eax
add esi, dword [ebp + edi - 0x104]
mov eax, ebx
add esi, dword [ebp - 0x108]
add edi, 4
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10c]
mov ecx, eax
and eax, ebx
xor ecx, ebx
and ecx, dword [ebp - 0x110]
xor ecx, eax
mov eax, dword [ebp - 0x118]
add edx, ecx
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x114], eax
add ecx, esi
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x10c], ebx
lea ebx, [edx + esi]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], eax
cmp edi, 0x100
jb 0x427af2
mov eax, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x10c]
add eax, ebx
mov ebx, dword [ebp - 0x124]
pop edi
pop esi
add dword [ebx + 0x60], ecx
mov ecx, dword [ebp - 0x114]
add dword [ebx + 0x64], ecx
add dword [ebx + 0x54], edx
mov ecx, dword [ebp - 0x118]
add dword [ebx + 0x68], ecx
mov ecx, dword [ebp - 0x108]
add dword [ebx + 0x6c], ecx
mov edx, dword [ebp - 0x110]
add dword [ebx + 0x58], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x120]
xor ecx, ebp
add dword [ebx + 0x5c], edx
mov dword [ebx + 0x50], eax
pop ebx
call fcn.004d818b
leave
ret
Function at 0x4283a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x577014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x410
mov esi, ecx
lea eax, [ebp - 0x414]
push 0
mov dword [ebp - 0x418], esi
push eax
mov dword [ebp - 0x418], esi
call fcn.004d9f30
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42840c
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.00406fea
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d818b
leave
ret
call fcn.00406710
sub esp, 0xc
mov ecx, esp
push 0x5f
push eax
call fcn.00406682
lea ecx, [ebp - 0x428]
call fcn.004066ad
push 0x57378c
lea eax, [ebp - 0x428]
push eax
call fcn.004dc0f7
int3

Function at 0x428612
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5126d9
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.004d9200
mov eax, dword [0x577014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x2014], esi
mov dword [ebp - 0x2014], esi
xor ebx, ebx
push 0x2000
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.004d9f30
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x4286e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x90
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x2024]
call fcn.00406620
lea eax, [ebp - 0x2024]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0040121b
mov ecx, dword [ebp - 0x201c]
add ecx, 0xfffffff0
call fcn.00407189
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x428715
lea eax, [ebp - 0x2010]
push eax
call fcn.004ddaa2
pop ecx
push eax
lea eax, [ebp - 0x2010]
mov ecx, edi
push eax
call fcn.00406efb
lea ecx, [esi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0040687a
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d818b
leave
ret