joyce8/EMBER2024-capa huggingface dataset:
Function at 0x563489
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push 2
push esi
mov edi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x5634aa
xor eax, eax
jmp 0x563551
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x5634cf
cmp eax, 0x80010119
je 0x5634cf
mov ecx, edi
call fcn.0056315c
jmp 0x5634a3
lea eax, [edi + 0x20]
push eax
push 0x5ca5ec
push 1
push esi
push 0x5ca6ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x5634c6
push ebx
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [edi + 0x20]
lea ebx, [edi + 0x1c]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
mov dword [edi + 0x2c], eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
test eax, eax
jl 0x563547
mov eax, dword [ebx]
cmp eax, esi
je 0x563547
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x5ca094
push eax
call dword [ecx]
test eax, eax
jl 0x563547
push esi
push esi
push 3
push esi
push esi
push esi
push 0xa
push dword [ebx]
mov ebx, dword [sym.imp.ole32.dll_CoSetProxyBlanket]
call ebx
test eax, eax
jge 0x563557
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
call fcn.0056315c
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 4
push esi
push esi
push 3
push esi
push esi
push esi
push 0xa
push dword [ebp - 4]
call ebx
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, esi
jl 0x563547
lea ebx, [edi + 0x24]
push ebx
push 0x5ca67c
push 1
push esi
push 0x5ca71c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x563547
mov ebx, dword [ebx]
mov eax, dword [ebx]
lea ecx, [edi + 0x28]
push ecx
push 0x5ca69c
push ebx
call dword [eax]
test eax, eax
jl 0x563547
xor eax, eax
inc eax
jmp 0x563550
Function at 0x5657d4
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.rootwmi
mov ebx, ecx
call esi
push str.MSSmBios_RawSMBiosTables
mov dword [ebp - 0x18], eax
call esi
push str.SMBiosData
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
push 2
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x565971
push esi
push 2
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x565843
cmp eax, 0x80010119
jne 0x565926
lea eax, [ebp - 4]
push eax
push 0x5ca5ec
push 1
push esi
push 0x5ca6ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x565926
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x18]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x565926
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push esi
push esi
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x565926
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xfa0
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], 1
jne 0x565926
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x38]
push edx
push esi
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x10]
mov eax, 0x2011
cmp word [ebp - 0x38], ax
jne 0x565926
mov eax, dword [ebp - 0x30]
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
cmp edi, esi
je 0x565925
cmp edi, 0x4000
jle 0x56590c
push dword [ebx + 0x14]
call fcn.005684ad
push edi
call fcn.005684a2
pop ecx
pop ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x24]
push edi
push dword [eax + 0xc]
push dword [ebx + 0x14]
call fcn.0057ae10
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov word [eax + 6], di
pop edi
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x565936
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x565946
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x565956
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x1c]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x56b38a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x56b3ae
cmp dword [edi + 0x54], 0
jne 0x56b3ae
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00568e8d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0056b34b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x56b7ae
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x59c229
call fcn.0057ba6f
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x56b7d3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x56b819
lea ecx, [ebp - 0x10]
call fcn.004023f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00568f5c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004027b0
mov eax, esi
call fcn.0057bb47
ret 8

Function at 0x57366d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x5736b4
call fcn.00568e8d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x5736b4
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x5736d0
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005731e5
mov esi, eax
test edi, edi
je 0x5736ce
test ebx, ebx
je 0x5736ce
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x574736
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x614b80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x5747ce
push 0x5c7934
push 4
push eax
call fcn.00579eb5
push eax
call fcn.00402840
add esp, 0x10
push ebx
push edi
call fcn.0057c144
mov edi, dword [eax]
call fcn.0057c144
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0057b579
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0057c144
cmp dword [eax], ebx
je 0x5747e5
call fcn.0057c144
push dword [eax]
call fcn.00569046
pop ecx
jmp 0x5747ec
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
jne 0x574779
jmp 0x574873
call fcn.0057c144
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x57486f
cmp dword [ebp - 0x234], esi
jae 0x57486f
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0057ad60
add esp, 0xc
push 0x5c4eec
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, ebx
je 0x57485e
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
je 0x57485e
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x57485e
push ebx
push ebx
push esi
jmp 0x574867
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
jmp 0x574871
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0057943e
leave
ret

Function at 0x57943e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x614b80]
jne 0x579448
repz ret
jmp fcn.0057f130
Function at 0x58c5a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0057eb3f
and dword [ebp - 4], 0
cmp dword [0x623090], 0
mov ebx, eax
jne 0x58c653
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x58c704
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x58c704
push eax
call fcn.0057eacd
mov dword [esp], 0x5c8f68
push edi
mov dword [0x623090], eax
call esi
push eax
call fcn.0057eacd
mov dword [esp], 0x5c8f54
push edi
mov dword [0x623094], eax
call esi
push eax
call fcn.0057eacd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x623098], eax
call esi
push eax
call fcn.0057eacd
pop ecx
mov dword [0x6230a0], eax
test eax, eax
je 0x58c653
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0057eacd
pop ecx
mov dword [0x62309c], eax
mov eax, dword [0x62309c]
cmp eax, ebx
je 0x58c6ab
cmp dword [0x6230a0], ebx
je 0x58c6ab
push eax
call fcn.0057eb48
push dword [0x6230a0]
mov esi, eax
call fcn.0057eb48
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x58c6ab
test edi, edi
je 0x58c6ab
call esi
test eax, eax
je 0x58c6a2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x58c6a2
test byte [ebp - 0xc], 1
jne 0x58c6ab
or dword [ebp + 0x10], 0x200000
jmp 0x58c6e4
mov eax, dword [0x623094]
cmp eax, ebx
je 0x58c6e4
push eax
call fcn.0057eb48
pop ecx
test eax, eax
je 0x58c6e4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x58c6e4
mov eax, dword [0x623098]
cmp eax, ebx
je 0x58c6e4
push eax
call fcn.0057eb48
pop ecx
test eax, eax
je 0x58c6e4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x623090]
call fcn.0057eb48
pop ecx
test eax, eax
je 0x58c704
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x58c706
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000ce80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cead
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401060
Capabilities:
Accept command line arguments
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x428]
push ebx
lea ebx, [ebp - 0x220]
sub esp, 0x48c
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x45c], 0x104
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0xc
mov ecx, eax
jmp 0x4010eb
sub ecx, 1
movzx eax, word [ebx + ecx*2]
cmp ax, 0x2f
je 0x40121b
cmp ax, 0x5c
je 0x40121b
test ecx, ecx
jne 0x4010d0
lea edi, [ebp - 0x464]
movdqa xmm0, xmmword [str._busyboxbox.exe]
mov eax, edi
mov ecx, 0xd
movdqa xmm1, xmmword [0x403010]
lea edx, [ebp - 0x442]
movups xmmword [ebp - 0x442], xmm0
movups xmmword [ebp - 0x438], xmm1
call fcn.00401000
mov edi, dword [ebp - 0x458]
test edi, edi
jne 0x40122f
xor eax, eax
lea edi, [ebp - 0x21c]
mov ecx, 0x10
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x220], 0x44
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 0x454]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x4011da
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x454]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0x468]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x454]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push edx
push edx
mov eax, dword [ebp - 0x468]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov dword [esp], 0xfffffff4
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [ebp - 0x468]
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x27
mov dword [esp + 4], str.w64devkit:_could_not_start_busybox.exe_n
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
mov eax, 0x17e
jmp 0x4011ce
lea edi, [ebp - 0x464]
mov edx, ebx
mov eax, edi
call fcn.00401000
jmp 0x4010f5
mov dword [esp], 0xfffffff4
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x25
mov dword [esp + 4], str.w64devkit:_busybox.exe_path_too_long_n
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
jmp 0x401214
Function at 0x10028210
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff20b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x1011c0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x101329e4]
test al, 1
jne 0x1002835b
or eax, 1
mov dword [0x101329e4], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x10110ae0]
xorps xmm0, xmmword [0x10110510]
mov dword [ebp - 0x20], 0x4e514e51
mov dword [ebp - 0x1c], 0x284e2c56
mov word [ebp - 0x18], 0x6e5f
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0x6e
inc eax
cmp eax, 0x1a
jb 0x10028293
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100282c0
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10035b40
mov byte [ebp - 4], 1
mov edx, dword [0x101c3974]
test edx, edx
je 0x100282e9
mov edx, dword [edx + 0x50]
jmp 0x100282eb
xor edx, edx
mov eax, dword [0x101c396c]
test eax, eax
je 0x100282f9
mov eax, dword [eax + 0x18]
jmp 0x100282fb
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10027d00
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x101329ec], eax
cmp ecx, 0xf
jbe 0x10028352
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10028343
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10028343
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100fe0da
mov eax, dword [0x101329ec]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x10028360
mov eax, dword [0x101329ec]
test eax, eax
je 0x10028368
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10034840
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x10034860
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
pop ebp
ret 4

Function at 0x10035940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff5b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1011c0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x424
call fcn.100fdc78
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x1010d80c
mov eax, dword [esi]
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x3b4], 0
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x3bc], 0
mov byte [edi + 0x3c0], 0
mov dword [edi + 0x3c4], 0
mov byte [edi + 0x3c8], 0
mov dword [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov word [edi + 0x3f0], 0
movups xmmword [edi + 0x3fc], xmm0
mov dword [edi + 0x40c], 0
mov dword [edi + 0x410], 0xf
mov byte [edi + 0x3fc], 0
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10028430
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003bfa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1011c0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003c05c
cmp byte [esi + 0x3d], 0
je 0x1003c05c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1003c04a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1003c011
sub eax, 1
je 0x1003c015
sub eax, 2
jne 0x1003c04a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fdc5c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003c033
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003c04a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fdc5c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fdc5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100fdc5c
mov esp, ebp
pop ebp
ret
Function at 0x1003ebd0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ffcc6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x1011c0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x101f6090]
test al, 1
jne 0x1003ed11
or eax, 1
mov dword [0x101f6090], eax
mov byte [ebp - 4], 1
mov eax, 0x10
movaps xmm0, xmmword [0x10110ae0]
xorps xmm0, xmmword [0x10110630]
mov dword [ebp - 0x3c], 0x57284e2c
mov dword [ebp - 0x38], 0x4e28284e
mov word [ebp - 0x34], 0x5b5f
mov byte [ebp - 0x32], 0x6e
movups xmmword [ebp - 0x4c], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x4c], 0x6e
inc eax
cmp eax, 0x1b
jb 0x1003ec60
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ec86
sub ecx, edx
lea eax, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10035b40
mov byte [ebp - 4], 2
mov edx, dword [0x101c3980]
test edx, edx
je 0x1003ecaf
mov edx, dword [edx + 0x50]
jmp 0x1003ecb1
xor edx, edx
mov eax, dword [0x101c3978]
test eax, eax
je 0x1003ecbf
mov eax, dword [eax + 0x18]
jmp 0x1003ecc1
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10027d00
mov eax, dword [ebp - 0x18]
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov dword [0x101f60c0], eax
cmp ecx, 0xf
jbe 0x1003ed0d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ed03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed4f
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
lea edx, [ebp - 0x11]
mov byte [ebp - 0x11], 0
cmova ecx, dword [ebx + 8]
call dword [0x101f60c0]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x1003ed5f
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ed55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003ed55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18