joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481e28
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x481f10
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x4af8b4], 1
jae 0x481f02
xor eax, eax
mov dword [0x4af4c0], eax
xor eax, eax
mov dword [0x4af4c8], eax
xor eax, eax
mov dword [0x4af4cc], eax
mov byte [0x4af4d2], 2
mov byte [0x4af4d3], 2
mov byte [0x4af4d4], 3
mov word [0x4af87c], 0
mov word [0x4af88c], 1
mov word [0x4af89c], 0xa
mov dword [0x4af8a4], 0x80020004
mov dword [0x4af870], 0x480840
mov dword [0x4af874], 0x480838
mov dword [0x4af878], 0x480840
call fcn.0047ee30
test al, al
je 0x481ec1
call fcn.0047ee60
call fcn.0047ef24
mov eax, 0x4af4d8
mov edx, 0x481f1c
call fcn.0047c3a2
mov eax, 0x4af6a4
mov edx, 0x481f1c
call fcn.0047c3a2
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4af4b8], eax
call fcn.0047d358
mov dword [0x4af4b4], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4af4ac], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481f17
ret

Function at 0x483ebc
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 0x483ed8
call fcn.00485244
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x483ef4
test bl, 1
je 0x483ef4
call fcn.0048b500
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4840d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00484de0
test byte [ebp + 0xd], 0xc0
jne 0x4840fc
mov eax, dword [0x4ab44c]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x484109
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x484136
je 0x484148
sub ecx, 0x100
je 0x484156
sub ecx, 0x100
je 0x48415d
sub ecx, 0x100
je 0x48414f
jmp 0x484164
sub ecx, 0x600
je 0x48415d
sub ecx, 0x100
je 0x484148
jmp 0x484164
mov edi, 1
jmp 0x484169
mov edi, 2
jmp 0x484169
mov edi, 4
jmp 0x484169
mov edi, 5
jmp 0x484169
mov edi, 3
test byte [ebp + 0xd], 1
je 0x484190
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4aaec4]
test al, 0x80
je 0x484189
mov ebx, 0x80
jmp 0x4841a2
mov ebx, 1
jmp 0x4841a2
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4841a2
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4841b4
je 0x4841bd
dec eax
je 0x4841c6
jmp 0x4841cf
mov dword [ebp - 4], 0x80000000
jmp 0x4841de
mov dword [ebp - 4], 0x40000000
jmp 0x4841de
mov dword [ebp - 4], 0xc0000000
jmp 0x4841de
push 1
call fcn.004851d8
pop ecx
mov ebx, eax
jmp 0x4842ce
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4841fa
sub eax, 0x10
je 0x484201
sub eax, 0x10
je 0x48420a
sub eax, 0x10
je 0x484213
jmp 0x484213
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x48421a
mov dword [ebp - 8], 1
jmp 0x48421a
mov dword [ebp - 8], 2
jmp 0x48421a
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 0x484287
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x48427c
test byte [ebp + 0xd], 1
je 0x484277
mov ebx, 0x50
jmp 0x48427c
mov ebx, 2
push ebx
call fcn.004851d8
pop ecx
mov ebx, eax
jmp 0x4842ce
mov edi, esi
push edi
call fcn.0048403c
pop ecx
test eax, eax
je 0x48429b
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4842a7
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00484f00
add esp, 8
mov ebx, eax
inc eax
jne 0x4842ce
push 4
call fcn.004851d8
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00484e14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4883e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00482ce8
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00482d78
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00482d78
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4ac06d
lea ecx, [ebp - 0x200]
push ecx
call fcn.00482ce8
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00482d78
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00489580
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4884f5
push esi
call fcn.00482d78
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00482d78
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00482764
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x4884cc
xor eax, eax
jmp 0x48857c
push esi
call fcn.00482d78
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00482d78
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00482c44
add esp, 0xc
jmp 0x488535
mov edi, dword [ebx + 0x24]
push edi
call fcn.00482d78
pop ecx
push eax
push esi
call fcn.00482d78
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00482d78
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00482784
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x488535
xor eax, eax
jmp 0x48857c
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00482ce8
add esp, 8
push 0x4ac06f
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00482ce8
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00482ce8
add esp, 8
push 0x4ac071
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00482ce8
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48b498
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x48b4fa
call fcn.0048b448
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00482d78
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00482d78
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48b578
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4ac67c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x48b652
cmp dword [0x4ac678], 0
jne 0x48b652
cmp dword [0x4ac85c], 0
je 0x48b60c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0048b348
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48b5f2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0048b348
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48b5f2
lea ebx, [ebp - 0x84]
jmp 0x48b5f3
inc ebx
call fcn.0048b534
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x48b68d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4ac680
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00482d78
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4ac683
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x48b68d
cmp dword [0x4ac678], 0
je 0x48b66c
cmp dword [0x4ac678], 0xffffffff
je 0x48b68d
push esi
call dword [0x4ac678]
pop ecx
mov eax, dword [0x4ac67c]
test eax, eax
je 0x48b68d
cmp dword [0x4ac67c], 0xffffffff
je 0x48b68d
cmp byte [eax], 0
je 0x48b68d
push esi
push eax
call fcn.0048b498
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48be24
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4b01bc], 0
jne 0x48bea5
cmp dword [0x4b01dc], 0
jne 0x48be54
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4b01dc], eax
test eax, eax
jne 0x48be54
push str.GetEnvironmentStrings_failed
call fcn.0048b6a4
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4b01dc]
jmp 0x48be68
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00482d78
pop ecx
mov edi, eax
test eax, eax
jne 0x48be60
lea edi, [ebp + 1]
push edi
call fcn.00482764
pop ecx
mov ebx, eax
mov dword [0x4b01c0], ebx
test ebx, ebx
jne 0x48be92
xor eax, eax
jmp 0x48bf68
push edi
mov edx, dword [0x4b01dc]
push edx
push ebx
call fcn.00482bd4
add esp, 0xc
jmp 0x48bec5
xor esi, esi
mov ebx, dword [0x4b01bc]
jmp 0x48bebf
push eax
call fcn.00482d78
pop ecx
test eax, eax
jne 0x48bebb
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x48beaf
lea ebx, [esi + 4]
push 4
mov dword [0x4b01c4], ebx
inc ebx
push ebx
call fcn.00481f20
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x48bee8
xor eax, eax
jmp 0x48bf68
cmp dword [0x4b01bc], 0
jne 0x48bf19
xor esi, esi
mov ebx, dword [0x4b01c0]
mov eax, dword [esp]
mov ebp, eax
jmp 0x48bf0a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00482d78
pop ecx
mov edi, eax
test eax, eax
jne 0x48bf00
jmp 0x48bf4a
xor esi, esi
mov ebx, dword [0x4b01bc]
mov eax, dword [esp]
mov edi, eax
jmp 0x48bf44
push eax
call fcn.00482d78
pop ecx
test eax, eax
je 0x48bf39
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x48bf3d
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x48bf28
mov eax, dword [0x4b01bc]
test eax, eax
je 0x48bf5a
push eax
call fcn.00482774
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4b01bc], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x492468
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x492496
mov eax, ebx
call fcn.00492f0c
cmp dword [ebx + 0x3c], 0
je 0x49248f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x492507
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4924f9
cmp dword [ebx + 8], 0
je 0x4924b8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4924ca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4924f9
cmp dword [ebx + 8], 0
je 0x4924ab
cmp eax, 3
je 0x4924dd
dec eax
jne 0x4924ab
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4924ab
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4924ab
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x492525
cmp dword [ebx + 0x10], 0xcc
je 0x492525
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00492530
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x6ae2520e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
mov ecx, 0x7c527fa4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1826380
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x102f000]
push edi
or ebp, 0xffffffff
jmp 0x18263a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x18263a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1826398
mov eax, 1
add ebx, ebx
jne 0x18263bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x18263cc
jne 0x18263eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18263eb
dec eax
add ebx, ebx
jne 0x18263d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x18263b0
add ebx, ebx
jne 0x18263e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x182643d
xor ecx, ecx
sub eax, 3
jb 0x1826403
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1826472
sar eax, 1
mov ebp, eax
jmp 0x182640e
add ebx, ebx
jne 0x182640e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18263dc
inc ecx
add ebx, ebx
jne 0x182641c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x18263dc
add ebx, ebx
jne 0x1826429
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x182641e
jne 0x182643a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x182641e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x182645c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x182644e
jmp 0x182639e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x182645c
add edi, ecx
jmp 0x182639e
pop esi
mov edi, esi
mov ecx, 0x15e28
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x182647a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x182647f
lea edi, [esi + 0x1424000]
mov eax, dword [edi]
or eax, eax
je 0x18264f0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1427d6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1427da8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x18264a5
mov ecx, edi
jns 0x18264d4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1427dac]
or eax, eax
je 0x18264ea
mov dword [ebx], eax
add ebx, 4
jmp 0x18264c2
call dword [esi + 0x1427dbc]
mov ebp, dword [esi + 0x1427db0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1826524
sub esp, 0xffffff80
jmp 0x41bea4
Function at 0x4010dc
Capabilities:
Get system information on windows

Disassembly:
jmp 0x405e20
sub esp, 0x24
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 8]
mov dword [esp + 4], 0
push str.GetNativeSystemInfo
rep stosd dword es:[edi], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
je 0x405e5e
lea ecx, [esp]
push ecx
call eax
jmp 0x405e69
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp]
cmp ax, 9
jne 0x405e8a
mov ecx, dword [esp + 0x28]
push str.__64_bit
call fcn.005f03fc
mov eax, 1
add esp, 0x24
ret
cmp ax, 6
jne 0x405ea7
mov ecx, dword [esp + 0x28]
push str.__IA64
call fcn.005f03fc
mov eax, 1
add esp, 0x24
ret
test ax, ax
jne 0x405ec3
mov ecx, dword [esp + 0x28]
push str.__32_bit
call fcn.005f03fc
mov eax, 1
add esp, 0x24
ret
mov ecx, dword [esp + 0x28]
push str.__Unknown_architecture
call fcn.005f03fc
mov eax, 1
add esp, 0x24
ret
Function at 0x4010fa
Capabilities:
Copy file
Delete file

