joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e9f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x44
push ebx
mov ebx, ecx
xor edx, edx
push ebp
push esi
push edi
mov dword [ebx + 0x3bad4], 0
lea esi, [ebx + 0x8c]
mov dword [ebx + 0x3bad0], 0
mov dword [esp + 0x1c], ebx
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0x20
mov dword [ebx + 0x70], 1
mov dword [ebx + 0x64], 4
mov dword [ebx + 0x74], 0
nop word [eax + eax]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x42ea50
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 5
mov ecx, ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x48], 0
call fcn.0042c3f0
lea edx, [ebx + 0x304a0]
mov eax, 2
mov word [edx], 0x100
mov ebx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
nop
mov ecx, ebx
mov ebp, 1
sar ecx, 1
dec ecx
shl ebp, cl
test ebp, ebp
je 0x42ebac
lea edi, [eax + edx]
mov ecx, ebp
mov al, bl
mov edx, dword [esp + 0x18]
movzx eax, al
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
add eax, ebp
mov dword [esp + 0x14], eax
inc ebx
cmp ebx, 0x16
jl 0x42eb70
mov ebx, dword [esp + 0x1c]
mov edi, 8
nop dword [eax + eax]
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop word [eax + eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x42ebea
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x42ebe0
sub esi, 1
jne 0x42ebd0
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [ebx + eax*4 + 0x30ca0], ecx
cmp edi, 0x800
jb 0x42ebc0
pop edi
mov dword [ebx + 0x323ac], esi
mov dword [ebx + 0x3bb14], esi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x42fbd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebp
push edi
mov ebp, ecx
xor edi, edi
mov eax, dword [eax]
and eax, 7
mov dword [esp + 0x10], ebp
cmp edx, 5
jae 0x42fbf3
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ebp
push esi
mov dword [esp + 0x10], edx
lea esi, [edi + ebp]
cmp esi, edx
jae 0x42fc17
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x42fc17
inc esi
cmp esi, edx
jb 0x42fc08
mov edi, esi
sub edi, ebp
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x42fd22
cmp ecx, 3
jbe 0x42fc55
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [esp + 0x14], ebx
test cl, cl
je 0x42fc91
cmp cl, 0xff
je 0x42fc91
mov edx, dword [esp + 0x10]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
jmp 0x42fc01
dec ecx
shl eax, cl
and eax, 7
je 0x42fc2e
cmp byte [eax + 0x492de0], 0
je 0x42fc81
movzx ecx, byte [eax + 0x492de8]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x42fc7d
cmp cl, 0xff
jne 0x42fc2e
mov edx, dword [esp + 0x10]
and eax, 3
mov ebx, edi
add eax, eax
or eax, 1
inc edi
jmp 0x42fc01
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
nop
lea ebx, [edx + 5]
add ebx, edi
test eax, eax
je 0x42fcea
movzx ebp, byte [eax + 0x492de8]
mov ecx, 0x18
shl ebp, 3
mov edx, ebx
sub ecx, ebp
shr edx, cl
test dl, dl
je 0x42fcd7
cmp dl, 0xff
jne 0x42fcea
mov ecx, 0x20
mov edx, 1
sub ecx, ebp
shl edx, cl
dec edx
xor edx, ebx
jmp 0x42fcb0
mov ebp, dword [esp + 0x18]
mov ecx, ebx
mov edx, dword [esp + 0x10]
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [esp + 0x14]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
jmp 0x42fc01
pop esi
pop ebx
cmp ecx, 3
jbe 0x42fd39
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebp
add esp, 0xc
ret
dec ecx
shl eax, cl
mov ecx, dword [esp + 0x1c]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x442700
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x44270b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00442720
Function at 0x4454e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x4454e7
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x4455a7
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
sub edi, 1
jne 0x445500
pop edi
test esi, esi
je 0x4455ca
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x495800]
sub esi, 1
jne 0x4455b0
not ecx
mov eax, ecx
pop esi
ret
Function at 0x445960
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x445a20
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
lea ecx, [eax + ebx]
cmp ecx, edx
jb 0x445a02
lea edi, [edx + edx]
push 0
cmp edi, ecx
cmovbe edi, ecx
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x4459c4
push edi
push 0
push 0
push 0xf001f
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4459d1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop edi
mov eax, 0x300
pop esi
pop ecx
ret 8
push dword [esi + 0x20]
push dword [esi + 0x18]
push edi
call fcn.00457800
add esp, 0xc
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x18], edi
mov dword [esi + 4], ebp
push ebx
push dword [esp + 0x1c]
lea ecx, [edi + eax]
push ecx
call fcn.00457800
add esp, 0xc
mov eax, ebx
add dword [esi + 0x1c], ebx
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esi]
test eax, eax
je 0x445a4e
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
pop edi
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ecx
ret 8

