joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422dab
mov eax, dword fs:[0]
push eax
mov eax, 0x123c
call fcn.0041fd70
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x210]
push str.FN_CSharedMemoryChannel_GetMessage
push eax
call fcn.00401880
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x423484
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, edi
call fcn.0041e4b0
cmp eax, 0xfffe00ff
jne 0x41e8cc
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
lea edx, [eax - 1]
cmp edx, 0xffe
ja 0x41e8b2
push eax
lea eax, [ebp - 0x1210]
mov ecx, edi
push eax
call fcn.0041e540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret
push str.Invalid_Message_Header
lea ecx, [ebp - 0x1228]
call fcn.00402d30
lea eax, [ebp - 0x1228]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1244]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x1244]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x41f37b
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x42b2e0
call fcn.0041fa90
push 1
call fcn.0041f03d
pop ecx
test al, al
je 0x41f4d7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041f00b
mov byte [ebp - 0x24], al
mov eax, dword [0x43222c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41f4d7
test eax, eax
jne 0x41f405
mov dword [0x43222c], ecx
push 0x423340
push 0x42332c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41f3e8
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41f4d1
push 0x423328
push 0x423314
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x43222c], 2
jmp 0x41f40a
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041f1aa
pop ecx
call fcn.0041fc0d
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41f43b
push esi
call fcn.0041f120
pop ecx
test al, al
je 0x41f43b
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call dword [0x423310]
call esi
call fcn.0041fc13
mov esi, eax
cmp dword [esi], edi
je 0x41f459
push esi
call fcn.0041f120
pop ecx
test al, al
je 0x41f459
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.0041f819
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0041f84f
test al, al
je 0x41f4de
test bl, bl
jne 0x41f487
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0041f1c7
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41f4d1
call fcn.0041fad6
ret
push 7
call fcn.0041f6fd
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00584000
jmp 0x41f37b
Function at 0x4058b1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push esi
lea ecx, [ebp - 0x18]
call fcn.0040174b
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0040174e
mov esi, eax
test esi, esi
je 0x405967
lea eax, [ebp - 0x324]
push 0
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp + 8]
call fcn.004074db
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407380
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407380
lea eax, [ebp - 0x11c]
push 0x40f1d8
push eax
call fcn.00407380
lea eax, [ebp - 0x11c]
push 0x40f1dc
push eax
call fcn.00407380
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push esi
call fcn.00407196
mov esi, eax
add esp, 0x40
test esi, esi
lea ecx, [ebp - 0x18]
jne 0x40596b
call fcn.00401808
xor eax, eax
jmp 0x4059bf
call fcn.00401808
push dword [ebp - 4]
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.00403cbb
push esi
call fcn.0040780b
add esp, 0x10
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004046b3
pop ecx
test eax, eax
pop ecx
je 0x4059bd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x11c]
push eax
call fcn.00403dfa
pop ecx
push 1
pop esi
mov eax, esi
pop esi
leave
ret

