joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ae00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4746d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebp
push 0x30c
lea ecx, [esp + 0x14]
call fcn.00415330
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 8]
xor ebp, ebp
push ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
push 0x20019
push ebp
push edx
push eax
mov dword [esp + 0x58], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43ae79
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.00415380
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 0x1c
push ebx
push esi
push edi
lea ecx, [esp + 0x1c]
mov esi, 1
call fcn.00416590
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x68]
lea edx, [esp + 0x10]
push ecx
push edi
push ebx
push 0
push edx
push 0
lea ecx, [esp + 0x34]
call fcn.00416510
push eax
mov eax, dword [esp + 0x2c]
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x43aefa
lea ecx, [esp + 0x1c]
call fcn.00415700
test ebx, ebx
je 0x43aed1
mov eax, dword [ebx]
jmp 0x43aed3
xor eax, eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
push ecx
push edi
push edx
push eax
push 0
lea ecx, [esp + 0x30]
call fcn.00416510
push eax
call dword [esp + 0x74]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43af1c
jmp 0x43af01
cmp eax, 0xea
jne 0x43af1c
lea ecx, [esp + 0x1c]
call fcn.00416590
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x68], eax
jmp 0x43ae96
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0x44
ret 0x1c
Function at 0x43af50
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x47471c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push edi
push 0x30c
lea ecx, [esp + 0x14]
call fcn.00415330
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa4], edi
call fcn.00418b00
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
lea eax, [esp + 8]
mov byte [esp + 0xa4], 1
push eax
push 0x20019
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43afe5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 0
call fcn.00418b60
lea ecx, [esp + 0x10]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00415380
xor eax, eax
jmp 0x43b147
push ebx
push ebp
push esi
lea ecx, [esp + 0x1c]
mov ebx, 1
call fcn.00416590
push edi
mov dword [esp + 0x14], eax
push edi
push edi
lea eax, [esp + 0x1c]
push edi
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.00416510
mov ecx, dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push edi
push ecx
call ebp
test eax, eax
jne 0x43b0c2
lea ecx, [esp + 0x1c]
call fcn.00415700
push 0x38
call fcn.00461f3a
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x43b05f
mov dword [esi], 0x4777ac
lea ecx, [esi + 0xc]
mov byte [esp + 0xb0], 3
call fcn.004152e0
mov dword [esi], 0x477a9c
jmp 0x43b061
xor esi, esi
test esi, esi
mov byte [esp + 0xb0], 1
je 0x43b08b
push 0
lea ecx, [esp + 0x20]
call fcn.00416510
push eax
lea ecx, [esi + 0xc]
call fcn.00415510
push esi
lea ecx, [esp + 0x4c]
call fcn.00418d00
lea ecx, [esp + 0x1c]
call fcn.00416590
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], eax
inc edi
call fcn.00416510
push eax
mov eax, dword [esp + 0x2c]
push edi
push eax
call ebp
test eax, eax
je 0x43b024
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
call fcn.00418eb0
mov esi, eax
test esi, esi
je 0x43b114
mov edi, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
push edi
push 0
push 0
push 0
push 0
lea ecx, [esi + 0xc]
call fcn.00416510
push eax
call ebp
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x43b114
mov ecx, esi
call fcn.00418fc0
mov esi, eax
test esi, esi
jne 0x43b0ea
lea ecx, [esp + 0x48]
call fcn.00418c30
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 0
call fcn.00418b60
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00415380
pop esi
mov eax, ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
pop edi
mov dword fs:[0], ecx
add esp, 0xa4
ret 0x10
Function at 0x43b620
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x474786
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push esi
mov esi, ecx
lea ecx, [esp + 0x2c]
call fcn.00425300
lea ecx, [esp + 4]
mov dword [esp + 0x380], 0
call fcn.00422590
mov eax, dword [esp + 0x38c]
mov byte [esp + 0x380], 1
cmp eax, 4
ja case.default.0x43b673
jmp dword [eax*4 + 0x43b75c]
push 0x4983e0
mov ecx, esi
call fcn.00415970
jmp case.default.0x43b673
push 0
push 0x2000
lea ecx, [esp + 0x1ec]
call fcn.004346f0
cmp eax, 1
je case.0x43b673.4
push 0
mov ecx, esi
call fcn.00416510
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea ecx, [esp + 0x34]
call fcn.00425430
mov ecx, esi
call fcn.00415700
jmp case.default.0x43b673
push 0
mov ecx, esi
call fcn.00416510
push eax
mov ecx, esi
call fcn.00416590
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x43b6f4
push 0
mov ecx, esi
call fcn.00416510
push eax
push 0x1c
lea ecx, [esp + 0xc]
call fcn.004226a0
mov ecx, esi
call fcn.00415700
push 0x5c
mov ecx, esi
call fcn.00416b90
mov eax, dword [esp + 0x388]
mov ecx, esi
push eax
call fcn.00415880
push 0
mov ecx, esi
call fcn.00416510
lea ecx, [esp + 4]
mov byte [esp + 0x380], 0
call fcn.004225b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x380], 0xffffffff
call fcn.00425310
mov ecx, dword [esp + 0x378]
pop esi
mov dword fs:[0], ecx
add esp, 0x380
ret 8