Disassembly:
jmp 0x426d30
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
test ebp, ebp
push edi
je 0x426dda
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x426dda
add esi, 2
push esi
call fcn.005f17db
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x426dda
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 6
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
stosw word es:[edi], ax
push ecx
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], ebx
mov word [esp + 0x24], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push ebx
call fcn.005f1804
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x40111d
Capabilities:
Get common file path

Disassembly:
jmp 0x41fa00
push 0xffffffffffffffff
push 0x61e790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x68faac]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.005f0450
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x41fa96
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.005f049f
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.005efd95
push 0x681bc0
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.005e6193
push 0x681bc0
lea ecx, [esp + 8]
call fcn.005f03fc
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005efd95
push 0x33
push 0x689290
mov ecx, esi
call fcn.00401a69
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.005f0020
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.005f0020
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005f0020
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.005f0020
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x40141a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x421aa0
push 0xffffffffffffffff
push 0x61ebab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x68faac]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [0x68a0d4]
mov edx, dword [esi + 8]
add ecx, 2
lea eax, [esp + 0x14]
push ecx
push edx
xor ebx, ebx
push 0xb1
push eax
mov dword [esp + 0x30], ebx
call fcn.005e607b
push 4
call fcn.005f17db
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x20], 1
je 0x421b10
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.005efd95
mov edi, eax
jmp 0x421b12
xor edi, edi
mov byte [esp + 0x20], bl
call fcn.005f09ec
cmp eax, ebx
je 0x421b2a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
cmp eax, ebx
jne 0x421b2e
xor eax, eax
jmp 0x421b31
mov eax, dword [eax + 0x1c]
push edi
push ebx
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
push str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT
mov ecx, esi
call fcn.00401951
test eax, eax
jne 0x421bb2
mov eax, dword [0x68faac]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
push 0xb2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.005f5ebf
push 0x80
lea ecx, [esp + 0x10]
call fcn.005f5ebf
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebx
mov ecx, 0x6afba0
call fcn.004012d0
mov eax, dword [esi + 4]
lea ecx, [esp + 0xc]
inc eax
mov byte [esp + 0x20], 2
mov dword [esi + 4], eax
call fcn.005f0020
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x10]
jmp 0x421be8
mov edx, dword [0x68faac]
mov dword [esp + 0x10], edx
push 0xe8
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 4
call fcn.005f5ebf
mov eax, dword [esp + 0x10]
push ebx
push eax
push ebx
mov ecx, 0x6afba0
call fcn.004012d0
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x10]
call fcn.005f0020
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
inc eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 8], eax
call fcn.005f0020
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40154b
Capabilities:
Set registry value

Disassembly:
jmp 0x423850
push ecx
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push esi
push 3
push 0
push 0x681c94
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 1]
push 1
push ecx
push 3
push 0
push 0x681c94
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_accept
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 2]
push 1
push edx
push 3
push 0
push 0x681c94
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0x10]
add esi, 3
push 0x10
push esi
push 3
push 0
push str.PrivateHash
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40161d
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x4236d0
sub esp, 0xc
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftDriver_Signing
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 3
mov dword [esp + 0x28], 1
call edi
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push esi
push edx
push 0
push 0x681c94
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [esp + 0x14]
lea ecx, [esi + 1]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x681c94
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_accept
call edi
lea eax, [esp + 0x14]
lea ecx, [esi + 2]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x681c94
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov dword [esp + 0x14], 0x10
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x10]
add esi, 3
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
push 0
push str.PrivateHash
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret