joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100411e1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100564ec
push 0x100564e4
push str.FlsAlloc
push 0x1f
call fcn.10041069
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10041215
push dword [ebp + 8]
mov ecx, esi
call dword [0x10052200]
call esi
jmp 0x1004121b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1004125f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100564fc
push 0x100564f4
push str.FlsGetValue
push 0x21
call fcn.10041069
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10041296
push dword [ebp + 8]
mov ecx, esi
call dword [0x10052200]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1004129e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10056504
push 0x100564fc
push str.FlsSetValue
push 0x22
call fcn.10041069
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100412d8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10052200]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10046c13
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10046cb0
push ebx
push esi
call fcn.10046bdc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10043fcb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10046c5d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10046caf
push edi
push eax
call fcn.10041d16
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10046c7d
call fcn.10040d8a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10046cae
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10043fcb
add esp, 0x20
test eax, eax
jne 0x10046c9c
push edi
call fcn.10040d8a
jmp 0x10046ca4
push ebx
call fcn.10040d8a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10049361
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1003e5b3
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100493d0
cmp esi, dword [ebp - 4]
je 0x100493cb
cmp dword [ebp + 0xc], 0
je 0x100493cb
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100493a8
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10048eb3
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100493d2
xor eax, eax
inc eax
jmp 0x100493d2
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10049437
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10066080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1003e5b3
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1003e5b3
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100494ae
cmp word [ecx], dx
je 0x100494ae
mov eax, dword [0x10056bf4]
push edi
dec eax
push eax
push 0x10056ae0
call fcn.100493d6
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10049521
cmp word [eax], dx
je 0x10049521
mov eax, dword [edi]
test eax, eax
je 0x100494d2
cmp word [eax], dx
je 0x100494d2
lea eax, [ebp - 0x10]
push eax
call fcn.10048db9
jmp 0x100494db
lea eax, [ebp - 0x10]
push eax
call fcn.10048e54
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1004954b
mov eax, dword [0x10056adc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100567d0
call fcn.100493d6
add esp, 0xc
test al, al
je 0x1004954b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10049516
cmp word [eax], di
je 0x10049516
lea eax, [ebp - 0x10]
push eax
call fcn.10048db9
pop ecx
jmp 0x1004954d
lea eax, [ebp - 0x10]
push eax
call fcn.10048e54
jmp 0x10049513
mov eax, dword [edi]
test eax, eax
je 0x10049538
cmp word [eax], dx
je 0x10049538
lea eax, [ebp - 0x10]
push eax
call fcn.10048d6e
pop ecx
jmp 0x1004954b
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10049616
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1004925b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10049616
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10049616
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10049616
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100495a3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100413de
test ebx, ebx
je 0x10049611
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100413de
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10049616
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10049616
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10039e97
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10049618
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c727
leave
ret
Function at 0x1004d411
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1004d38d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1004d580
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1004d580
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1004d535
jg 0x1004d46d
test eax, eax
je 0x1004d52b
push 1
push 0x1000
call fcn.10040d2d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1004d490
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1004d522
push 0x8000
push ebx
call fcn.1004d2be
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1004d4b9
jg 0x1004d4b4
cmp ecx, 0x1000
jb 0x1004d4b9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100435b8
add esp, 0x10
cmp eax, 0xffffffff
je 0x1004d4fe
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1004d4b4
jl 0x1004d4e5
test ecx, ecx
jne 0x1004d4a6
push dword [ebp - 0xc]
push ebx
call fcn.1004d2be
push esi
call fcn.10040d8a
add esp, 0xc
xor ebx, ebx
jmp 0x1004d58e
cmp byte [edi + 0x24], 0
je 0x1004d515
cmp dword [edi + 0x20], 5
jne 0x1004d515
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1004d520
mov ebx, dword [edi + 0x18]
jmp 0x1004d522
xor ebx, ebx
push esi
call fcn.10040d8a
pop ecx
jmp 0x1004d58e
test ecx, ecx
jg 0x1004d4f7
jl 0x1004d535
test eax, eax
jae 0x1004d4f7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003e1eb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1004d555
cmp byte [edi + 0x1c], 0
je 0x1004d4f7
jmp 0x1004d586
push ebx
call fcn.10047200
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1004d4f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1004d58e
cmp byte [edi + 0x1c], 0
je 0x1004d58b
mov ebx, dword [edi + 0x18]
jmp 0x1004d58e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1003e1eb
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1004ebf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004ec1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004ec1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10005390
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x1011ac56
call fcn.10003d4a
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ebx
and dword [ebx], 0
push eax
mov dword [ebp - 0x18], eax
call fcn.10005437
test al, al
je 0x100053c6
test edi, edi
je 0x100053c2
mov dword [edi], 4
xor eax, eax
jmp 0x1000542f
mov ecx, esi
call fcn.100051f8
test al, al
je 0x10005402
cmp byte [esi + 0x18], 0
je 0x100053fd
push 0x80070002
push 0x1e61a6a0
lea eax, [ebp - 0x24]
push eax
call fcn.100bf210
and dword [ebp - 4], 0
mov ecx, eax
call fcn.100ba2d1
lea ecx, [ebp - 0x24]
call fcn.1003a42b
push 2
pop eax
jmp 0x1000542f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push ebx
mov edx, esi
lea eax, [esi + 4]
neg edx
push edi
sbb edx, edx
push 0
push dword [ebp - 0x18]
and edx, eax
push dword [edx]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
push eax
mov ecx, esi
call fcn.1000530c
call fcn.1000401a
ret 0xc
Function at 0x10009289
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc0
mov eax, 0x1011af20
call fcn.10003d4a
mov eax, dword [ebp - 0xc8]
xor ebx, ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc8], 0x101af0e4
mov dword [0x101af0e4], ebx
mov dword [0x101af0e8], ebx
mov dword [0x101af0ec], ebx
xor ecx, ecx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], ebx
push eax
inc ecx
push ecx
push ebx
push str.Control_PanelInternational
push SysReAllocString
mov dword [ebp - 0xcc], ecx
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009426
mov edi, dword [sym.imp.advapi32.dll_RegGetValueW]
lea eax, [ebp - 0xc0]
push eax
push ebx
push ebx
push 0x20000020
push str.Languages
push str.User_Profile
push dword [ebp - 0xc4]
mov dword [ebp - 0xc0], ebx
call edi
test eax, eax
jne 0x1000941a
cmp dword [ebp - 0xc0], 3
jbe 0x1000941a
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1000941a
lea eax, [ebp - 0xc0]
push eax
push esi
push ebx
push 0x20
push str.Languages
push str.User_Profile
push dword [ebp - 0xc4]
call edi
test eax, eax
jne 0x10009412
mov ebx, dword [ebp - 0xc0]
cmp ebx, 3
jbe 0x10009412
xor edx, edx
shr ebx, 1
push edx
pop ecx
mov eax, edx
mov edi, edx
mov word [esi + ebx*2 - 2], cx
je 0x10009412
jmp 0x1000939f
cmp eax, ebx
jae 0x100093a5
inc eax
cmp word [esi + eax*2], dx
je 0x1000939a
cmp word [esi + edi*2], dx
jne 0x1000940d
cmp edi, eax
jbe 0x1000940d
xor ecx, ecx
lea eax, [esi + eax*2]
mov word [ebp - 0xbc], cx
lea ecx, [ebp - 0xbc]
push 0x55
push ecx
push eax
call dword [sym.imp.kernel32.dll_ResolveLocaleName]
test eax, eax
je 0x10009408
cmp word [ebp - 0xbc], 0
je 0x10009408
mov eax, dword [0x101af0e8]
lea ecx, [ebp - 0xbc]
push ecx
cmp eax, dword [0x101af0ec]
je 0x100093fd
mov ecx, eax
call fcn.1003a42b
add dword [0x101af0e8], 0x18
jmp 0x10009408
push eax
mov ecx, 0x101af0e4
call fcn.100087c2
lea eax, [edi + 1]
xor edx, edx
inc edi
cmp edi, ebx
jb 0x1000939f
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push dword [ebp - 0xc4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 0x101af0e4
call fcn.1000401a
ret 4
Function at 0x10017305
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x10017347
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x10017347
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x10017347
cmp word [eax + 2], 0
je 0x10017347
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x10017347
add eax, 0x30
jmp 0x1001734c
mov eax, 0x10143df8
pop edi
pop esi
ret
Function at 0x1001d1f6
Capabilities:
Hash data using djb2

Disassembly:
mov edx, ecx
test edx, edx
jne 0x1001d200
or eax, 0xffffffff
ret
movzx eax, word [edx]
mov ecx, 0x1505
push esi
push edi
xor esi, esi
mov edi, eax
jmp 0x1001d21d
imul ecx, ecx, 0x21
movzx eax, ax
xor ecx, eax
inc esi
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x1001d210
imul eax, ecx, 0x41c64e6d
imul ecx, ecx, 0x10dcd
pop edi
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x100258bc
Capabilities:
Hash data using djb2

Disassembly:
mov edx, ecx
test edx, edx
jne 0x100258c6
or eax, 0xffffffff
ret
movzx eax, word [edx]
mov ecx, 0x1505
push esi
push edi
xor edi, edi
mov esi, eax
jmp 0x100258ef
movzx esi, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x100258e5
add esi, 0x20
imul ecx, ecx, 0x21
xor ecx, esi
inc edi
movzx eax, word [edx + edi*2]
test ax, ax
jne 0x100258d6
imul eax, ecx, 0x41c64e6d
imul ecx, ecx, 0x10dcd
pop edi
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret
Function at 0x1003a42b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1003a43a
pop dword [ebp - 0x40]
mov eax, 0x1003a43a
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x917c8
push 0
mov eax, 0x97ab6f19
sub eax, 0x87986b9d
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x66dd
xor edx, edx
add edx, eax
mov edi, 0xd3259bed
sub edi, 0xc303a9ed
add edi, dword [ebp - 0x40]
mov esi, 0xa4b7386e
sub esi, 0xb9149440
mov ebx, dword [edi]
xor dword [ebp - 0x30], edi
xor ebx, esi
mov dword [ebp - 0xc], 0xfe0ec5c2
mov dword [edx], ebx
sub dword [ebp - 0x28], 0xa38f2bc1
add edx, 0xa26256f9
add edx, 0x5d9da90b
add edi, 0xd7011a6e
add edi, 0x28fee596
loop 0x1003a490
add eax, 0xb40b470d
add eax, 0x4bf6473a
xor ebx, ebx
add ebx, eax
add eax, 0x632f8aae
sub eax, 0x632f8aa9
mov ecx, 0x813053b2
sub ecx, 0x713053b2
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x100494be
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10049613
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10049613
cmp eax, 0x29
jne 0x100494f7
cmp dword [esi + 0x10], 0
jne 0x10049613
test dword [esi + 0x50], edx
je 0x10049619
cmp eax, 0x2e
jne 0x10049512
push 5
lea ecx, [esi + 0x24]
call fcn.1003a42b
mov ecx, esi
call fcn.10049495
jmp 0x100495fd
cmp eax, 0x5c
jne 0x10049569
mov ecx, esi
call fcn.10049495
test byte [esi + 0x50], 0x80
je 0x1004955d
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x10049545
push 4
lea ecx, [esi + 0x24]
call fcn.1003a42b
mov ecx, esi
call fcn.10049495
jmp 0x10049604
cmp ecx, 0x42
jne 0x1004955d
push 4
lea ecx, [esi + 0x24]
call fcn.1003a42b
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10049539
mov ecx, esi
call fcn.1004a0f5
jmp 0x100495fd
cmp eax, 0x5b
jne 0x10049589
mov ecx, esi
call fcn.10049495
mov ecx, esi
call fcn.1004a0a9
cmp dword [esi + 0x4c], 0x5d
je 0x10049506
push 4
jmp 0x1004961b
cmp eax, 0x28
jne 0x100495a6
mov ecx, esi
call fcn.10049495
mov ecx, esi
call fcn.1004a19b
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10049619
jmp 0x100495f2
cmp eax, 0x5e
jne 0x100495af
push 2
jmp 0x10049531
cmp eax, 0x24
jne 0x100495bb
push 3
jmp 0x10049531
cmp eax, 0x2a
je 0x1004960f
cmp eax, 0x2b
je 0x1004960f
cmp eax, 0x3f
je 0x1004960f
cmp eax, 0x7b
je 0x1004960f
cmp eax, 0x7d
jne 0x100495d9
test dword [esi + 0x50], edx
je 0x1004960b
cmp eax, 0x5d
jne 0x100495e3
test dword [esi + 0x50], edx
je 0x10049582
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1003a42b
mov bl, 1
mov ecx, esi
call fcn.10049495
test bl, bl
je 0x10049604
mov ecx, esi
call fcn.1003a42b
mov cl, 1
jmp 0x100494c5
push 6
jmp 0x1004961b
push 0xa
jmp 0x1004961b
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1003a42b
int3
Function at 0x100568b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push esi
push edi
push eax
mov edi, ecx
mov dword [ebp - 0x18], 1
push ecx
mov ecx, 0x20019
mov dword [ebp - 0x1c], 0x101420b0
mov esi, edx
mov byte [ebp - 0x10], 1
call fcn.10017675
pop ecx
push eax
push 0
push esi
push SysReAllocString
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10056942
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ecx
push eax
push ecx
push str.SendTelemetry
push dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x10056942
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov byte [edi + 4], 1
jmp 0x10056949
and dword [edi], 0
mov byte [edi + 4], 0
cmp byte [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0x101420b0
je 0x10056965
cmp dword [ebp - 0x14], 0
je 0x10056965
push dword [ebp - 0x14]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100580b7
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov edi, dword [ebx + 8]
mov edx, dword [edi]
mov al, byte [edx + 0x1d6]
mov byte [ebp - 8], al
mov ax, word [edx + 0xc]
movzx ecx, al
xor eax, eax
sub ecx, eax
je 0x10058117
sub ecx, 1
je 0x10058111
sub ecx, 1
je 0x10058101
sub ecx, 1
jne 0x1005827a
jmp 0x10058111
cmp byte [edx + 0x1ad], al
je 0x10058117
mov cl, byte [edx + 0x1ac]
jmp 0x10058119
mov byte [ebp - 1], 1
jmp 0x1005812c
mov cl, al
mov byte [ebp - 1], cl
test cl, cl
jne 0x1005812c
cmp byte [ebp - 8], al
jne 0x1005812c
mov ecx, edx
call fcn.1003a42b
mov eax, dword [edi]
cmp byte [eax + 0xc], 0
je 0x10058263
push ecx
push 0x101a8c7c
lea ecx, [ebp - 0x2c]
call fcn.1003a42b
mov eax, dword [edi]
mov ecx, 0x101a8bd0
mov byte [ebp - 0xd], 1
mov al, byte [eax + 0xd]
mov byte [ebp - 0xe], al
mov ax, word [ebp - 0xe]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call fcn.1003a42b
mov ecx, dword [edi]
xor esi, esi
mov dword [ebp - 0x18], eax
mov edx, esi
mov eax, 0x811c9dc5
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x14], ecx
movzx ecx, byte [ebp + edx - 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
inc edx
cmp edx, 4
jb 0x1005817c
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1003a42b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100581b3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
mov ecx, 0x101a8bd0
push eax
call fcn.1003a42b
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 4]
je 0x1005822b
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x100581de
push esi
push 0x125308d
jmp 0x10058280
dec eax
cmp byte [ebp - 1], 0
mov dword [ecx + 0x10], eax
je 0x1005823e
cmp byte [ebp - 8], 0
jne 0x1005823e
push edi
call fcn.1003a42b
lea eax, [ebp - 0xc]
mov edi, 0x101a8cac
push eax
mov ecx, edi
call fcn.1003a42b
cmp byte [eax], 0
jne 0x1005823e
mov edx, dword [0x101a8c60]
test edx, edx
je 0x1005821b
mov eax, dword [edx]
mov esi, edx
push edx
call dword [eax + 4]
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.1003a42b
mov byte [eax], 1
jmp 0x1005823e
push dword [edi]
mov ecx, 0x125308e
push str.DroppedAggregatedActivity
push 0x32
call fcn.1003a42b
lea ecx, [ebp - 0x2c]
call fcn.1000f424
test esi, esi
je 0x1005826f
cmp byte [ebp - 8], 0
jne 0x10058265
mov al, byte [ebp - 0xe]
lea ecx, [ebp - 8]
mov byte [ebp - 8], al
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
jmp 0x10058265
xor esi, esi
test esi, esi
je 0x1005826f
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push eax
push 0x130818b
call fcn.1003a42b
int3
Function at 0x100755e8
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x10170cc0
call fcn.1000367b
xor eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [ebp - 4], eax
movzx esi, word [ecx]
mov edi, 0x5a4d
cmp si, di
jne 0x10075618
mov eax, dword [ecx + 0x3c]
add eax, ecx
jmp 0x10075623
mov edi, 0x4550
cmp si, di
cmove eax, ecx
test eax, eax
je 0x10075638
mov ecx, dword [eax + 0x50]
mov dword [edx], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x58]
mov dword [edx + 8], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, edx
jmp 0x10075663
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1007651a
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011b515
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push ecx
push esi
push edi
mov eax, dword [0x101a0414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 0x110
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x100765a9
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
push 0x102
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
pop ecx
pop ecx
push esi
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [esi + 0x30]
call fcn.1003a42b
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1003a42b
int3

Function at 0x10079b8f
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.10079bb7
cmp word [esi], 0
je 0x10079bb5
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10079bb5
push esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
xor eax, eax
mov word [esi], ax
pop esi
ret