joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10028490
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b6f6
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100b802c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
lea ebx, [edi + 4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp esi, dword [eax]
mov eax, dword [ebp + 0x10]
jne 0x100284fc
cmp eax, dword [ebx]
jne 0x100284fc
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.10027da0
push 8
mov ecx, edi
call fcn.100265c0
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10028606
cmp esi, eax
je 0x10028602
mov eax, dword [esi]
mov dword [ebp + 0xc], eax
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xc]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xd]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xe]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xf]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [edi + 0xc]
cmp dword [eax + ecx*8 + 4], esi
lea edx, [ecx*8]
jne 0x1002859f
cmp dword [eax + edx], esi
jne 0x10028596
mov ecx, dword [ebx]
mov dword [eax + edx], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x100285a9
mov ecx, dword [esi + 4]
mov dword [eax + edx + 4], ecx
jmp 0x100285a9
cmp dword [eax + edx], esi
jne 0x100285a9
mov ecx, dword [esi]
mov dword [eax + edx], ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 0x10]
dec dword [edi + 8]
lea ebx, [eax + 0x10]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x100285e0
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
lea eax, [esi + 0x10]
mov ecx, eax
call fcn.10023490
push esi
call fcn.10001010
mov esi, dword [ebp + 0xc]
lea ebx, [edi + 4]
add esp, 4
cmp esi, dword [ebp + 0x10]
jne 0x10028504
mov ecx, dword [ebp - 0x14]
mov dword [ecx], esi
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037f93
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10028b20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b802c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 8], ecx
jb 0x10028b4b
mov esi, dword [ebx]
jmp 0x10028b4d
mov esi, ebx
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x10028b74
nop dword [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10028b60
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
mov esi, dword [ebp - 0xc]
and ecx, edx
mov edx, dword [eax + 0xc]
mov esi, dword [esi + 4]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov dword [ebp - 0xc], esi
mov edi, dword [edx + ecx*4]
inc ecx
mov dword [ebp - 0x14], edi
lea ecx, [edx + ecx*4]
mov dword [ebp - 0x18], ecx
cmp edi, esi
jne 0x10028b9f
mov ecx, esi
jmp 0x10028ba3
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10028c88
cmp dword [ebx + 0x14], 8
lea edx, [eax + 8]
jb 0x10028bb8
mov esi, dword [ebx]
jmp 0x10028bba
mov esi, ebx
cmp dword [edx + 0x14], 8
lea ecx, [edx + 0x10]
jb 0x10028bc5
mov edx, dword [edx]
mov ecx, dword [ecx]
mov edi, dword [ebp - 8]
cmp ecx, edi
mov dword [ebp - 0x10], ecx
cmovb edi, ecx
test edi, edi
jne 0x10028bf5
xor ecx, ecx
test ecx, ecx
jne 0x10028be8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
cmp ecx, edx
jb 0x10028be8
jbe 0x10028c16
mov eax, dword [eax]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
jmp 0x10028b97
mov cx, word [edx]
cmp cx, word [esi]
jne 0x10028c08
add edx, 2
add esi, 2
sub edi, 1
jmp 0x10028bd4
movzx ecx, word [edx]
cmp cx, word [esi]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x10028bd8
cmp dword [eax + 0x1c], 8
lea edx, [eax + 8]
lea edi, [edx + 0x10]
jb 0x10028c24
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
jb 0x10028c2c
mov ebx, dword [ebx]
mov edi, dword [edi]
mov esi, edi
cmp dword [ebp - 8], edi
cmovb esi, dword [ebp - 8]
test esi, esi
jne 0x10028c67
xor ecx, ecx
test ecx, ecx
jne 0x10028c4a
mov ecx, dword [ebp - 8]
cmp ecx, edi
jb 0x10028c4a
jbe 0x10028c4d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037f93
mov esp, ebp
pop ebp
ret 8
mov cx, word [ebx]
cmp cx, word [edx]
jne 0x10028c7a
add ebx, 2
add edx, 2
sub esi, 1
jmp 0x10028c39
movzx ecx, word [ebx]
cmp cx, word [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x10028c3d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.10037f93
mov esp, ebp
pop ebp
ret 8
Function at 0x1002c5d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.1002c712
mov ebx, eax
test ebx, ebx
jne 0x1002c709
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtMUIGetMappedLocale
push dword [esi + 8]
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x1002c610
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002c70b
push str.RtMUILoadLibrary
push dword [esi + 8]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadLibraryEx
push dword [esi + 8]
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadLibraryImpl
push dword [esi + 8]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadString
push dword [esi + 8]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadStringEx
push dword [esi + 8]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x1002c605
push str.RtMUIFindResource
push dword [esi + 8]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x1002c605
push str.RtMUIFindResourceEx
push dword [esi + 8]
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadImage
push dword [esi + 8]
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadImageEx
push dword [esi + 8]
call edi
mov dword [esi + 0x30], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadBitmap
push dword [esi + 8]
call edi
mov dword [esi + 0x34], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadBitmapEx
push dword [esi + 8]
call edi
mov dword [esi + 0x38], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadIcon
push dword [esi + 8]
call edi
mov dword [esi + 0x3c], eax
test eax, eax
je 0x1002c605
push str.RtMUILoadIconEx
push dword [esi + 8]
call edi
mov dword [esi + 0x40], eax
test eax, eax
je 0x1002c605
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1002ea80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1002ea93
lea eax, [edi + 0x57]
pop edi
pop ebp
ret 8
push esi
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
push 0x8000
push 0x10095388
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp + 8]
test eax, eax
jns 0x1002eacd
test esi, esi
je 0x1002eac2
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
mov eax, 0x57
pop edi
pop ebp
ret 8
push 0xffffffffffffffff
push esi
push dword [ebp + 0xc]
push edi
call fcn.100617ed
add esp, 0x10
mov edi, eax
test esi, esi
je 0x1002eae9
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
mov eax, edi
pop edi
pop ebp
ret 8

Function at 0x1002f1c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x1002f1dd
xor ecx, ecx
cmp cx, word [eax]
je 0x1002f1dd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002f1dd
mov al, 1
ret
xor al, al
ret
Function at 0x1002f4d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x1002f4ed
xor ecx, ecx
cmp cx, word [eax]
je 0x1002f4ed
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002f4ed
mov al, 1
ret
xor al, al
ret

Function at 0x1002f680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x1002f74f
xor eax, eax
cmp ax, word [ebx]
je 0x1002f74f
lea eax, [edi + 0x20]
push eax
push 0
call fcn.1002d910
add esp, 8
test al, al
je 0x1002f6ba
pop edi
mov eax, 0xb7
pop ebx
pop ebp
ret 8
push esi
mov esi, dword [ebp + 0xc]
push 0
push 0xa0
push esi
push 0
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x24], eax
test ecx, ecx
je 0x1002f6ec
cmp ecx, 0xffffffff
je 0x1002f6ec
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
jne 0x1002f708
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov dword [edi + 0x24], 0
pop edi
pop ebx
pop ebp
ret 8
cmp esi, 3
jne 0x1002f723
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret 8
cmp esi, 2
je 0x1002f72d
cmp esi, 1
jne 0x1002f746
push 0
lea ecx, [ebp + 0xc]
mov word [ebp + 8], 0xfeff
push ecx
push 2
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret 8
pop edi
mov eax, 0x57
pop ebx
pop ebp
ret 8
Function at 0x10030610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
test eax, eax
je 0x1003063c
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x50]
mov ecx, esi
mov ebx, 0x57
call eax
test al, al
je 0x100306ed
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100306ed
xor ecx, ecx
cmp cx, word [eax]
je 0x100306ed
mov ecx, esi
call fcn.1002f760
mov ebx, eax
test ebx, ebx
je 0x1003067b
cmp ebx, 0xb7
jne 0x100306ed
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002e3a0
mov edi, dword [ebp - 4]
mov ebx, eax
test ebx, ebx
jne 0x100306ed
test edi, edi
jne 0x100306ab
lea ebx, [eax + 0xe]
jmp 0x100306ed
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100306b0
sub ecx, edx
lea eax, [ebp - 0x10]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
mov esi, eax
push edi
call fcn.1002fb70
test esi, esi
jne 0x100306ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x24], 0
test eax, eax
je 0x10030707
cmp eax, 0xffffffff
je 0x10030707
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10030714
push edi
call fcn.10056501
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10030722
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x10030730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10030745
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10030786
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10030782
nop word [eax + eax]
cmp esi, edx
jae 0x10030786
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10030770
cmp esi, edx
jb 0x1003078b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x10033460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100b802c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
xor esi, esi
push esi
push eax
call fcn.10050310
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, 0x57
lea edx, [ebp - 0x210]
test eax, eax
cmovs esi, ecx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100334b7
sub edx, ecx
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.100304f0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10037f93
mov esp, ebp
pop ebp
ret 4

