joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481d40
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533bfe
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x58a87c]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.004f1ee0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00406e70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00406e70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004179c0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.00406de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call fcn.00406de0
lea eax, [ebp - 0x27c]
push eax
call fcn.00413940
add esp, 4
test al, al
je 0x481f48
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x280], 0
call fcn.004ef147
add esp, 4
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
push 0x80
push 4
push 1
push SysReAllocString
push eax
lea ecx, [ebp - 0x280]
call fcn.0042d900
test al, al
jne 0x481f4c
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x481f48
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x481f33
test eax, eax
je 0x481f33
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004ef177
add esp, 8
mov dword [ebp - 0x280], 0
xor bl, bl
jmp 0x481f95
push esi
lea ecx, [ebp - 0x280]
call fcn.0042dae0
mov bl, al
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x481f95
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x481f80
test eax, eax
je 0x481f80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004ef177
add esp, 8
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.00406de0
mov al, bl
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.004ef136
mov esp, ebp
pop ebp
ret 4
Function at 0x4886e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53452c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.00406de0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.00406de0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.00406de0
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00406de0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.00406de0
push 0x88
push ebx
call fcn.004ef177
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x488a70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534589
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00409310
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x488c22
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x488b64
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x58fd84
mov byte [ebp - 0x15], al
call fcn.00403750
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x488b3f
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0041c710
inc edi
cmp edi, 4
jl 0x488b35
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x488ad0
mov dword [ebp + 8], esi
test esi, esi
je 0x488c22
mov eax, esi
cmp esi, 3
jge 0x488b9e
cmp eax, 3
jae 0x488c36
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x488b84
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x488c08
mov ecx, 0x58fd84
call fcn.00403750
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x488bee
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.0041c710
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x488be4
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x488c22
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.0041c710
sub edi, 1
jne 0x488c14
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
call fcn.004ef8c4
int3
Function at 0x489ae0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x58a87c]
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 esi, ecx
lea edi, [esi + 0x38]
mov ecx, edi
call fcn.00420970
lea ebx, [esi + 0x48]
push 0x55f4b4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x7c], ebx
push ebx
push eax
call fcn.004075f0
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, esi
push 0xb
call fcn.00406d70
push eax
mov ecx, ebx
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x489b5b
mov bl, 1
jmp 0x489c65
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x71], 0
call fcn.00406eb0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.004367c0
movzx ecx, byte [ebp - 0x71]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x40]
call fcn.00406eb0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.004367c0
test al, al
jne 0x489ba5
cmp byte [ebp - 0x78], al
je 0x489be2
push 0xb
lea ecx, [ebp - 0x40]
call fcn.00406d70
push eax
lea ecx, [ebp - 0x58]
call fcn.00406d70
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x489be2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406de0
mov bl, 1
jmp 0x489c65
mov ecx, esi
call fcn.00436160
cmp eax, 0xffffffff
je 0x489c4b
push esi
lea ecx, [ebp - 0x28]
call fcn.00406ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00436580
test al, al
je 0x489c3f
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00436200
test al, al
je 0x489c3f
mov edx, esi
mov ecx, ebx
call fcn.00436200
lea ecx, [ebp - 0x28]
test al, al
je 0x489c38
call fcn.00436310
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00406de0
jmp 0x489bc3
mov edx, esi
call fcn.00436200
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00406de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00406de0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00406de0
test bl, bl
je 0x489c96
mov ecx, edi
call fcn.00420e10
push 1
push dword [ebp - 0x7c]
mov ecx, edi
call fcn.00420750
mov ecx, edi
call fcn.00420970
mov al, 1
jmp 0x489c98
xor al, al
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.004ef136
mov esp, ebp
pop ebp
ret
Function at 0x499ed0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x499edb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00499ef0
Function at 0x4acf60
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x4ad020
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
lea ecx, [eax + ebx]
cmp ecx, edx
jb 0x4ad002
lea edi, [edx + edx]
push 0
cmp edi, ecx
cmovbe edi, ecx
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x4acfc4
push edi
push 0
push 0
push 0xf001f
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4acfd1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop edi
mov eax, 0x300
pop esi
pop ecx
ret 8
push dword [esi + 0x20]
push dword [esi + 0x18]
push edi
call fcn.004f1960
add esp, 0xc
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x18], edi
mov dword [esi + 4], ebp
push ebx
push dword [esp + 0x1c]
lea ecx, [edi + eax]
push ecx
call fcn.004f1960
add esp, 0xc
mov eax, ebx
add dword [esi + 0x1c], ebx
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esi]
test eax, eax
je 0x4ad04e
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
pop edi
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ecx
ret 8
Function at 0x4aefb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4aefb7
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x4af077
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
sub edi, 1
jne 0x4aefd0
pop edi
test esi, esi
je 0x4af09a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x558960]
sub esi, 1
jne 0x4af080
not ecx
mov eax, ecx
pop esi
ret

