joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44228f
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004347b0
mov eax, dword [0x5d8034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
call fcn.00452686
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1010], edx
call fcn.00460a53
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00441ed6
add esp, 0x28
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
xor ecx, ecx
pop edi
inc ecx
test eax, eax
push 0x57bddc
push ebx
cmovne edi, ecx
call fcn.0045e6f6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4423ab
test edi, edi
jne 0x44234e
push esi
push 2
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0xfeff
push 1
push eax
call fcn.00460771
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call fcn.0045fbf3
push esi
add eax, eax
push eax
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.00460771
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xd
push 1
push eax
call fcn.00460771
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xa
push 1
push eax
call fcn.00460771
push esi
call fcn.0045e4f4
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434294
mov esp, ebp
pop ebp
ret

Function at 0x442585
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0045fbf3
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004342eb
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.0045fbd1
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x4425ff
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x4425f6
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4425ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4425fd
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x4425c9
jmp 0x4425ff
xor edi, edi
push esi
call fcn.004342a5
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44260f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d8034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.00442b1f
lea eax, [ebp - 0x20c]
push eax
call fcn.0045fbf3
add esp, 0x14
test eax, eax
je 0x4426c7
lea eax, [ebp - 0x20c]
push 0x5d0154
push eax
call fcn.0045fb60
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0045fb60
lea eax, [ebp - 0x20c]
push 0x5d0154
push eax
call fcn.0045fb60
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4426a0
lea eax, [ebp - 0x20c]
push eax
call fcn.00442585
pop ecx
cmp word [ebp - 0x20c], si
je 0x4426b8
lea eax, [ebp - 0x20c]
push eax
call fcn.0045fbf3
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00420b50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434294
mov esp, ebp
pop ebp
ret

