joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c330
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x4f5d00
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x53f00c]
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 - 0x20], ecx
lea eax, [ebp + 4]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x43c3f9
lea edx, [ebp + 4]
mov dword [ebp], 0
xor esi, esi
mov dword [ebp - 0x14], edx
mov dword [ebp], esi
mov dword [ebp - 4], esi
cmp edi, 0x3fe
jbe 0x43c41e
xor ecx, ecx
lea eax, [edi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ca81c
add esp, 4
mov ebx, eax
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x43c3e5
cmp eax, edi
ja 0x43c3e5
mov edx, ebx
xor ecx, ecx
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [edx + eax*2], ecx
jmp 0x43c446
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x43c3f9
push ebx
call fcn.004ca0a6
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.004c9ebd
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [edi + edi]
cmp eax, 0x800
jae 0x43c53d
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x43c53d
mov word [ebp + eax + 4], cx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
test edi, edi
je 0x43c522
mov eax, dword [ebp - 0x10]
mov edi, 2
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
cmp word [edx + edi - 2], 0
jne 0x43c50d
cmp ecx, ebx
je 0x43c50d
lea eax, [edx + ecx*2]
push eax
lea ecx, [ebp - 0x38]
call fcn.00408ef0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
call fcn.0040ade0
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.004095e0
mov ecx, edx
test al, al
je 0x43c4e3
call fcn.00409460
mov ecx, esi
mov edx, eax
call fcn.00409450
mov ecx, edx
mov ebx, eax
call fcn.00409460
push dword [ebx]
mov edi, eax
push 0x18
call fcn.00402430
add esp, 8
mov ecx, edi
mov edx, eax
call fcn.00409460
push eax
mov ecx, edx
call fcn.00408eb0
add dword [ebx], 0x18
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x43c4f8
call fcn.00409460
push eax
mov ecx, esi
call fcn.00409450
mov eax, dword [eax]
push eax
call fcn.004195eb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00408e60
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 1]
mov edx, dword [ebp - 0x14]
inc ebx
add edi, 2
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
cmp ebx, eax
jb 0x43c463
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43c536
push esi
call fcn.004ca0a6
add esp, 4
mov al, 1
jmp 0x43c3fb
call fcn.004ca1da
int3
Function at 0x43ffc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6838
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x53f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.0043ad70
test al, al
jne 0x440020
mov eax, 1
jmp 0x44019d
push 0x10000
call fcn.004ca81c
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call fcn.004ccc90
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x440176
test ebx, ebx
je 0x440176
cmp dword [eax], 0xffffffff
je 0x440176
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x440176
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x44016c
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.004552b0
test al, al
je 0x44015f
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x440112
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x440101
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x44016c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x44011c
add ebx, eax
cmp ebx, 0x8000
je 0x44012c
cmp dword [ebp - 0x28], 0xf
ja 0x440155
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x4400b0
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x44014e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x440136
mov esi, 4
jmp 0x440187
mov esi, 5
jmp 0x440187
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x440187
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x440181
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x440187
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x44019b
push ebx
call fcn.004ca0a6
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c9ebd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4401c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6878
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x53f00c]
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 edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0
call fcn.00408f60
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x51b9a1
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.00409090
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.00453f70
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00409040
test bl, bl
jne 0x440283
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x44033e
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.00453b40
test al, al
jne 0x4402b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x44033e
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x44032b
cmp eax, 0xce
je 0x44032b
cmp eax, 0x12e
jne 0x44035f
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x4402f3
push 0x800
call fcn.004ca81c
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push esi
call fcn.004ccc90
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.00453bb0
test al, al
je 0x44035f
push esi
call fcn.00409e30
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00409680
mov ebx, dword [ebp - 0x38]
jmp 0x44034f
cmp dword [ebp + 0x14], 0
ja 0x440337
cmp dword [ebp + 0x10], 0
jbe 0x440363
cmp eax, 0xce
je 0x440363
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x44035f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x440223
xor bl, bl
jmp 0x44036f
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x440380
push esi
call fcn.004ca0a6
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00408e60
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.004c9ebd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4433d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3758
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x53f00c]
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
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.004024c0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x1c]
cmp eax, 0x7530
jb 0x44347f
lea esi, [ebx + 4]
mov ecx, esi
call fcn.00408ad0
lea edi, [ebx + 0x10]
mov ecx, edi
call fcn.00408ad0
push esi
mov ecx, ebx
call fcn.004434b0
push edi
push 0
push 0
mov ecx, ebx
call fcn.004436e0
push edi
push 1
push 0
mov ecx, ebx
call fcn.004436e0
push edi
push 0
push 1
mov ecx, ebx
call fcn.004436e0
push edi
push 1
push 1
mov ecx, ebx
call fcn.004436e0
push edi
call fcn.004442a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004024f0
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.004c9ebd
mov esp, ebp
pop ebp
ret