Function at 0x405e9a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
and byte [ebp - 0x10c], 0
push ebx
lea eax, [ebp - 0x10c]
push 0x104
push eax
push 1
push str.__R
call fcn.00403434
pop ecx
pop ecx
push eax
push 0x40f244
push closesocket
call fcn.004044c0
lea eax, [ebp - 0x10c]
push eax
call fcn.00405c5a
movsx eax, byte [ebp - 0x10c]
mov bl, byte [ebp - 0x10a]
push eax
call fcn.004076ee
add esp, 0x1c
and dword [ebp - 8], 0
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
add al, 0x61
cmp al, byte [ebp - 1]
je 0x405f44
and byte [ebp - 0x10a], 0
mov byte [ebp - 0x10c], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
mov byte [ebp - 0x10a], bl
jne 0x405f44
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x405e42
push eax
call fcn.00403e11
add esp, 0xc
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1a
jl 0x405efe
xor eax, eax
pop ebx
leave
ret 4
Function at 0x408953
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
mov edi, edi
or edx, edx
call fcn.00408982
mov edx, 0x54303224
sub edi, edx
xor dword [eax], esi
add eax, 1
add edx, 0xd63e9fc7
cmp eax, ecx
jne fcn.00408953
add edi, edx
and edx, edx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x30d32821
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3a8b24ab
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x407b20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl70.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x407c77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call main
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x407c54
mov eax, edi
call sub.rtl70.bpl__System__GetMem_qqri
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push edi
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x407c88
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 8]
shr esi, 0x10
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
call sub.rtl70.bpl__Sysutils_IntToStr_qqrj
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 8]
and esi, 0xffff
push dword [ebx]
push 0x407c94
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call sub.rtl70.bpl__Sysutils_IntToStr_qqrj
push dword [ebp - 0x1c]
mov eax, ebx
mov edx, 3
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0xc]
shr esi, 0x10
push dword [ebx]
push 0x407c94
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call sub.rtl70.bpl__Sysutils_IntToStr_qqrj
push dword [ebp - 0x20]
mov eax, ebx
mov edx, 3
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0xc]
and esi, 0xffff
push dword [ebx]
push 0x407c94
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call sub.rtl70.bpl__Sysutils_IntToStr_qqrj
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov edx, edi
mov eax, dword [ebp - 8]
call sub.rtl70.bpl__System__FreeMem_qqrpv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c7e
lea eax, [ebp - 0x24]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 4]
call sub.rtl70.bpl__System__LStrClr_qqrpv
ret

Function at 0x4097b4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x4097e4
cmp dword [esp + 4], 6
jb 0x4097e4
call sub.vcl70.bpl__Themes_ThemeServices_qqrv
call sub.vcl70.bpl__Themes_TThemeServices_GetThemesEnabled_qqrv
test al, al
je 0x4097e4
mov al, 1
jmp 0x4097e6
xor eax, eax
add esp, 0x94
ret
Function at 0x412c7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x412cfa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [sym.imp.vcl70.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl70.bpl__Forms_TApplication_GetExeName_qqrv
mov edx, dword [ebp - 4]
mov eax, 0x412d10
call sub.rtl70.bpl__Strutils_AnsiStartsStr_qqrx17System_AnsiStringt1
test al, al
je 0x412cb6
xor ebx, ebx
jmp 0x412cdf
lea ecx, [ebp - 8]
mov edx, 3
mov eax, dword [ebp - 4]
call sub.rtl70.bpl__Strutils_LeftStr_qqrx17System_AnsiStringxi
mov eax, dword [ebp - 8]
call main
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 4
jne 0x412cdd
xor ebx, ebx
jmp 0x412cdf
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412d01
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x10009e2b
Capabilities:
Get common file path

Disassembly:
push 0x274
mov eax, 0x100b2691
call fcn.100872ca
mov esi, ecx
mov eax, dword [esi + 0x120]
xor ebx, ebx
mov eax, dword [eax]
cmp dword [eax + 0x178], ebx
je 0x10009fa7
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], bx
je 0x10009e7b
add eax, 2
cmp word [eax], bx
jne 0x10009e73
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100e2090
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100124b7
mov eax, dword [esi + 0x120]
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [eax]
add eax, 0x168
mov dword [ebp - 0x220], ebx
push eax
call fcn.1000c826
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100020f2
mov byte [ebp - 0x268], bl
lea eax, [ebp - 0x24c]
push dword [ebp - 0x268]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.100024b9
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 3
push eax
call fcn.1000fdb8
add esp, 0x1c
lea ecx, [ebp - 0x280]
mov bl, al
call fcn.1000e787
test bl, bl
je 0x10009f42
cmp dword [ebp - 0x238], 0x10
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
call fcn.1008d32c
pop ecx
lea ecx, [ebp - 0x24c]
call fcn.1000e761
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x10009f9c
mov ecx, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, 0x1000
jb 0x10009f93
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.10086d44
pop ecx
pop ecx
lea ecx, [ebp - 0x264]
call fcn.1000e761
call fcn.10087279
ret
Function at 0x10009fad
Capabilities:
Get common file path