Function at 0x43b7b0
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x43b7c6
mov edi, 0x4983e0
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
push 0
call fcn.00416510
push eax
mov ecx, esi
call fcn.00416590
push eax
push 0
mov ecx, esi
call fcn.00416510
push eax
mov eax, dword [esp + 0x24]
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
mov ebp, eax
call fcn.00416590
dec eax
cmp ebp, eax
jne 0x43b82e
mov ecx, esi
call fcn.00416590
shl eax, 1
push eax
mov ecx, esi
call fcn.00415470
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 6
mov dword [esp + 0x24], eax
jb 0x43b7d6
mov ecx, esi
call fcn.00415700
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10

Function at 0x43b840
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov edx, ecx
mov ecx, esi
push edi
mov ebp, ecx
xor eax, eax
mov edi, ebx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
call fcn.00416510
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push esi
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
ret 0x10
Function at 0x43b890
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x474798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.004152e0
push 0
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.00416510
push eax
lea ecx, [esp + 0x14]
call fcn.00416590
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.00416510
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x10]
call fcn.00415700
lea edx, [esp + 8]
lea ecx, [esp + 0x10]
push edx
push 0x48a2e8
push 0
call fcn.00416510
push eax
call fcn.00461ecf
add esp, 0xc
cmp eax, 1
je 0x43b92b
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x3c]
mov edx, edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10

Function at 0x43baa0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push edi
mov esi, ecx
mov edi, 0x3e8
mov eax, dword [esi + 0x34]
test eax, eax
je 0x43bac5
push eax
call fcn.00461c32
add esp, 4
push edi
call fcn.00461d1b
add esp, 4
mov dword [esi + 0x34], eax
test eax, eax
je 0x43bafd
push 0
mov ecx, esi
call fcn.00416510
push eax
mov eax, dword [esi + 0x34]
push edi
push eax
push 0x4983e0
push 0
push ebx
call ebp
lea ecx, [edi - 2]
cmp eax, ecx
jb 0x43bb06
add edi, 0x3e8
jmp 0x43bab5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x34]
push eax
mov ecx, esi
mov dword [esi + 0x38], edx
call fcn.0043bb20
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x43bf00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
push esi
lea ecx, [esp + 0xc]
call fcn.004152e0
mov eax, dword [ebx]
mov dword [esp + 0x40], 0
test eax, eax
je 0x43c007
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x43bf47
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x43bf49
xor esi, esi
push ebp
mov ebp, dword [esp + 0x4c]
push edi
push 0x48a2e4
push 1
mov ecx, ebp
call fcn.00416a50
push eax
lea ecx, [esp + 0x18]
call fcn.00415970
test esi, esi
mov dword [esp + 0x10], esi
je 0x43bf75
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x20]
push 0
push eax
call dword [edx + 0x20]
mov edi, eax
test edi, edi
jne 0x43bfba
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43bfa0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0
push eax
push esi
mov ecx, ebx
call fcn.0043c100
mov edi, eax
test edi, edi
je 0x43bfda
test esi, esi
je 0x43bfc4
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov esi, dword [esp + 0x10]
push 0x48a2e4
push 0
mov ecx, ebp
call fcn.00416a50
test eax, eax
jne 0x43bf5d
cmp edi, 1
pop edi
pop ebp
jne 0x43c007
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.00415380
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x38]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8