Function at 0x444450
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3058
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f00c]
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
cmp esi, 0xffffffff
jne 0x444487
xor al, al
jmp 0x4444ea
and esi, 0xffffb1af
push esi
call fcn.00408da0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4444a2
mov al, 1
jmp 0x4444ea
lea ecx, [ebp - 0x28]
call fcn.00408f40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00444b10
test al, al
je 0x4444d7
push esi
lea ecx, [ebp - 0x28]
call fcn.00408da0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4444d7
mov bl, 1
jmp 0x4444d9
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408e60
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.004c9ebd
mov esp, ebp
pop ebp
ret
Function at 0x444510
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3058
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f00c]
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.00408da0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44458e
lea ecx, [ebp - 0x28]
call fcn.00408f40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00444b10
test al, al
je 0x44457d
lea ecx, [ebp - 0x28]
call fcn.00408da0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408e60
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.004c9ebd
mov esp, ebp
pop ebp
ret

Function at 0x4446c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x53f00c]
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.00408da0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x444706
mov al, 1
jmp 0x4447fb
mov ecx, esi
call fcn.00408da0
push eax
lea ecx, [ebp - 0x28]
call fcn.00408ef0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00444510
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408e60
cmp ebx, 0xffffffff
jne 0x444745
xor al, al
jmp 0x4447fb
mov ecx, esi
call fcn.00408da0
push eax
lea ecx, [ebp - 0x28]
call fcn.00408ef0
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.00444450
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408e60
test bl, bl
je 0x44473e
mov ecx, esi
call fcn.00408da0
push eax
call edi
test eax, eax
jne 0x4446ff
lea ecx, [ebp - 0x28]
call fcn.00408f40
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00444b10
test al, al
je 0x4447bd
lea ecx, [ebp - 0x28]
call fcn.00408da0
push eax
call edi
test eax, eax
je 0x4447bd
mov bl, 1
jmp 0x4447ea
mov ecx, esi
call fcn.00408da0
push eax
lea ecx, [ebp - 0x44]
call fcn.00408ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
call fcn.00444450
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00408e60
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408e60
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.004c9ebd
mov esp, ebp
pop ebp
ret
Function at 0x444820
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x53f00c]
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.004ccc90
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.00408da0
push eax
mov ecx, edi
call fcn.00408da0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4448b5
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.00409e30
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00409680
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004c9ebd
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c9ebd
add esp, 0x210
ret

Function at 0x444d70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x53f00c]
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.004ccc90
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 0x444dee
cmp dword [esp + 0x14], 6
jb 0x444dee
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.00444be0
add esp, 0xc
test al, al
je 0x444dee
cmp word [esi], 0
jne 0x444e46
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.00444be0
add esp, 0xc
test al, al
je 0x444e1a
cmp word [esi], 0
jne 0x444e46
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.00444be0
add esp, 0xc
test al, al
je 0x444e5b
cmp word [esi], 0
je 0x444e5b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004c9ebd
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.004c9ebd
mov esp, ebp
pop ebp
ret
Function at 0x4453a0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.004ec460
push 0xffffffffffffffff
push 0x4f7088
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f00c]
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.004ccc90
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x4455a1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4455a1
push esi
call edi
cmp eax, 0xffa
jge 0x4455a1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x514a0c
lea eax, [ebp + 0x630]
push eax
call esi
push 0x51b94c
lea ecx, [ebp - 0x2c]
call fcn.00408ef0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0043c550
mov ecx, eax
call fcn.0043c610
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00408e60
test esi, esi
je 0x4455a1
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4455a1
lea ecx, [ebp]
call fcn.00444e70
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x4454c6
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 0x4454d4
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4454a5
jmp 0x4454f6
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x4454ee
add ebx, 0x10
test ebx, ebx
jne 0x44559d
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 0x445598
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.004ccc90
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 0x44558e
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 0x445598
inc esi
cmp esi, 2
jb 0x445530
mov eax, ebx
jmp 0x4455a3
mov ebx, 0x10
mov eax, ebx
jmp 0x4455a3
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.004c9ebd
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x448720
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x53f00c]
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.004ccc90
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x4487b7
cmp dword [esp + 8], 6
jb 0x4487b7
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.004c9ebd
add esp, 0x118
ret

Function at 0x4487d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f75e0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x53f00c]
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.00408ef0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0043c550
mov ecx, eax
call fcn.0043c610
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408e60
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00408ef0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.0043c550
mov ecx, eax
call fcn.0043c610
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408e60
test ebx, ebx
je 0x4488e5
test esi, esi
je 0x4488e5
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 0x449320
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x53f00c]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x449385
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x449360
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x449385
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.004c9ebd
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004c9ebd
add esp, 8
ret 4