joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e580
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x4f36a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x58]
cmp dword [eax + 4], 0
jne 0x42e5c1
mov eax, dword [ebp - 0x14]
jmp 0x42e663
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov eax, str.BA48
call fcn.00405520
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042dc20
add esp, 0x20
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
call fcn.0042c1a0
push eax
push 0
call fcn.0043ac20
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x38]
call fcn.00403250
cmp dword [ebp - 0x10], 0
je 0x42e660
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42e656
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e680
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x4f36a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x58]
cmp dword [eax + 4], 0
jne 0x42e6c1
mov eax, dword [ebp - 0x14]
jmp 0x42e761
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov eax, 0x4dba9c
call fcn.00405520
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042dc20
add esp, 0x20
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
call fcn.0042c1a0
push eax
push 0
call fcn.0043ac20
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x38]
call fcn.00403250
cmp dword [ebp - 0x10], 0
je 0x42e75e
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42e754
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e780
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x4f36a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x58]
cmp dword [eax + 4], 0
jne 0x42e7c1
mov eax, dword [ebp - 0x14]
jmp 0x42e863
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov eax, str.7C29
call fcn.00405520
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042dc20
add esp, 0x20
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
call fcn.0042c1a0
push eax
push 0
call fcn.0043ac20
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x38]
call fcn.00403250
cmp dword [ebp - 0x10], 0
je 0x42e860
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42e856
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42f620
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.0042f2f0
add esp, 4
lea eax, [ebp - 0x24]
call fcn.004032d0
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42f66c
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
lea esi, [ebp - 0x24]
call fcn.00403250
mov eax, dword [ebp - 0x28]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret
Function at 0x4301f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad9b
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84c], 0
xor eax, eax
jne 0x430226
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], 0
jne 0x43026c
mov ecx, dword [ebp + 8]
call fcn.0042c470
mov ecx, dword [ebp - 0x84c]
or ecx, 1
mov dword [ebp - 0x84c], ecx
mov eax, dword [ebp + 8]
jmp 0x4303e7
mov dword [ebp - 0x14], 0
xor edx, edx
mov word [ebp - 0x81c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x81a]
push eax
call fcn.0049ca10
add esp, 0xc
lea ecx, [ebp - 0x838]
call fcn.0042c470
mov dword [ebp - 4], 0
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 0
lea ecx, [ebp - 0x83c]
push ecx
push 0
lea edx, [ebp - 0x840]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4302f7
cmp dword [ebp - 0x840], 1
je 0x4302fc
cmp dword [ebp - 0x840], 2
je 0x4302fc
cmp dword [ebp - 0x840], 7
je 0x4302fc
jmp 0x43037f
cmp dword [ebp - 0x83c], 0x800
jae 0x430316
lea edx, [ebp - 0x81c]
mov dword [ebp - 0x864], edx
jmp 0x430337
mov eax, dword [ebp - 0x83c]
push eax
call fcn.00498670
add esp, 4
mov dword [ebp - 0x844], eax
mov ecx, dword [ebp - 0x844]
mov dword [ebp - 0x864], ecx
mov edx, dword [ebp - 0x864]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x83c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x840]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x430368
jmp 0x43037f
lea edx, [ebp - 0x838]
push edx
mov eax, dword [ebp - 0x14]
call fcn.00405560
xor eax, eax
jne 0x4302a4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
je 0x4303b4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x81c]
cmp edx, eax
je 0x4303b4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x848], ecx
mov edx, dword [ebp - 0x848]
push edx
call fcn.00498355
add esp, 4
lea eax, [ebp - 0x838]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042e8d0
mov ecx, dword [ebp - 0x84c]
or ecx, 1
mov dword [ebp - 0x84c], ecx
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x838]
call fcn.00403250
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret
Function at 0x430410
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x43044c
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004306d0
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x430456
xor al, al
jmp 0x430488
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov esp, ebp
pop ebp
ret