Function at 0x43c050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4748a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004152e0
mov eax, dword [esp + 0x40]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x3c], 0
call fcn.00415970
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0043c0d0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
Function at 0x43c1b0
Capabilities:
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x34]
xor esi, esi
push 0xf0000000
push 1
push esi
lea eax, [esp + 0x24]
push esi
mov dword [edi], esi
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [ebp], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43c2e4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push esi
push esi
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43c2e4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push esi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43c2e4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push 1
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x43c2e4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push ebx
push edx
push esi
push esi
push 1
push esi
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x54], ebx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x43c2e4
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00461d1b
add esp, 4
cmp eax, esi
mov dword [edi], eax
je 0x43c2e4
mov esi, dword [esp + 0x24]
mov ecx, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [ebp], ebx
push eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
push ebp
push edx
push 0
push 1
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x43c2de
mov dword [esp + 0x1c], 1
xor esi, esi
jmp 0x43c2ef
mov edi, dword [esp + 0x34]
xor esi, esi
mov ecx, dword [edi]
push ecx
call fcn.00461c32
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x43c2fe
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x43c30d
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x43c31d
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x43c330
Capabilities:
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
xor edi, edi
push 0xf0000000
push 1
push edi
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
xor ebx, ebx
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x43c3f3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edi
push edi
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43c3f3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43c3f3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push 1
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x43c3f3
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push esi
push eax
push edi
push 1
push edi
push ecx
mov dword [esp + 0x28], edi
mov dword [esi], edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x43c3f3
mov ebx, 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x43c402
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x43c40d
push eax
call ebp
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x43c41d
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xc
ret 0x18
Function at 0x43c430
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
lea eax, [ebx*4 + 8]
push eax
call fcn.00461d1b
mov esi, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [esi], eax
jne 0x43c455
pop esi
pop ebx
ret 0xc
push ebp
push edi
xor ecx, ecx
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x1c], ebp
test ebx, ebx
jbe 0x43c50b
mov edx, dword [esp + 0x18]
mov ebx, 4
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
xor eax, eax
mov al, byte [edx + ebp]
xor edx, edx
or ecx, eax
mov eax, ebp
mov ebp, 3
div ebp
cmp edx, 2
jne 0x43c4f0
mov edx, dword [esi]
mov eax, ecx
and eax, 0x3f
add edi, 4
shr ecx, 6
mov ax, word [eax*2 + 0x48d840]
mov word [ebx + edx + 2], ax
mov eax, dword [esi]
mov edx, ecx
add ebx, 8
and edx, 0x3f
shr ecx, 6
mov dx, word [edx*2 + 0x48d840]
mov word [ebx + eax - 8], dx
mov edx, dword [esi]
mov eax, ecx
and eax, 0x3f
shr ecx, 6
mov ax, word [eax*2 + 0x48d840]
and ecx, 0x3f
mov word [ebx + edx - 0xa], ax
mov edx, dword [esi]
mov ax, word [ecx*2 + 0x48d840]
xor ecx, ecx
mov word [ebx + edx - 0xc], ax
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
shl ecx, 8
inc ebp
dec eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
jne 0x43c476
mov eax, ebp
xor edx, edx
mov ebx, 3
div ebx
cmp edx, 1
jne 0x43c55c
shr ecx, 8
mov eax, dword [esi]
mov edx, ecx
and edx, ebx
shl edx, 5
shr ecx, 2
mov dx, word [edx + 0x48d840]
and ecx, 0x3f
mov word [eax + edi*2 + 2], dx
mov eax, dword [esi]
mov cx, word [ecx*2 + 0x48d840]
mov word [eax + edi*2], cx
mov edx, dword [esi]
mov eax, 0x3d
mov word [edx + edi*2 + 4], ax
mov ecx, dword [esi]
mov word [ecx + edi*2 + 6], ax
jmp 0x43c5ac
cmp edx, 2
jne 0x43c5af
mov eax, dword [esi]
shr ecx, 8
mov edx, ecx
and edx, 0xf
shr ecx, 4
mov dx, word [edx*8 + 0x48d840]
mov word [eax + edi*2 + 4], dx
mov edx, dword [esi]
mov eax, ecx
and eax, 0x3f
shr ecx, 6
mov ax, word [eax*2 + 0x48d840]
and ecx, 0x3f
mov word [edx + edi*2 + 2], ax
mov edx, dword [esi]
mov ax, word [ecx*2 + 0x48d840]
mov word [edx + edi*2], ax
mov ecx, dword [esi]
mov word [ecx + edi*2 + 6], 0x3d
add edi, 4
mov edx, dword [esi]
mov eax, 1
mov word [edx + edi*2], 0
pop edi
pop ebp
pop esi
pop ebx
ret 0xc
Function at 0x43f460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x474d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.00428c00
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 0xa
call fcn.0043a2c0
lea ecx, [esi + 0x50]
mov byte [esp + 0x18], 0xb
call fcn.00426150
lea ebx, [esi + 0x5c]
mov byte [esp + 0x18], 0xc
mov ecx, ebx
call fcn.0044b3d0
mov dword [ebx], 0x47858c
lea ecx, [esi + 0x148]
mov byte [esp + 0x18], 0xd
call fcn.004152e0
lea ecx, [esi + 0x178]
mov byte [esp + 0x18], 0xe
call fcn.0043a2c0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x108], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x128], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x134], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x440300
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x474f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e4
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x18]
call fcn.004152e0
xor ebx, ebx
lea ecx, [esp + 0x158]
mov dword [esp + 0x2f4], ebx
call fcn.00434310
cmp eax, 1
jne 0x44036f
lea ecx, [esp + 0x18]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00415380
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
add esp, 0x2f0
ret
lea ecx, [esp + 0x158]
call fcn.00434330
cmp eax, 1
jne 0x4403ad
lea ecx, [esp + 0x18]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00415380
pop esi
mov al, 2
pop ebx
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
add esp, 0x2f0
ret
lea ecx, [esp + 0x158]
call fcn.00434d80
cmp eax, 1
jne 0x4403eb
lea ecx, [esp + 0x18]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00415380
pop esi
mov al, 3
pop ebx
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
add esp, 0x2f0
ret
push ebx
lea ecx, [esp + 0x15c]
mov byte [esp + 0xf], bl
call fcn.004342b0
cmp eax, 1
jne 0x440406
mov byte [esp + 0xb], 0x80
push ebx
push ebx
push ebx
add esi, 8
push 0x48dd18
push 0x48bbd8
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.0043b1d0
cmp eax, ebx
push ebx
mov dword [esp + 0x10], eax
push ebx
je 0x4404ca
push ebx
push 0x48dce4
push 0x48bbd8
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.0043b1d0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
cmp ecx, 0xa
jne 0x4404b5
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
push str.CurrentBuild
push 0x48bbd8
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.0043b2d0
cmp eax, 1
jne 0x4404ad
lea ecx, [esp + 0x14]
push ecx
push 0x487238
push ebx
lea ecx, [esp + 0x24]
call fcn.00416510
push eax
call fcn.00461ecf
add esp, 0xc
cmp eax, 1
jne 0x4404ad
cmp dword [esp + 0x14], 0x55f0
jb 0x4404ad
mov ecx, 0xb
mov dword [esp + 0xc], ecx
jmp 0x4404b1
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
shl al, 4
and cl, 0xf
or al, cl
mov cl, byte [esp + 0xb]
or al, cl
mov bl, al
jmp 0x44054e
lea edx, [esp + 0x20]
mov ecx, esi
push edx
push 0x48c564
push 0x48bbd8
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043b2d0
cmp eax, 1
jne 0x440523
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x4878c8
push ebx
lea ecx, [esp + 0x28]
call fcn.00416510
push eax
call fcn.00461ecf
add esp, 0x10
cmp eax, 2
jne 0x440523
mov bl, byte [esp + 0x10]
mov dl, byte [esp + 0xc]
shl bl, 4
and dl, 0xf
or bl, dl
jmp 0x44054a
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44057b
mov bl, byte [esp + 0x4c]
mov cl, byte [esp + 0x48]
shl bl, 4
and cl, 0xf
or bl, cl
or bl, byte [esp + 0xb]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00415380
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
add esp, 0x2f0
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x2ec]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x2f0
ret
Function at 0x4405b0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0x8001
call esi
mov edi, eax
lea eax, [esp + 0xc]
push 0x208
push eax
mov word [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
lea edx, [esp + 0x24]
push 0
push edx
mov word [esp + 0x32], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
push edi
jne 0x440613
call esi
pop edi
xor al, al
pop esi
add esp, 0x20c
ret
call esi
mov ecx, dword [esp + 8]
pop edi
mov eax, ecx
mov edx, ecx
shr eax, 0x18
shr edx, 0x10
xor al, dl
mov edx, ecx
shr edx, 8
xor al, dl
pop esi
xor al, cl
add esp, 0x20c
ret