Function at 0x1003d426
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edx, dword [ebp - 0x500]
add edx, 1
mov dword [ebp - 0x500], edx
push ecx
push edx
add esp, 4
add ecx, 0x17fd5
jmp 0x1003d1c0
pop ecx
push edx
push eax
add esp, 4
and edx, 0x12eaf
call fcn.1003d1db
add byte [edx + 0x40], al
cmp al, 0x44
inc edx
dec esp
dec esp
dec eax
add esp, 4
pop eax
push eax
push ecx
add esp, 4
call 0x1003d2c1
add byte [ebx + 0x43], cl
dec edi
inc esi
dec esp
cmp al, 0x3e
xor eax, 0xc4835050
add al, 0x58
mov ecx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d0], ecx
jmp 0x1003d407
cmp dword [ebp - 0x15d0], 0
jne 0x1003d450
push eax
and eax, 0xa3a0
call 0x1003d426
add byte [esi + 0x3d494e44], bh
inc ebp
add esp, 4
pop eax
push esi
push edx
add esp, 4
and esi, 0xae3a
or esi, 0x5421
sub esi, 0xd0e0
pop esi
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0xab4], eax
jmp 0x1003d491
jmp 0x1003d19e
Function at 0x1003d797
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push edx
jmp 0x1003d788
call fcn.1003d797
add byte [eax], bh
xor eax, 0x504b503a
aaa
push eax
add esp, 4
pop edx
push ecx
sub ecx, 0x30cd
and ecx, 0x2556
jmp 0x1003d7b0
pop ecx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x20c], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push edx
push ebx
add esp, 4
and edx, 0x1676e
add edx, 0x2fea
pop edx
push ebx
push edi
add esp, 4
jmp 0x1003d828
jmp 0x1003d830
or ebx, 0x10911
sub ebx, 0xfc6c
pop ebx
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x1003d860
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15d8], eax
jmp 0x1003d8c3
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x1003d77f
movzx ecx, word [ebp - 0x20c]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x1003d77f
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x1003d8ad
mov dword [ebp - 0x15d4], 0xffffffff
jmp 0x1003d8b7
mov dword [ebp - 0x15d4], 1
mov edx, dword [ebp - 0x15d4]
mov dword [ebp - 0x15d8], edx
cmp dword [ebp - 0x15d8], 0
jne 0x1003d90c
push ecx
push ecx
add esp, 4
call 0x1003d8e0
add byte [edx], bh
inc ebx
dec esi
cmp dword [esi + 0x4c], eax
cmp dword [ebx + 0x47], ecx
add esp, 4
pop ecx
push edi
sub edi, 0xcb86
pop edi
push edi
push eax
add esp, 4
xor edi, 0x1a53
xor edi, 0x18312
pop edi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x318], eax
jmp 0x1003d974
push ebx
push eax
add esp, 4
call 0x1003d91e
add byte [ebx + 0x37], cl
inc ebp
inc eax
dec ebx
inc ebx
add esp, 4
and ebx, 0xf243
call 0x1003d934
add byte [edi], dh
dec ebp
cmp al, byte ss:[ecx + 0x42]
add esp, 4
add ebx, 0x12009
pop ebx
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x1003d96a
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x1003d720
mov dword [ebp - 0x318], 0
Function at 0x1003d8e0
Capabilities:
Get number of processors

