joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414a90
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esp + 4]
jmp fcn.0040a4e0

Function at 0x414aa0
Capabilities:
Delete file

Disassembly:
mov ecx, dword [esp + 4]
jmp fcn.0041d560

Function at 0x414f70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x41c
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
mov esi, ecx
call fcn.00404e90
mov dword [esp + 4], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x414fa3
mov eax, dword [eax]
lea ecx, [esp + 4]
push ecx
push eax
call fcn.00405420
push 0x412
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004c5c20
add esp, 0x14
lea eax, [esp + 8]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x414fee
xor al, al
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004c35a5
add esp, 0x41c
ret
cmp eax, 0x208
jae 0x414fd6
xor eax, eax
mov word [esp + 0x418], ax
lea eax, [esp + 8]
push eax
call fcn.004051b0
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00405050
mov ecx, dword [esp + 0x41c]
mov al, 1
pop esi
xor ecx, esp
call fcn.004c35a5
add esp, 0x41c
ret

Function at 0x415470
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.004c35b6
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.004c5c20
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x4154cc
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.004c35a5
add esp, 0x120
ret
Function at 0x418bc0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x418bf8
mov edx, dword [esp + 4]
test edx, edx
je 0x418bf8
cmp dword [eax], 0xffffffff
je 0x418bf8
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
push edx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418bf8
mov al, 1
ret 0xc
xor al, al
ret 0xc

Function at 0x418c00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
push esi
push edi
test eax, eax
je 0x418c3a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x418c3a
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x418c3a
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x418c3a
cmp edi, dword [esi]
jne 0x418c3a
pop edi
mov al, 1
pop esi
ret 0xc
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x418cb0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x418d13
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x418d13
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x418cee
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x418d13
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004c35a5
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004c35a5
add esp, 8
ret 4

Function at 0x418e10
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x418ebe
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push 1
push 0
push 0
movlpd qword [esp + 0x28], xmm0
call fcn.00418d30
test al, al
je 0x418ebe
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push edi
push dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.00418d30
test al, al
je 0x418ebe
mov eax, dword [ebp + 8]
xor bl, bl
cmp dword [esp + 0x10], eax
jne 0x418e94
cmp dword [esp + 0x14], edi
jne 0x418e94
mov eax, dword [esi]
test eax, eax
jne 0x418e81
xor bl, bl
jmp 0x418e94
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x418e7d
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne bl
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0
push dword [esp + 0x24]
mov ecx, esi
movlpd qword [esp + 0x1c], xmm0
push dword [esp + 0x24]
call fcn.00418d30
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41b880
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed608
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.00404c10
test al, al
jne 0x41b8da
cmp byte [ebp + 8], al
jne 0x41b8e1
mov eax, dword [ebx]
test eax, eax
je 0x41ba41
cmp byte [eax + 0xa5], 0
je 0x41ba41
xor al, al
jmp 0x41ba57
mov ecx, esi
call fcn.00404c10
test al, al
jne 0x41ba41
push esi
call fcn.00409bb0
add esp, 4
test al, al
je 0x41b909
push esi
push edi
call fcn.0041b4b0
jmp 0x41ba3d
push 0xb
mov ecx, esi
call fcn.00404c20
push eax
mov ecx, edi
call fcn.00404c20
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x41b92e
mov al, 1
jmp 0x41ba3d
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.00404d40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.0041da10
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0041da10
test al, al
jne 0x41b97b
cmp byte [ebp - 0x60], al
je 0x41b9b7
push 0xb
lea ecx, [ebp - 0x40]
call fcn.00404c20
push eax
lea ecx, [ebp - 0x58]
call fcn.00404c20
push eax
call ebx
test eax, eax
je 0x41b9b7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004049a0
mov al, 1
jmp 0x41ba3d
mov ecx, esi
call fcn.0041d3b0
cmp eax, 0xffffffff
je 0x41ba20
push esi
lea ecx, [ebp - 0x28]
call fcn.00404d60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0041d7d0
test al, al
je 0x41ba14
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041d450
test al, al
je 0x41ba14
mov edx, esi
mov ecx, edi
call fcn.0041d450
lea ecx, [ebp - 0x28]
test al, al
je 0x41ba0d
call fcn.0041d560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004049a0
jmp 0x41b995
mov edx, esi
call fcn.0041d450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004049a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004049a0
xor al, al
test al, al
jne 0x41ba55
push edi
call fcn.00409bb0
add esp, 4
test al, al
je 0x41ba55
mov ecx, edi
call fcn.0041d560
mov al, 1
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.004c35a5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d300
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eca78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
and esi, 0xffffb1af
push esi
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41d349
mov al, 1
jmp 0x41d391
lea ecx, [ebp - 0x28]
call fcn.00404d40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0041da10
test al, al
je 0x41d37e
push esi
lea ecx, [ebp - 0x28]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41d37e
mov bl, 1
jmp 0x41d380
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret

Function at 0x41d3b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eca78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d42e
lea ecx, [ebp - 0x28]
call fcn.00404d40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0041da10
test al, al
je 0x41d41d
lea ecx, [ebp - 0x28]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret
Function at 0x41d560
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edab8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x53b098]
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
call fcn.00404c20
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x41d5a6
mov al, 1
jmp 0x41d6f8
mov ecx, esi
call fcn.00404c20
push eax
lea ecx, [ebp - 0x28]
call fcn.00404d00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041d3b0
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
cmp ebx, 0xffffffff
jne 0x41d5e5
xor al, al
jmp 0x41d6f8
mov ecx, esi
call fcn.00404c20
push eax
lea ecx, [ebp - 0x28]
call fcn.00404d00
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
call fcn.00404c20
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
je 0x41d617
xor bl, bl
jmp 0x41d661
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041da10
test al, al
je 0x41d653
push 0
lea ecx, [ebp - 0x40]
call fcn.00404c20
push eax
call ebx
test eax, eax
je 0x41d653
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004049a0
xor bl, bl
jmp 0x41d661
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004049a0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
test bl, bl
jne 0x41d5de
mov ecx, esi
call fcn.00404c20
push eax
call edi
test eax, eax
jne 0x41d59f
lea ecx, [ebp - 0x28]
call fcn.00404d40
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041da10
test al, al
je 0x41d6ba
lea ecx, [ebp - 0x28]
call fcn.00404c20
push eax
call edi
test eax, eax
je 0x41d6ba
mov bl, 1
jmp 0x41d6e7
mov ecx, esi
call fcn.00404c20
push eax
lea ecx, [ebp - 0x40]
call fcn.00404d00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.0041d300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004049a0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
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.004c35a5
mov esp, ebp
pop ebp
ret
Function at 0x41d720
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.004c5c20
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.00404c20
push eax
mov ecx, edi
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41d7b5
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.004051b0
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00405050
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004c35a5
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c35a5
add esp, 0x210
ret
Function at 0x41f140
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call fcn.004c5c20
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41f1be
cmp dword [esp + 0x14], 6
jb 0x41f1be
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, 0x80000001
call fcn.0041efb0
add esp, 0xc
test al, al
je 0x41f1be
cmp word [esi], 0
jne 0x41f216
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, 0x80000000
call fcn.0041efb0
add esp, 0xc
test al, al
je 0x41f1ea
cmp word [esi], 0
jne 0x41f216
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, 0x80000001
call fcn.0041efb0
add esp, 0xc
test al, al
je 0x41f22b
cmp word [esi], 0
je 0x41f22b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret
Function at 0x41f800
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.004c4750
push 0xffffffffffffffff
push 0x4ede38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call fcn.004c5c20
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x41fa01
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x41fa01
push esi
call edi
cmp eax, 0xffa
jge 0x41fa01
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x5172a8
lea eax, [ebp + 0x630]
push eax
call esi
push 0x5172ac
lea ecx, [ebp - 0x2c]
call fcn.00404d00
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ee30
mov ecx, eax
call fcn.0040eef0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004049a0
test esi, esi
je 0x41fa01
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41fa01
lea ecx, [ebp]
call fcn.0041f240
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x41f926
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x41f934
inc edi
add esi, 0x210
cmp edi, 3
jl 0x41f905
jmp 0x41f956
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x41f94e
add ebx, 0x10
test ebx, ebx
jne 0x41f9fd
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x41f9f8
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call fcn.004c5c20
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f9ee
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x41f9f8
inc esi
cmp esi, 2
jb 0x41f990
mov eax, ebx
jmp 0x41fa03
mov ebx, 0x10
mov eax, ebx
jmp 0x41fa03
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2838]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x4232b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x53b098]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.004c5c20
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x423347
cmp dword [esp + 8], 6
jb 0x423347
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.004c35a5
add esp, 0x118
ret

Function at 0x423360
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x53b098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.00404d00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0040ee30
mov ecx, eax
call fcn.0040eef0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049a0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00404d00
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.0040ee30
mov ecx, eax
call fcn.0040eef0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049a0
test ebx, ebx
je 0x423475
test esi, esi
je 0x423475
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], 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
Function at 0x424d20
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x4ee680
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp + 0x804], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp + 4]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x424de7
lea edi, [ebp + 4]
mov dword [ebp], 0
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x424e0c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c3e0d
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, edi
mov dword [ebp], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x424dd3
cmp eax, ebx
ja 0x424dd3
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x424e30
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x424de7
push edi
call fcn.004c3c0d
add esp, 4
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 + 0x804]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x424ea3
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x424ea3
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x424e88
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x424e7d
cmp ecx, edi
je 0x424e7d
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404d00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0040ad20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004049a0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x424e43
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x424e9c
push esi
call fcn.004c3c0d
add esp, 4
mov al, 1
jmp 0x424de9
call fcn.004c3d33
int3
Function at 0x42d7b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efc67
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x53b098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.004c35b6
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042f610
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042f610
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00404d40
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.0042d710
mov byte [ebp - 4], 8
lea esi, [edi + 0xb8]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00404d40
mov byte [ebp - 4], 9
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xf0]
call fcn.00404d40
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x108]
call fcn.00406d40
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x120]
call fcn.00406d40
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