joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100970b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100f5074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x10097198
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1009e830
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x10097198
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10097107
sub ecx, esi
mov eax, 0x103
sar ecx, 1
sub eax, ecx
cmp edx, eax
jae 0x10097198
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10097130
mov eax, dword [0x100d8148]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10097145
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10097160
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010efc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10010efc
mov esp, ebp
pop ebp
ret
Function at 0x100971b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100f5074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.1009e830
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.10096670
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1009721a
mov al, byte [edi + ecx]
test al, al
je 0x1009721a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10097201
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x1009723b
inc eax
sub ecx, 1
jne 0x10097230
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x10097290
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x10097285
lea edi, [ebp - 0x84]
mov eax, 0x7fffffff
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x10097284
mov bl, byte [edi + ecx]
test bl, bl
je 0x10097284
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x10097270
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.1009e830
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x100d8250
push str.SoftwareMaster2Liveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x1009734a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10097314
test cl, cl
je 0x10097310
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10097314
add eax, 2
add esi, 2
test cl, cl
jne 0x100972f4
xor eax, eax
jmp 0x10097319
sbb eax, eax
or eax, 1
test eax, eax
je 0x1009734a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097326
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareMaster2Liveup
push 0x80000002
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097353
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x100d8250
push str.SoftwareMaster2Liveup
push 0x80000002
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10010efc
mov esp, ebp
pop ebp
ret
Function at 0x10098de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x10098ea7
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x10098df5
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10099b70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x100f5074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x23c]
push 0x208
push 0
push eax
mov esi, ecx
call fcn.1009e830
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
dec eax
cmp eax, 0x102
ja 0x10099cae
mov ecx, esi
call fcn.10099f90
mov dword [ebp - 0x34], 0x790053
test eax, eax
jne 0x10099c3c
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x740073
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x2c], 0x6d0065
push eax
push edi
mov dword [ebp - 0x28], 0x320033
mov dword [ebp - 0x24], 0x6e005c
mov dword [ebp - 0x20], 0x6f0074
mov dword [ebp - 0x1c], 0x6b0073
mov dword [ebp - 0x18], 0x6e0072
mov dword [ebp - 0x14], 0x2e006c
mov dword [ebp - 0x10], 0x780065
mov dword [ebp - 0xc], 0x65
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010efc
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [ebp - 0x30], 0x4e0073
mov word [ebp - 8], ax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x2c], 0x740061
push eax
push edi
mov dword [ebp - 0x28], 0x760069
mov dword [ebp - 0x24], 0x5c0065
mov dword [ebp - 0x20], 0x74006e
mov dword [ebp - 0x1c], 0x73006f
mov dword [ebp - 0x18], 0x72006b
mov dword [ebp - 0x14], 0x6c006e
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010efc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
xor ecx, ebp
pop esi
call fcn.10010efc
mov esp, ebp
pop ebp
ret 4
Function at 0x1009a8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9b13
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100f5074]
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 ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x100f5248]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push 0x80000002
call fcn.10095c90
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x1009aa81
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.1009e830
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x100d9668
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009aa81
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x1009a975
cmp eax, 2
jne 0x1009aa81
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1009a996
test cl, 1
jne 0x1009aa81
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x1009a99c
jmp 0x1009aa81
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x1009aa81
call fcn.1000b3b0
mov ecx, eax
test ecx, ecx
je 0x1009aaac
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.10098850
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x100d9670
push eax
call fcn.1009aee0
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.10098de0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x1009aa65
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1009aa06
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.1009ab00
push dword [0x100f5250]
lea eax, [ebp - 0x74]
push dword [0x100f524c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1009aa42
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1009aa5e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1009aa83
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1009aa81
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x1009aa8e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.10010efc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100087a0
int3
Function at 0x1009abe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9b48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100f5074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x100f5248]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push 0x80000002
call fcn.10095c90
test eax, eax
je 0x1009ad08
mov esi, dword [ebp - 0x18]
mov edi, dword [0x100f5248]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x1009acb3
cmp dword [esi], 0
je 0x1009aca6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1009ac73
mov eax, 1
jmp 0x1009acd4
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1009acac
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push 0x80000002
call eax
jmp 0x1009acd4
cmp dword [esi + 4], 0
jne 0x1009acb3
mov eax, 1
jmp 0x1009acd4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1009acfe
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1009ace6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x1009ad0b
xor ebx, ebx
jmp 0x1009adaf
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x1009adaf
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1009ad68
mov ecx, dword [ebx]
test ecx, ecx
je 0x1009adce
push ecx
push eax
call fcn.100a5e8a
add esp, 8
test eax, eax
je 0x1009ad68
mov edx, dword [edi]
test edx, edx
je 0x1009ad68
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ad40
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x1009ad73
lea eax, [edx + 0xd]
jmp 0x1009ada8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ad80
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x100d9668
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x1009adba
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100087a0
int3
Function at 0x1009c460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009c4d1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1009c49f
cmp eax, 2
jne 0x1009c4bb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1009c4cb
test ecx, ecx
je 0x1009c4c6
test cl, 1
jne 0x1009c4bb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1009c4cb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x405240
Capabilities:
Encode data using base64

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40539f
mov ebp, dword [esp + 0x10]
test ebp, ebp
jl 0x40539f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x405388
push edi
mov edi, ebp
test ebp, ebp
jle 0x405384
push ebx
cmp edi, 3
jl 0x405303
mov cl, byte [esi]
mov dl, byte [esi + 1]
inc esi
mov byte [esp + 0x18], cl
inc esi
mov ebx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esp + 0x14], dl
mov cl, byte [esi]
inc esi
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x18]
and ecx, 0xff
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + ebx]
mov byte [eax], dl
mov edx, dword [esp + 0x14]
and edx, 0xff
inc eax
mov ebx, edx
and edx, 0xf
shr ebx, 4
or ebx, ecx
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shl edx, 2
mov cl, byte [ebx + ecx]
mov byte [eax], cl
mov ecx, dword [esp + 0x1c]
and ecx, 0xff
inc eax
mov ebx, ecx
shr ebx, 6
or ebx, edx
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
and ecx, 0x3f
mov dl, byte [ebx + edx]
mov byte [eax - 1], dl
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov cl, byte [ecx + edx]
mov byte [eax], cl
jmp 0x405377
mov dl, byte [esi]
inc esi
cmp edi, 2
mov byte [esp + 0x18], dl
jne 0x405318
mov cl, byte [esi]
inc esi
mov byte [esp + 0x14], cl
jmp 0x40531d
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 0x18]
mov ebx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ecx, 0xff
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + ebx]
mov byte [eax], dl
mov edx, dword [esp + 0x14]
and edx, 0xff
inc eax
mov ebx, edx
shr ebx, 4
or ebx, ecx
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
cmp edi, 1
mov cl, byte [ebx + ecx]
mov byte [eax - 1], cl
jne 0x405365
mov dl, 0x3d
jmp 0x405371
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0xf
mov dl, byte [ecx + edx*4]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
sub edi, 3
inc eax
test edi, edi
jg 0x405272
pop ebx
mov byte [eax], 0x30
pop edi
lea ecx, [ebp + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
pop esi
shr edx, 0x1f
add eax, edx
pop ebp
shl eax, 2
ret
pop esi
or eax, 0xffffffff
pop ebp
ret
Function at 0x4138f0
Capabilities:
Get number of processors

Disassembly:
mov al, byte [0x447a6d]
test al, al
jne 0x4138fe
jmp fcn.00407320
ret

Function at 0x414860
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x437d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
mov esi, ecx
push eax
call fcn.00414900
push str.data
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_operator
lea ecx, [esp + 8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
push 1
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00414a20
test eax, eax
jne 0x4148d5
push eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret

Function at 0x4170a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x33c]
test eax, eax
jne 0x4170ff
call dword [sym.imp.termb.dll_InitCommExt]
test eax, eax
jg 0x4170ca
push str.___l
push 0x45b
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop esi
ret
push 0
push 0
push esi
push 0x415210
push 0
push 0
mov dword [esi + 0x33c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x449704
push 0x45b
mov ecx, esi
mov dword [esi + 0x348], eax
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop esi
ret

Function at 0x417916
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x438168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x33c]
test eax, eax
je 0x4179a7
mov eax, dword [esi + 0x348]
push 0x3e8
push eax
mov dword [esi + 0x33c], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x417959
mov ecx, dword [esi + 0x348]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x348], 0
call dword [sym.imp.termb.dll_CloseComm]
lea edx, [esi + 0x340]
push 0x4497a8
lea eax, [esp + 8]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x45b
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x417f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43822c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CFrameWnd::CFrameWnd
lea ecx, [esi + 0xd0]
mov dword [esp + 0x28], 0
call fcn.00433280
lea ecx, [esi + 0x150]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CToolBar::CToolBar
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xc4], ecx
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
mov dword [esi], 0x43dba0
mov dword [esi + 0xc8], eax
mov dword [esi + 0xc0], edi
mov dword [esi + 0xcc], edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x40]
mov byte [esp + 0x28], 3
test eax, eax
je 0x417ffd
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
jmp 0x418073
lea eax, [esp + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x418042
lea edx, [esp + 8]
push 0x4497ec
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x30]
jmp 0x41806e
lea ecx, [esp + 8]
push 0x4497e0
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, 0xc8
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, 0x1f4
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
push 0xcf8000
push ecx
push 0
mov ecx, esi
call sub.MFC42.DLL_CFrameWnd::Create
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x4185b0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x43829f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov dword [esp + 0x10], 0
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x28]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x28]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x418656
mov edi, dword [esp + 0x2c]
mov al, byte [esi + eax]
mov ecx, edi
shr ecx, 4
xor cl, al
push ecx
push esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::SetAt
mov edx, dword [esp + 8]
movzx ax, byte [esi + edx]
add eax, edi
mov edi, 0x58c9
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*2]
shl ecx, 7
add ecx, eax
mov eax, dword [esp + 0x28]
lea edx, [ecx + ecx*8]
mov ecx, dword [eax - 8]
sub edi, edx
inc esi
cmp esi, ecx
jl 0x418615
lea eax, [esp + 8]
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esp + 0x28]
xor edi, edi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x4186ee
push ebx
mov bl, byte [esp + 0x34]
mov cl, byte [edi + eax]
push 0x4498d0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x34]
and esi, 0xff
call sub.MFC42.DLL_CString::operator_2
mov eax, 0x4ec4ec4f
lea ecx, [esp + 0x10]
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
add dl, bl
push edx
push 0
call sub.MFC42.DLL_CString::SetAt
mov eax, esi
mov ecx, 0x1a
cdq
idiv ecx
lea ecx, [esp + 0x10]
add dl, bl
push edx
push 1
call sub.MFC42.DLL_CString::SetAt
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call fcn.004330fa
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, dword [eax - 8]
jl 0x41867f
pop ebx
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10