Function at 0x4afbb0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, edx
mov edx, ecx
mov dword [esp + 8], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x4afbd5
push dword [esp + 0x10]
mov eax, dword [ecx]
push ebp
push edx
call dword [eax + 0xc]
pop edi
pop ebp
pop ecx
ret
push ebx
mov ebx, ebp
imul ebx, dword [esp + 0x14]
cmp byte [edi], 0
je 0x4afc09
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
push edx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4afbfc
mov byte [edi + 8], 1
mov eax, dword [esp + 0x18]
xor edx, edx
pop ebx
pop edi
div ebp
pop ebp
pop ecx
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x10]
push esi
mov esi, dword [edi + 0x14]
lea eax, [edx + ebx]
sub esi, edx
cmp eax, dword [edi + 0x14]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [esp + 0x18]
call fcn.004f1960
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebp
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0x4b0f40
Capabilities:
Create directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x58a87c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, edx
push edi
mov edi, ecx
movzx eax, word [ebx]
test ax, ax
je 0x4b104c
push esi
mov esi, ebx
mov ecx, ebx
nop dword [eax + eax]
cmp ax, 0x2f
je 0x4b0f7c
cmp ax, 0x5c
jne 0x4b0f7e
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4b0f70
cmp esi, ebx
je 0x4b0fca
sub esi, ebx
lea eax, [esp + 0x214]
sar esi, 1
push esi
push ebx
push eax
call fcn.004f883f
add esi, esi
add esp, 0xc
cmp esi, 0x208
jae 0x4b1063
xor eax, eax
lea edx, [esp + 0x214]
mov ecx, edi
mov word [esp + esi + 0x214], ax
call fcn.004b0f40
lea ecx, [esp + 0xc]
mov edx, 0x104
mov eax, ecx
sub edi, eax
nop word [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4b1000
movzx eax, word [edi + ecx]
test ax, ax
je 0x4b1000
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4b0fe0
jmp 0x4b1004
test edx, edx
jne 0x4b1007
sub ecx, 2
xor eax, eax
mov esi, ebx
mov word [ecx], ax
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4b1010
lea edi, [esp + 0xc]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1024
mov ecx, ebx
lea eax, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [esp + 0x418]
pop edi
pop ebx
xor ecx, esp
call fcn.004ef136
add esp, 0x414
ret
call fcn.004ef8c4
int3
Function at 0x4b14e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5379d2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x344
call fcn.004ef147
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x138], 0xffffffff
mov dword [ebp - 4], 0xffffffff
cmp dword [esi], 0
jne 0x4b15fa
cmp dword [esi + 4], 0xffffffff
jne 0x4b15fa
lea edi, [esi + 0x13c]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4b1565
mov eax, dword [0x55c2ac]
mov ebx, dword [ebp + 8]
mov dword [edi], eax
mov edi, dword [ebp + 0x10]
cmp edi, 1
jne 0x4b159b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4b159b
mov dword [0x58fd0c], 0x2000000
jmp 0x4b1608
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push edi
mov ecx, ebx
call fcn.004af9f0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b15b8
mov eax, dword [ebp - 0x10]
jmp 0x4b15ff
mov ecx, ebx
call fcn.004affd0
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x4b15f3
cmp edi, 5
jne 0x4b15f3
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x4b15f3
mov eax, dword [ecx]
push dword [edx + 0x24]
mov eax, dword [eax]
call eax
test al, al
jne 0x4b15f3
mov ecx, esi
call fcn.004b1470
mov dword [0x58fd0c], 0x5000000
jmp 0x4b1608
mov eax, dword [0x58fda4]
jmp 0x4b15ff
mov eax, 0x1000000
mov dword [0x58fd0c], eax
test eax, eax
je 0x4b162a
push 0x344
push esi
call fcn.004ef177
add esp, 8
xor eax, eax
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 8
call fcn.004ef147
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b18b0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x537a12
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x4b18f4
call fcn.004b1a40
cmp byte [0x58fd10], 0
jne 0x4b1907
mov eax, SysReAllocString
jmp 0x4b1a1c
mov eax, dword [esi]
test eax, eax
jne 0x4b1972
push 8
call fcn.004ef147
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.004ef147
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004f1ee0
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b1961
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4b1a0b
call fcn.0042abd0
test al, al
jne 0x4b19ac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.0042b2c0
test al, al
je 0x4b1a0b
mov ecx, dword [esi]
add ecx, 4
call fcn.0042a6f0
call fcn.0042abd0
test al, al
je 0x4b1a0b
push 0x55cc20
lea ecx, [ebp - 0x28]
call fcn.00406e70
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.0042cfd0
mov ecx, eax
call fcn.0042d090
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406de0
test edi, edi
je 0x4b1a0b
push 0x56281c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b1a0b
push dword [esi]
push dword [ebp + 0x128]
call eax
test eax, eax
je 0x4b1a0b
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4b1a1a
mov dword [eax], SysReAllocString
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004ef136
lea esp, [ebp + 0x120]
pop ebp
ret 4
Function at 0x4b38f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537d4f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00406de0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00406de0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00406de0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00406de0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00406de0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00406de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4b3980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537d4f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00406de0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00406de0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00406de0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00406de0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00406de0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00406de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4b4c20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537f1f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00406e30
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00406e30
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00406e30
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00406e30
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00406e30
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00406e30
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b64e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5381bf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58a87c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00406ed0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00406ed0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00406ed0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00406ed0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00406ed0
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00406ed0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4