Disassembly:
push 0x278
mov eax, 0x100b26ec
call fcn.100872ca
mov edi, ecx
mov eax, dword [edi + 0x120]
xor ebx, ebx
mov esi, dword [eax]
add esi, 0x138
cmp dword [esi + 0x10], ebx
je 0x1000a16a
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], bx
je 0x1000a000
add eax, 2
cmp word [eax], bx
jne 0x10009ff8
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100e2090
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100124b7
mov eax, dword [edi + 0x120]
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [eax]
add eax, 0x168
mov dword [ebp - 0x224], ebx
push eax
call fcn.1000c826
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.100020f2
mov byte [ebp - 0x26c], bl
lea eax, [ebp - 0x250]
push dword [ebp - 0x26c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100024b9
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 3
push eax
call fcn.1000fdb8
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
mov bl, al
call fcn.1000e787
test bl, bl
jne 0x1000a105
lea eax, [ebp - 0x250]
mov dword [ebp - 0x26c], edi
push eax
push esi
lea eax, [ebp - 0x26c]
push eax
push 0x1000b960
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.100040e5
add esp, 0x18
lea ecx, [edi + 8]
push eax
mov byte [ebp - 4], 4
call fcn.1000dc4c
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1000a105
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x1000a105
call fcn.1000cb32
lea ecx, [ebp - 0x250]
call fcn.1000e761
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x1000a15f
mov ecx, dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x26c], ecx
cmp eax, 0x1000
jb 0x1000a156
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x26c]
push eax
push ecx
call fcn.10086d44
pop ecx
pop ecx
lea ecx, [ebp - 0x268]
call fcn.1000e761
call fcn.10087279
ret
Function at 0x1000a170
Capabilities:
Get common file path

Disassembly:
push 0x25c
mov eax, 0x100b2731
call fcn.100872ca
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], 0xf
push ebx
mov edi, 0x100b76d0
mov dword [ebp - 0x234], ebx
push edi
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.1000ec5f
mov eax, dword [esi + 0x120]
mov dword [ebp - 4], ebx
mov eax, dword [eax]
add eax, 0x40
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1000a1ca
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.1000eb05
push ebx
push edi
lea ecx, [ebp - 0x234]
call fcn.1000eb05
cmp dword [ebp - 0x224], 0
je 0x1000a261
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x218], 0
lea eax, [ebp - 0x218]
je 0x1000a217
add eax, 2
cmp word [eax], bx
jne 0x1000a20f
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100e2090
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100124b7
push edi
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1000213b
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.1000e761
lea ecx, [ebp - 0x24c]
call fcn.1000e761
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x1000a2b0
mov ecx, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, 0x1000
jb 0x1000a2a7
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.10086d44
pop ecx
pop ecx
call fcn.10087279
ret
Function at 0x1001033f
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
and dword [ebp - 4], 0
push esi
mov dword [ecx + 4], eax
lea esi, [ecx + 0x1c]
lea eax, [ebp - 4]
push eax
lea eax, [ecx + 0xc]
push esi
push eax
call fcn.100047ca
push 0x20
push 0x100b7508
push esi
call fcn.100897b0
add esp, 0x18
pop esi
leave
ret