Function at 0x445c40
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x445c95
mov ecx, dword [edi + 0x6c]
mov ebx, dword [edi + 0x68]
cmp ecx, ebx
jae 0x445cdf
mov esi, dword [esp + 0x14]
lea eax, [ecx + edx]
sub ebx, ecx
cmp ebx, dword [esp + 0x18]
cmova ebx, dword [esp + 0x18]
push ebx
push eax
push esi
call fcn.00457800
mov ecx, dword [edi + 0x58]
mov edx, esi
add dword [edi + 0x6c], ebx
add dword [edi + 0x54], ebx
push ebx
call fcn.004454e0
add esp, 0x10
mov dword [edi + 0x58], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x445cd8
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x20]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445cdf
mov esi, dword [esp + 0xc]
mov edx, ebx
mov ecx, dword [edi + 0x58]
add dword [edi + 0x54], esi
push esi
call fcn.004454e0
add esp, 4
mov dword [edi + 0x58], eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov dword [edi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x447770
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x4a9098]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x4477f2
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x4477f2
test ecx, ecx
je 0x4477ee
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x4477b0
xor eax, eax
jmp 0x4477f7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x447801
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00455828
add esp, 0xc
ret 0xc
Function at 0x447c60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4834d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4a9098]
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
cmp byte [edi], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
jne 0x447dd7
test ecx, ecx
je 0x447dd7
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x447dd7
mov eax, dword [edi + 4]
lea esi, [edi + 4]
cmp eax, dword [esi + 4]
jne 0x447d19
cmp ebx, 0x40
jb 0x447cf5
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x447ceb
mov edx, dword [ecx + 0x3c]
lea eax, [edx + 0xf8]
cmp ebx, eax
jb 0x447cf5
cmp dword [edx + ecx], 0x4550
mov byte [edi], 1
sete al
mov byte [edi + 1], al
jmp 0x447dd7
mov word [edi], 1
jmp 0x447dd7
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 0
push eax
push esi
push ebx
mov ecx, esi
call fcn.00425f40
push ebx
push dword [ebp - 0x24]
push dword [esi]
call fcn.00457800
add esp, 0xc
jmp 0x447dd7
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push esi
call fcn.00422810
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x1d]
sub esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 0x1d], 0
lea eax, [esi + ebx]
push eax
call fcn.00425f40
mov eax, dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x24]
add eax, esi
push eax
call fcn.00457800
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov ecx, edi
sub eax, edx
push eax
push edx
call fcn.00447c60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x447dd7
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x447db8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447df5
push ecx
push edx
call fcn.0045586e
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
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.00455828
mov esp, ebp
pop ebp
ret 8
call fcn.0045c012
int3
Function at 0x447e40
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x483522
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a9098]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x447e84
call fcn.00447fd0
cmp byte [0x4ab83c], 0
jne 0x447e97
mov eax, 0x80000001
jmp 0x447fab
mov eax, dword [esi]
test eax, eax
jne 0x447f02
push 8
call fcn.0045583e
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.0045583e
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.00457d80
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x447ef1
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x447f9a
call fcn.0041b500
test al, al
jne 0x447f3c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.0041b690
test al, al
je 0x447f9a
mov ecx, dword [esi]
add ecx, 4
call fcn.0041b020
call fcn.0041b500
test al, al
je 0x447f9a
push str.Advapi32.dll
lea ecx, [ebp - 0x28]
call fcn.00405470
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.00419bf0
mov ecx, eax
call fcn.00419cb0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405390
test edi, edi
je 0x447f9a
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x447f9a
push dword [esi]
push 0x20019
call eax
test eax, eax
je 0x447f9a
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x447fa9
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00455828
lea esp, [ebp + 0x120]
pop ebp
ret 4
Function at 0x448870
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x4a5d38
push 0x4576a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a9098]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004067e0
mov dword [ebp - 0x24], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4488dd
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004076d0
add esp, 8
mov edx, esi
call fcn.004489c0
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x448917
test bl, bl
jne 0x448995
mov ecx, esi
call fcn.004067e0
mov dword [ebp - 0x20], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x448938
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004076d0
push 0x410
push 0
lea eax, [ebp]
push eax
call fcn.00457d80
add esp, 0x14
push 0x207
lea eax, [ebp]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
call fcn.00407700
add esp, 4
push eax
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00406aa0
mov ecx, esi
call fcn.00405340
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00455828
lea esp, [ebp + 0x414]
pop ebp
ret
mov edx, dword [esp + 4]
jmp 0x448870
Function at 0x448b60
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x4a5d38
push 0x4576a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a9098]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004067e0
mov dword [ebp - 0x24], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4488dd
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004076d0
add esp, 8
mov edx, esi
call fcn.004489c0
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x448917
test bl, bl
jne 0x448995
mov ecx, esi
call fcn.004067e0
mov dword [ebp - 0x20], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x448938
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004076d0
push 0x410
push 0
lea eax, [ebp]
push eax
call fcn.00457d80
add esp, 0x14
push 0x207
lea eax, [ebp]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
call fcn.00407700
add esp, 4
push eax
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00406aa0
mov ecx, esi
call fcn.00405340
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00455828
lea esp, [ebp + 0x414]
pop ebp
ret
mov edx, dword [esp + 4]
jmp 0x448870
Function at 0x44a140
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x4a9098]
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 0x44a1a5
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 0x44a180
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44a1a5
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.00455828
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00455828
add esp, 8
ret 4

Function at 0x44a4c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4a9098]
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.00457d80
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 0x44a53e
cmp dword [esp + 0x14], 6
jb 0x44a53e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, 0x49b0a0
mov ecx, 0x80000001
call fcn.0044a330
add esp, 0xc
test al, al
je 0x44a53e
cmp word [esi], 0
jne 0x44a596
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.0044a330
add esp, 0xc
test al, al
je 0x44a56a
cmp word [esi], 0
jne 0x44a596
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.0044a330
add esp, 0xc
test al, al
je 0x44a5ab
cmp word [esi], 0
je 0x44a5ab
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00455828
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.00455828
mov esp, ebp
pop ebp
ret
Function at 0x44ab80
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.004569b0
push 0xffffffffffffffff
push 0x483b28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a9098]
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.00457d80
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x44ad81
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x44ad81
push esi
call edi
cmp eax, 0xffa
jge 0x44ad81
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x498afc
lea eax, [ebp + 0x630]
push eax
call esi
push 0x4982f4
lea ecx, [ebp - 0x2c]
call fcn.00405470
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00419bf0
mov ecx, eax
call fcn.00419cb0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405390
test esi, esi
je 0x44ad81
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44ad81
lea ecx, [ebp]
call fcn.0044a5c0
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x44aca6
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 0x44acb4
inc edi
add esi, 0x210
cmp edi, 3
jl 0x44ac85
jmp 0x44acd6
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x44acce
add ebx, 0x10
test ebx, ebx
jne 0x44ad7d
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 0x44ad78
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.00457d80
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 0x44ad6e
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 0x44ad78
inc esi
cmp esi, 2
jb 0x44ad10
mov eax, ebx
jmp 0x44ad83
mov ebx, 0x10
mov eax, ebx
jmp 0x44ad83
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.00455828
lea esp, [ebp + 0x283c]
pop ebp
ret