Function at 0x431500
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
call fcn.0043aa20
cmp eax, 5
jle 0x431520
mov dword [ebp - 8], str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x431527
mov dword [ebp - 8], str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
mov dword [ebp - 4], 0
push 0
push 0x18
mov eax, dword [ebp - 8]
push eax
push 0x4db544
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x431560
push 8
push 0x18
mov edx, dword [ebp - 8]
push edx
push str.SEContainer
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x431570
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x43158f
mov dword [ebp + 0xc], str.vc8v7vghw7v278vn2v8239vh29vh890m
cmp dword [ebp + 0x10], 0
jne 0x43159c
mov dword [ebp + 0x10], 0x4db574
mov byte [ebp - 0x34], 8
mov byte [ebp - 0x33], 2
xor eax, eax
mov word [ebp - 0x32], ax
mov dword [ebp - 0x30], 0x6610
mov dword [ebp - 0x2c], 0x20
mov ecx, 8
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x2c
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
cmp dword [ebp - 4], 0
je 0x431627
mov dword [ebp - 0x38], 1
push 0
lea ecx, [ebp - 0x38]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov dword [ebp - 0x3c], 1
push 0
lea eax, [ebp - 0x3c]
push eax
push 3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push 0
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret
Function at 0x431640
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x431652
cmp dword [ebp + 0xc], 0xffffffff
jne 0x431659
xor eax, eax
jmp 0x431764
cmp dword [ebp + 0x18], 0
je 0x431665
cmp dword [ebp + 0x18], 0x20
jne 0x431671
cmp dword [ebp + 0x20], 0
je 0x43167c
cmp dword [ebp + 0x20], 0x10
je 0x43167c
xor eax, eax
jne 0x431671
xor eax, eax
jmp 0x431764
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
call fcn.00431500
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x431761
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00431570
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x431755
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 0x10
div ecx
test edx, edx
je 0x4316dd
mov edx, dword [ebp + 0xc]
shr edx, 4
add edx, 1
shl edx, 4
mov dword [ebp - 0x1c], edx
jmp 0x4316e6
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00498670
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.0049ca10
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0049c670
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
push 1
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x431770
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x431782
cmp dword [ebp + 0xc], 0xffffffff
jne 0x431789
xor eax, eax
jmp 0x431886
cmp dword [ebp + 0x18], 0
je 0x431795
cmp dword [ebp + 0x18], 0x20
jne 0x4317a1
cmp dword [ebp + 0x20], 0
je 0x4317ac
cmp dword [ebp + 0x20], 0x10
je 0x4317ac
xor eax, eax
jne 0x4317a1
xor eax, eax
jmp 0x431886
mov dword [ebp - 8], 0
call fcn.00431500
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x431883
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00431570
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x431877
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00498670
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0049ca10
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0049c670
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 1
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x431865
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00498355
add esp, 4
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x431886
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x431890
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x432bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 5], 0
push 0
push 0x80
push 3
push 0
push 1
push bind
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x432c99
lea ecx, [ebp - 0x68]
push ecx
call fcn.00431890
add esp, 4
push 0xa000
call fcn.00498670
add esp, 4
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
push 0xa000
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432c45
jmp 0x432c69
cmp dword [ebp - 0x6c], 0
je 0x432c61
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.004318d0
add esp, 0xc
jmp 0x432c67
mov byte [ebp - 5], 1
jmp 0x432c69
jmp 0x432c1f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00498b08
add esp, 4
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004319d0
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret
Function at 0x43aa20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4faef0], 0xffffffff
jne 0x43abf9
mov dword [0x4faef0], 0xfffffc18
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0049ca10
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43abf9
cmp dword [ebp - 0x110], 2
jne 0x43abf9
cmp dword [ebp - 0x11c], 5
jne 0x43ab50
cmp dword [ebp - 0x118], 0
jne 0x43aab1
mov dword [0x4faef0], 1
jmp 0x43ab4b
cmp dword [ebp - 0x118], 1
jne 0x43ab38
push 0x7f
lea edx, [ebp - 0x10c]
push edx
push 0x4d9950
call fcn.0049d39a
add esp, 0xc
test eax, eax
jne 0x43aae0
mov dword [0x4faef0], 3
jmp 0x43ab36
push 0x7f
lea eax, [ebp - 0x10c]
push eax
push 0x4d9970
call fcn.0049d39a
add esp, 0xc
test eax, eax
jne 0x43ab06
mov dword [0x4faef0], 4
jmp 0x43ab36
push 0x7f
lea ecx, [ebp - 0x10c]
push ecx
push str.Service_Pack_3
call fcn.0049d39a
add esp, 0xc
test eax, eax
jne 0x43ab2c
mov dword [0x4faef0], 5
jmp 0x43ab36
mov dword [0x4faef0], 2
jmp 0x43ab4b
cmp dword [ebp - 0x118], 2
jne 0x43ab4b
mov dword [0x4faef0], 6
jmp 0x43abf9
cmp dword [ebp - 0x11c], 6
jne 0x43abef
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 3
ja case.default.0x43ab78
mov eax, dword [ebp - 0x124]
jmp dword [eax*4 + 0x43ac0c]
push 0x7f
lea ecx, [ebp - 0x10c]
push ecx
push str.Service_Pack_1
call fcn.0049d39a
add esp, 0xc
test eax, eax
jne 0x43aba5
mov dword [0x4faef0], 8
jmp 0x43abd5
push 0x7f
lea edx, [ebp - 0x10c]
push edx
push str.Service_Pack_2
call fcn.0049d39a
add esp, 0xc
test eax, eax
jne 0x43abcb
mov dword [0x4faef0], 9
jmp 0x43abd5
mov dword [0x4faef0], 7
jmp case.default.0x43ab78
mov dword [0x4faef0], 0xa
jmp case.default.0x43ab78
mov dword [0x4faef0], 0xb
jmp 0x43abf9
mov dword [0x4faef0], 0x3e8
mov eax, dword [0x4faef0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret

Function at 0x43ad80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x501364], 0
jne 0x43ade3
push str.SE_UID
push 4
push 0
push 4
call fcn.0043ac20
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 6
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x501364], eax
cmp dword [0x501364], 0
jne 0x43ade3
xor ecx, ecx
jne 0x43adcb
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
and eax, 0x7fffffff
jmp 0x43ae13
mov eax, dword [0x501364]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43ae00
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
jmp 0x43ae10
mov edx, dword [0x501364]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x43bd60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0x78
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 4], 0
jne 0x43bd97
xor eax, eax
jmp 0x43be8f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x18], 0
je 0x43bdb4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
jne 0x43bdbb
xor eax, eax
jmp 0x43be8f
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], 0
jmp 0x43bdec
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x18]
jge 0x43be71
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 0x2d], cl
mov edx, dword [ebp - 0x28]
cmp cl, byte [edx]
jne 0x43be49
cmp byte [ebp - 0x2d], 0
je 0x43be40
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x2e], cl
mov edx, dword [ebp - 0x28]
cmp cl, byte [edx + 1]
jne 0x43be49
add dword [ebp - 0x2c], 2
add dword [ebp - 0x28], 2
cmp byte [ebp - 0x2e], 0
jne 0x43be0c
mov dword [ebp - 0x34], 0
jmp 0x43be51
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
jne 0x43be6c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
mov dword [ebp - 0x18], ecx
jmp 0x43be71
jmp 0x43bde3
cmp dword [ebp - 0x18], 0xffffffff
jne 0x43be7b
xor eax, eax
jmp 0x43be8f
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add edx, dword [eax + ecx*4]
mov eax, edx
mov esp, ebp
pop ebp
ret
Function at 0x43c8b0
Capabilities:
Get common file path
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0xffffffff
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0049ca10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [ebp - 0x210]
test eax, eax
je 0x43c9dc
mov eax, 0x4d973c
lea ecx, [ebp - 0x210]
call fcn.00424220
xor ecx, ecx
mov word [eax], cx
xor edx, edx
mov word [ebp - 0x258], dx
push 0x3e
push 0
lea eax, [ebp - 0x256]
push eax
call fcn.0049ca10
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x4d9740
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x43c9dc
mov dword [ebp - 0x25c], 0
push 0
lea ecx, [ebp - 0x25c]
push ecx
push 0xc
lea edx, [ebp - 0x268]
push edx
push 0
push 0
push 0x2d1080
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x43c9cf
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret