joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441f00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x54e414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x551a29], 0
jne 0x4420cf
push str.Advapi32.dll
lea ecx, [ebp - 0x24]
call fcn.0040a870
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.00424e80
mov ecx, eax
call fcn.00424f40
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040a7e0
test edi, edi
je 0x44217f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x529d00
push edi
call esi
push 0x529d10
push edi
mov dword [0x551a58], eax
call esi
push 0x529c58
push edi
mov dword [0x551a5c], eax
call esi
push str.GetSecurityInfo
push edi
mov dword [0x551a64], eax
call esi
push str.InitializeAcl
push edi
mov dword [0x551a3c], eax
call esi
push str.GetAclInformation
push edi
mov dword [0x551a40], eax
call esi
push str.GetAce
push edi
mov dword [0x551a4c], eax
call esi
push str.AddAce
push edi
mov dword [0x551a2c], eax
call esi
push str.DeleteAce
push edi
mov dword [0x551a34], eax
call esi
push str.SetSecurityInfo
push edi
mov dword [0x551a50], eax
call esi
push str.OpenProcessToken
push edi
mov dword [0x551a54], eax
call esi
push str.GetTokenInformation
push edi
mov dword [0x551a38], eax
call esi
push str.CopySid
push edi
mov dword [0x551a44], eax
call esi
push str.GetLengthSid
push edi
mov dword [0x551a30], eax
call esi
push str.EqualSid
push edi
mov dword [0x551a48], eax
call esi
cmp dword [0x551a58], 0
mov dword [0x551a60], eax
je 0x4420e2
cmp dword [0x551a5c], 0
je 0x4420e2
cmp dword [0x551a64], 0
je 0x4420e2
cmp dword [0x551a3c], 0
je 0x4420e2
cmp dword [0x551a40], 0
je 0x4420e2
cmp dword [0x551a4c], 0
je 0x4420e2
cmp dword [0x551a2c], 0
je 0x4420e2
cmp dword [0x551a34], 0
je 0x4420e2
cmp dword [0x551a50], 0
je 0x4420e2
cmp dword [0x551a54], 0
je 0x4420e2
cmp dword [0x551a38], 0
je 0x4420e2
cmp dword [0x551a44], 0
je 0x4420e2
cmp dword [0x551a30], 0
je 0x4420e2
cmp dword [0x551a48], 0
je 0x4420e2
test eax, eax
je 0x4420e2
mov byte [0x551a29], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x551a29], 0
mov dword [0x551a58], 0
mov dword [0x551a5c], 0
mov dword [0x551a64], 0
mov dword [0x551a3c], 0
mov dword [0x551a40], 0
mov dword [0x551a4c], 0
mov dword [0x551a2c], 0
mov dword [0x551a34], 0
mov dword [0x551a50], 0
mov dword [0x551a54], 0
mov dword [0x551a38], 0
mov dword [0x551a44], 0
mov dword [0x551a30], 0
mov dword [0x551a48], 0
mov dword [0x551a60], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4437b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x502418
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x54e414]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
call fcn.00403220
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x1c]
cmp eax, 0x7530
jb 0x4439b6
lea eax, [edi + 4]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0040a380
lea ebx, [edi + 0x10]
mov ecx, ebx
call fcn.0040a380
mov eax, dword [edi + 0x20]
test eax, eax
je 0x443977
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x529c34
push eax
call esi
push str.RegEnumValueW
push dword [edi + 0x20]
mov dword [ebp + 0x20], eax
call esi
push 0x529c58
push dword [edi + 0x20]
mov dword [ebp - 0x10], eax
call esi
cmp dword [ebp + 0x20], 0
mov dword [ebp - 0x1c], eax
je 0x443977
cmp dword [ebp - 0x10], 0
je 0x443977
test eax, eax
je 0x443977
mov dword [ebp], 0
mov esi, 0x20019
call fcn.00423e90
test al, al
mov ecx, 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionApplicationAssociationToasts
cmovne esi, ecx
lea ecx, [ebp + 4]
call fcn.0040a870
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
push esi
push 0
lea ecx, [ebp + 4]
call fcn.0040a680
push eax
push 0x80000001
call dword [ebp + 0x20]
test eax, eax
jne 0x44396b
push 0x208
xor esi, esi
mov dword [ebp + 0x20], 0x103
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.004d4650
add esp, 0xc
lea eax, [ebp + 0x20]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp + 0x24]
push eax
push esi
push dword [ebp]
call dword [ebp - 0x10]
test eax, eax
jne 0x44395e
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
cmp word [ebp + 0x24], 0
je 0x443934
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a870
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.00414da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040a7e0
xor eax, eax
mov dword [ebp + 0x20], 0x103
push eax
push eax
push eax
push eax
mov word [ebp + 0x24], ax
inc esi
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x24]
push eax
push esi
push dword [ebp]
call ebx
test eax, eax
je 0x443906
mov edi, dword [ebp - 0x18]
lea ebx, [edi + 0x10]
push dword [ebp]
call dword [ebp - 0x1c]
mov dword [ebp], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
call fcn.0040a7e0
push ebx
push 0
push 0
mov ecx, edi
call fcn.004439f0
push ebx
push 1
push 0
mov ecx, edi
call fcn.004439f0
push ebx
push 0
push 1
mov ecx, edi
call fcn.004439f0
push ebx
push 1
push 1
mov ecx, edi
call fcn.004439f0
push ebx
call fcn.00444450
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00403240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.004d1486
lea esp, [ebp + 0x230]
pop ebp
ret
Function at 0x445680
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5029e1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54e414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.DL::RCSimpleDownloadHandler.0
mov dword [edi + 4], vtable.DL::RCSimpleDownloadHandler.1.0
mov dword [ebp - 4], 7
mov dword [edi + 0x98], 0
mov byte [ebp - 4], 6
or ebx, 0xffffffff
mov esi, dword [edi + 0xf8]
test esi, esi
je 0x4456fb
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4456fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4456fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x445716
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x445716
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test eax, eax
je 0x445747
push eax
call ebx
push 0x18
push dword [edi + 0xe4]
call fcn.004d15c5
add esp, 8
mov dword [edi + 0xe4], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0xc0]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x44576b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 8]
call fcn.0040a7e0
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xac]
test eax, eax
je 0x4457a2
push eax
call ebx
push 0x18
push dword [edi + 0xac]
call fcn.004d15c5
add esp, 8
mov dword [edi + 0xac], 0
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x44581d
mov edx, dword [edi + 0xa4]
push ecx
call fcn.0043a020
mov eax, dword [edi + 0xa8]
add esp, 4
mov ecx, dword [edi + 0xa0]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x4457f5
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x44589c
mov ecx, esi
push edx
push ecx
call fcn.004d15c5
add esp, 8
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov byte [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x70]
call fcn.0040a7e0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x48]
call fcn.0040a7e0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x30]
call fcn.0040a7e0
mov byte [ebp - 4], 9
lea ecx, [esi + 0x18]
call fcn.0040a7e0
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0040a7e0
mov dword [ebp - 4], 0xe
mov dword [edi + 4], vtable.RC::RCRefCounted.0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.DL::ISimpleDownloadHandler.0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.RC::IRefCount.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004dce59
int3
Function at 0x447d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54e414]
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.00425b40
test al, al
jne 0x447d70
mov eax, 1
jmp 0x447eed
push 0x10000
call fcn.004d1fdb
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.004d4650
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x447ec6
test ebx, ebx
je 0x447ec6
cmp dword [eax], 0xffffffff
je 0x447ec6
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 0x447ec6
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 0x447ebc
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.00456eb0
test al, al
je 0x447eaf
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x447e62
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x447e51
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x447ebc
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x447e6c
add ebx, eax
cmp ebx, 0x8000
je 0x447e7c
cmp dword [ebp - 0x28], 0xf
ja 0x447ea5
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x447e00
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x447e9e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x447e86
mov esi, 4
jmp 0x447ed7
mov esi, 5
jmp 0x447ed7
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x447ed7
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x447ed1
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x447ed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x447eeb
push ebx
call fcn.004d166f
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.004d1486
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447f10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503008
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x54e414]
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.0040a8d0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x52944c
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.004126d0
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.00455c30
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00412680
test bl, bl
jne 0x447fd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x44808e
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.00455800
test al, al
jne 0x448000
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x44808e
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x44807b
cmp eax, 0xce
je 0x44807b
cmp eax, 0x12e
jne 0x4480af
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x448043
push 0x800
call fcn.004d1fdb
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.004d4650
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.00455870
test al, al
je 0x4480af
push esi
call fcn.0040b080
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0040af20
mov ebx, dword [ebp - 0x38]
jmp 0x44809f
cmp dword [ebp + 0x14], 0
ja 0x448087
cmp dword [ebp + 0x10], 0
jbe 0x4480b3
cmp eax, 0xce
je 0x4480b3
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x4480af
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 0x447f73
xor bl, bl
jmp 0x4480bf
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x4480d0
push esi
call fcn.004d166f
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a7e0
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.004d1486
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4493a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x54e414]
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.004d4650
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 0x44941e
cmp dword [esp + 0x14], 6
jb 0x44941e
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.00449210
add esp, 0xc
test al, al
je 0x44941e
cmp word [esi], 0
jne 0x449476
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.00449210
add esp, 0xc
test al, al
je 0x44944a
cmp word [esi], 0
jne 0x449476
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.00449210
add esp, 0xc
test al, al
je 0x44948b
cmp word [esi], 0
je 0x44948b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004d1486
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.004d1486
mov esp, ebp
pop ebp
ret
Function at 0x449a60
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.004d2ca0
push 0xffffffffffffffff
push 0x503298
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54e414]
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.004d4650
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x449c61
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x449c61
push esi
call edi
cmp eax, 0xffa
jge 0x449c61
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x523cbc
lea eax, [ebp + 0x630]
push eax
call esi
push 0x529ba0
lea ecx, [ebp - 0x2c]
call fcn.0040a870
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00424e80
mov ecx, eax
call fcn.00424f40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a7e0
test esi, esi
je 0x449c61
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x449c61
lea ecx, [ebp]
call fcn.004494a0
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x449b86
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 0x449b94
inc edi
add esi, 0x210
cmp edi, 3
jl 0x449b65
jmp 0x449bb6
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x449bae
add ebx, 0x10
test ebx, ebx
jne 0x449c5d
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 0x449c58
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.004d4650
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 0x449c4e
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 0x449c58
inc esi
cmp esi, 2
jb 0x449bf0
mov eax, ebx
jmp 0x449c63
mov ebx, 0x10
mov eax, ebx
jmp 0x449c63
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.004d1486
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x44d0f0
Capabilities:
Check os version

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

Function at 0x44d1a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503790
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x54e414]
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.0040a870
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00424e80
mov ecx, eax
call fcn.00424f40
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.0040a870
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.00424e80
mov ecx, eax
call fcn.00424f40
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040a7e0
test ebx, ebx
je 0x44d2b5
test esi, esi
je 0x44d2b5
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 0x450df0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503c68
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x54e414]
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.0040a670
test al, al
jne 0x450e4a
cmp byte [ebp + 8], al
jne 0x450e51
mov eax, dword [ebx]
test eax, eax
je 0x450fb1
cmp byte [eax + 0xa5], 0
je 0x450fb1
xor al, al
jmp 0x450fc7
mov ecx, esi
call fcn.0040a670
test al, al
jne 0x450fb1
push esi
call fcn.00414390
add esp, 4
test al, al
je 0x450e79
push esi
push edi
call fcn.00450a20
jmp 0x450fad
push 0xb
mov ecx, esi
call fcn.0040a680
push eax
mov ecx, edi
call fcn.0040a680
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x450e9e
mov al, 1
jmp 0x450fad
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.0040a8b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.00427080
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.0040a8b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00427080
test al, al
jne 0x450eeb
cmp byte [ebp - 0x60], al
je 0x450f27
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0040a680
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a680
push eax
call ebx
test eax, eax
je 0x450f27
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040a7e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040a7e0
mov al, 1
jmp 0x450fad
mov ecx, esi
call fcn.00426a20
cmp eax, 0xffffffff
je 0x450f90
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a8d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00426e40
test al, al
je 0x450f84
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00426ac0
test al, al
je 0x450f84
mov edx, esi
mov ecx, edi
call fcn.00426ac0
lea ecx, [ebp - 0x28]
test al, al
je 0x450f7d
call fcn.00426bd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
jmp 0x450f05
mov edx, esi
call fcn.00426ac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040a7e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040a7e0
xor al, al
test al, al
jne 0x450fc5
push edi
call fcn.00414390
add esp, 4
test al, al
je 0x450fc5
mov ecx, edi
call fcn.00426bd0
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.004d1486
mov esp, ebp
pop ebp
ret 0xc