Function at 0x442800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d8034]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5e3a64]
test al, al
jne 0x442899
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044fa50
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x442890
lea eax, [ebp - 0x20c]
push eax
call fcn.0045ff51
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004519ba
pop ecx
pop ecx
test eax, eax
jne 0x442888
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004519ba
pop ecx
pop ecx
test eax, eax
je 0x442890
mov byte [0x5e3a64], bl
jmp 0x442896
mov bl, byte [0x5e3a64]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434294
mov esp, ebp
pop ebp
ret
Function at 0x4428a7
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x577e37
call fcn.004719db
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.0044fa50
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0044fa50
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0044fa50
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0044fa50
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044fa50
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.0044fa50
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.00442b1f
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0045fbd1
lea eax, [ebp - 0x218]
push eax
call fcn.0045fbf3
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00451919
add esp, 0x24
test eax, eax
jne 0x4429ab
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0044260f
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00421a40
push esi
push 1
jmp 0x442b0c
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0045fbd1
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.0045fb60
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.0045fbd1
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.0045fb60
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.0045fbd1
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.0045fb60
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x442ae9
cmp dword [ebp - 0xc5c], 0
je 0x442ae9
test ecx, ecx
je 0x442ae9
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.0043be12
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442ab9
lea eax, [ebp - 0x420]
push eax
call fcn.00442585
pop ecx
cmp word [ebp - 0x420], 0
jne 0x442ac7
xor eax, eax
jmp 0x442ad4
lea eax, [ebp - 0x420]
push eax
call fcn.0045fbf3
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00420b50
jmp 0x442af8
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0044260f
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00421a40
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00420a90
mov eax, edi
call fcn.00471996
ret
Function at 0x442bac
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x442f35
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x577f1b
call fcn.004719db
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.0045bdbb
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x442f71
push 0x5d0148
mov ecx, esi
call fcn.00420940
jmp 0x4430d9
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x442f96
push ebx
call fcn.0045b677
push dword [ebp - 0x54]
call fcn.0045bdbb
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x442f60
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4430ae
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x443087
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.00425880
lea eax, [edi + 0x10c]
push eax
call fcn.0056fcf5
push 0x57be9c
push eax
call fcn.00451c40
add esp, 0x2c
test eax, eax
jne 0x4430e3
cmp dword [edi + 0x1a0], 0x47
je 0x4430e3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.00420940
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.0044194b
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00420de0
mov edi, dword [edi]
test edi, edi
jne 0x442fde
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x4430a6
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x4430a6
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00420f70
lea ecx, [ebp - 0x60]
call fcn.00425240
push ebx
call fcn.0045b677
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00425590
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00420de0
mov eax, esi
call fcn.00471996
ret 4
cmp byte [ebp - 0x20], 0
jne 0x4430ed
xor eax, eax
jmp 0x4430f7
lea eax, [ebp - 0x20]
push eax
call fcn.00460150
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.00420e70
jmp 0x4430a6
Function at 0x443123
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x5d8034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.0044fa50
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5d0df8
call fcn.0045fbf3
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00460492
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.0044fa50
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.0044fa50
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.0044fa50
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x443221
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00425880
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00420940
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434294
mov esp, ebp
pop ebp
ret 4
Function at 0x443474
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x443555
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x443498
inc edx
cmp edx, 2
jg 0x4434d6
cmp al, 0x7f
ja 0x4434d6
movzx eax, al
mov al, byte [eax + 0x57bf00]
cmp al, 0x7f
je 0x4434d6
cmp al, 0x40
jae 0x4434b1
test edx, edx
jne 0x4434d6
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x44348b
test ecx, ecx
je 0x443555
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x4434db
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4434d8
push 0xffffffffffffffee
pop eax
jmp 0x443557
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x44354f
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x57bf00]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x443540
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x44352b
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x443538
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x443540
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x4434f0
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x44355b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x44356f
xor eax, eax
jmp 0x4436ad
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x443598
dec edx
sub edx, 1
jne 0x44359a
add eax, 2
jmp 0x44359a
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x4435ad
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x4436ac
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x443643
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x57bec0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x57bec0]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x57bec0]
mov byte [edi + 2], al
mov al, byte [esi + 0x57bec0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x4435d8
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x443646
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x44369f
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x44365b
movzx ecx, byte [eax + 1]
jmp 0x44365d
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x57bec0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x57bec0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x443694
and ecx, 0xf
mov al, byte [ecx*4 + 0x57bec0]
mov byte [edi + 2], al
jmp 0x443698
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4476cc
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x578608
call fcn.004719db
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.0044fa50
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x5d00ec
mov ecx, esi
call fcn.00420830
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4477c3
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4477bc
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x4477f5
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x4478c1
cmp eax, 1
jne 0x4477eb
mov edi, str.WindowsXP
jmp 0x4478b1
mov edi, str.WindowsServer2003
jmp 0x4478b1
cmp eax, 6
jne 0x4478c1
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x44789e
sub eax, 1
je 0x447897
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x4478c7
cmp edi, 0x1ebb
jne 0x447833
mov edi, str.Windows8
jmp 0x4478b1
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x44782c
cmp edi, 0x1f13
je 0x44782c
cmp dword [ebp - 0x340], 0xa
jne 0x44786b
cmp dword [ebp - 0x344], 0
jne 0x4478c7
push str.Windows10
call fcn.0045fbf3
pop ecx
push eax
push str.Windows10
jmp 0x44788e
cmp dword [ebp - 0x340], 6
jne 0x4478c7
cmp dword [ebp - 0x344], 3
jne 0x4478c7
push str.Windows8.1
call fcn.0045fbf3
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.00420b50
jmp 0x4478c7
mov edi, str.Windows7
jmp 0x4478b1
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x4478b1
mov edi, str.WindowsServer2008
push edi
call fcn.0045fbf3
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00420b50
mov edi, dword [ebp - 0x338]
push 0x5d00ec
mov ecx, esi
call fcn.0043bddc
test eax, eax
jne 0x447935
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0044fa50
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.0043be12
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x447919
mov eax, ebx
jmp 0x447926
lea eax, [ebp - 0x218]
push eax
call fcn.0045fbf3
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00420b50
cmp dword [ebp + 0xc], 0
je 0x447963
cmp word [ebp - 0x320], 0
je 0x447954
lea eax, [ebp - 0x320]
push eax
call fcn.0045fbf3
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.00423970
mov eax, esi
call fcn.00471996
ret
Function at 0x448c9b
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x4494fd
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x44957d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x57c66c
push eax
call edi
push 0x57c7b8
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x44957c
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret

Function at 0x44976e
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x57894d
call fcn.004719db
mov eax, dword [ebp + 8]
test eax, eax
je 0x44986a
push eax
lea ecx, [ebp - 0x40]
call fcn.00420830
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00439bd5
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.0044fa50
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x44985b
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x449850
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x4497fa
mov eax, ebx
jmp 0x449807
lea eax, [ebp - 0x248]
push eax
call fcn.0045fbf3
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00420b50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00439bd5
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00421a10
test eax, eax
je 0x449870
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00420a90
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4497dd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00420a90
mov eax, esi
call fcn.00471996
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00420a90
jmp 0x44985d