Disassembly:
push edx
jmp 0x1003d788
call fcn.1003d797
add byte [eax], bh
xor eax, 0x504b503a
aaa
push eax
add esp, 4
pop edx
push ecx
sub ecx, 0x30cd
and ecx, 0x2556
jmp 0x1003d7b0
pop ecx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x20c], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push edx
push ebx
add esp, 4
and edx, 0x1676e
add edx, 0x2fea
pop edx
push ebx
push edi
add esp, 4
jmp 0x1003d828
jmp 0x1003d830
or ebx, 0x10911
sub ebx, 0xfc6c
pop ebx
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x1003d860
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15d8], eax
jmp 0x1003d8c3
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x1003d77f
movzx ecx, word [ebp - 0x20c]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x1003d77f
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x1003d8ad
mov dword [ebp - 0x15d4], 0xffffffff
jmp 0x1003d8b7
mov dword [ebp - 0x15d4], 1
mov edx, dword [ebp - 0x15d4]
mov dword [ebp - 0x15d8], edx
cmp dword [ebp - 0x15d8], 0
jne 0x1003d90c
push ecx
push ecx
add esp, 4
call 0x1003d8e0
add byte [edx], bh
inc ebx
dec esi
cmp dword [esi + 0x4c], eax
cmp dword [ebx + 0x47], ecx
add esp, 4
pop ecx
push edi
sub edi, 0xcb86
pop edi
push edi
push eax
add esp, 4
xor edi, 0x1a53
xor edi, 0x18312
pop edi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x318], eax
jmp 0x1003d974
push ebx
push eax
add esp, 4
call 0x1003d91e
add byte [ebx + 0x37], cl
inc ebp
inc eax
dec ebx
inc ebx
add esp, 4
and ebx, 0xf243
call 0x1003d934
add byte [edi], dh
dec ebp
cmp al, byte ss:[ecx + 0x42]
add esp, 4
add ebx, 0x12009
pop ebx
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x1003d96a
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x1003d720
mov dword [ebp - 0x318], 0
Function at 0x1003d934
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push edx
jmp 0x1003d788
call fcn.1003d797
add byte [eax], bh
xor eax, 0x504b503a
aaa
push eax
add esp, 4
pop edx
push ecx
sub ecx, 0x30cd
and ecx, 0x2556
jmp 0x1003d7b0
pop ecx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x20c], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push edx
push ebx
add esp, 4
and edx, 0x1676e
add edx, 0x2fea
pop edx
push ebx
push edi
add esp, 4
jmp 0x1003d828
jmp 0x1003d830
or ebx, 0x10911
sub ebx, 0xfc6c
pop ebx
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x1003d860
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15d8], eax
jmp 0x1003d8c3
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x1003d77f
movzx ecx, word [ebp - 0x20c]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x1003d77f
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x1003d8ad
mov dword [ebp - 0x15d4], 0xffffffff
jmp 0x1003d8b7
mov dword [ebp - 0x15d4], 1
mov edx, dword [ebp - 0x15d4]
mov dword [ebp - 0x15d8], edx
cmp dword [ebp - 0x15d8], 0
jne 0x1003d90c
push ecx
push ecx
add esp, 4
call 0x1003d8e0
add byte [edx], bh
inc ebx
dec esi
cmp dword [esi + 0x4c], eax
cmp dword [ebx + 0x47], ecx
add esp, 4
pop ecx
push edi
sub edi, 0xcb86
pop edi
push edi
push eax
add esp, 4
xor edi, 0x1a53
xor edi, 0x18312
pop edi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x318], eax
jmp 0x1003d974
push ebx
push eax
add esp, 4
call 0x1003d91e
add byte [ebx + 0x37], cl
inc ebp
inc eax
dec ebx
inc ebx
add esp, 4
and ebx, 0xf243
call 0x1003d934
add byte [edi], dh
dec ebp
cmp al, byte ss:[ecx + 0x42]
add esp, 4
add ebx, 0x12009
pop ebx
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x1003d96a
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x1003d720
mov dword [ebp - 0x318], 0
Function at 0x10067c25
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100678e8

Function at 0x10067c30
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10067a69

Function at 0x1006cf4c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006cc0c

Function at 0x10072be0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x100b802c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edi
and esi, 8
test eax, eax
jne 0x10072c16
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037f93
mov esp, ebp
pop ebp
ret
push 0x100
lea ecx, [ebp - 0x60c]
push ecx
push 0x100
lea ecx, [ebp - 0x40c]
push ecx
push 0
push 0
push 0
push 0
push eax
call fcn.10061a2b
add esp, 0x24
test eax, eax
jne 0x10072c04
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10072c04
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10072c04
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10056804
add esp, 0xc
test eax, eax
jne 0x10072c04
mov eax, edi
xor eax, 8
test esi, esi
cmove eax, edi
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10037f93
mov esp, ebp
pop ebp
ret

Function at 0x100741a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.10073440
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
push ebx
push dword [edi]
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, 0xea
jne 0x10074211
push dword [edi]
call fcn.10001010
mov dword [edi], 0
push 0x100bd6bc
push dword [ebx]
call fcn.10038c24
add esp, 0xc
mov dword [edi], eax
push ebx
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007422c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10