Function at 0x100113e3
Capabilities:
Authenticate hmac

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x10011401
call fcn.10012155
test al, al
jne 0x10011401
mov dword [esi + 0x40], str.invalid_BOM__must_be_0xEF_0xBB_0xBF_if_given
push 0xe
pop eax
pop esi
ret
mov ecx, esi
call fcn.10010150
mov eax, dword [esi + 8]
cmp eax, 0x20
je 0x10011401
cmp eax, 9
je 0x10011401
cmp eax, 0xa
je 0x10011401
cmp eax, 0xd
je 0x10011401
cmp eax, 0x36
jg 0x1001147a
je 0x10011449
cmp eax, 0x30
jg 0x10011461
je 0x10011449
cmp eax, 0xffffffff
je 0x1001145d
test eax, eax
je 0x1001145d
cmp eax, 0x22
je 0x10011455
cmp eax, 0x2c
je 0x10011451
cmp eax, 0x2d
jne 0x100114c9
mov ecx, esi
pop esi
jmp fcn.10011549
push 0xd
jmp 0x100113fe
mov ecx, esi
pop esi
jmp fcn.1001188f
push 0xf
jmp 0x100113fe
sub eax, 0x31
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
jmp 0x10011443
cmp eax, 0x5d
jg 0x100114af
je 0x100114a8
sub eax, 0x37
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x100114a1
sub eax, 0x21
jne 0x100114c9
push 8
jmp 0x100113fe
push 0xc
jmp 0x100113fe
push 0xa
jmp 0x100113fe
sub eax, 0x66
je 0x100114f9
sub eax, 8
je 0x100114ee
sub eax, 6
je 0x100114e3
sub eax, 7
je 0x100114dc
dec eax
sub eax, 1
je 0x100114d5
mov dword [esi + 0x40], str.invalid_literal
jmp 0x100113fc
push 0xb
jmp 0x100113fe
push 9
jmp 0x100113fe
push 1
push 4
push str.true
jmp 0x10011502
push 3
push 4
push str.null
jmp 0x10011502
push 2
push 5
push str.false
mov ecx, esi
call fcn.1001150b
pop esi
ret
Function at 0x10012b3a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10012b65
jl 0x10012b5c
test edi, edi
jne 0x10012b65
xor eax, eax
xor edx, edx
jmp 0x10012c15
cmp dword [esi + 0x38], 0
je 0x10012b78
push eax
push edi
push edx
call fcn.10012c1f
jmp 0x10012c15
mov eax, dword [esi + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10012bb2
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x10012bb2
cmp dword [eax], edi
mov esi, edi
cmovb esi, dword [eax]
push esi
push ecx
push edx
call fcn.100897b0
mov ecx, dword [ebp - 8]
sub ebx, esi
add dword [ebp - 4], esi
add esp, 0xc
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
mov ecx, ebx
je 0x10012c0a
mov ecx, esi
call fcn.1000e01b
mov edx, dword [ebp - 4]
mov ecx, ebx
jmp 0x10012bea
push dword [esi + 0x4c]
push eax
push 1
push edx
call fcn.1008c952
mov edx, dword [ebp - 4]
sub ebx, eax
add edx, eax
add esp, 0x10
mov dword [ebp - 4], edx
mov ecx, ebx
cmp eax, 0xfff
jne 0x10012c1b
mov eax, 0xfff
cmp ebx, eax
ja 0x10012bc8
test ecx, ecx
je 0x10012c0a
push dword [esi + 0x4c]
push ebx
push 1
push edx
call fcn.1008c952
mov ecx, ebx
add esp, 0x10
sub ecx, eax
sub edi, ecx
mov edx, dword [ebp + 0x10]
mov eax, edi
sbb edx, 0
pop ebx
pop edi
pop esi
leave
ret 0xc
sub edi, ebx
jmp 0x10012c0c
Function at 0x100130a1
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100df1f4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push 0x208
push eax
call fcn.1001324e
pop ecx
pop ecx
test al, al
jne 0x100130d2
inc al
jmp 0x100131cb
push ebx
xor ecx, ecx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x218], ecx
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push str.SOFTWAREGoogleNo_Chrome_Offer_Until
push reloc.WS2_32.dll_bind
mov bl, 1
mov dword [ebp - 0x224], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100131c8
push esi
push edi
push eax
call fcn.100131f7
and dword [ebp - 0x214], 0
mov esi, eax
pop ecx
push 4
pop edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x210], edi
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], edi
push eax
lea eax, [ebp - 0x210]
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10013175
cmp dword [ebp - 0x210], edi
jne 0x10013175
cmp dword [ebp - 0x214], esi
jbe 0x10013175
xor bl, bl
jmp 0x100131ba
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [ebp + 8], 0
je 0x100131ba
push 6
call fcn.100131f7
pop ecx
push edi
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087257
leave
ret 4