joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60e31c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x60e333
add esp, 0xfffffff0
call fcn.00409c68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c5124
mov eax, dword [0x681ef0]
cmp byte [eax], 0
jne 0x60e360
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x68230c]
cmp word [eax + 2], 0
jne 0x60e37a
mov eax, dword [0x68230c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.006107e0
mov eax, dword [0x682478]
cmp word [eax + 2], 0
jne 0x60e394
mov eax, dword [0x682478]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00610bf8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x51b004]
call fcn.00521b80
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x6111a4
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x520174]
call fcn.0052c154
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x60e584
mov eax, dword [0x682168]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0052c670
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x611490
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x682168]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00429800
test eax, eax
je 0x60e4a7
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00429658
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004297e4
test eax, eax
je 0x60e4bf
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040c0b0
push ebx
push 0x6101b4
call fcn.006028c8
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x681ef0]
cmp byte [eax], 0
jne 0x60e510
mov eax, ebx
call fcn.0060e74c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00611838
mov eax, ebx
call fcn.00612374
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60e57b
call fcn.00409cc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60ea7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x60eb1e
cmp dword [ebx + 0xac], 0
jne 0x60eb18
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x60e9bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x60eb18
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x60eade
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x60eb18
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004aecf8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x60eaed
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x60ee60
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x689ca8]
cmp dword [eax + 0x190], 0
je 0x60efc9
test bl, bl
jne 0x60ef1c
cmp dword [esi + 0xb4], 0
jne 0x60ef11
mov eax, esi
call fcn.006121c4
push eax
push 0x60ed60
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x60eee2
mov eax, dword [0x689ca8]
cmp byte [eax + 0xeb], 0
je 0x60eee2
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x60eec3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x60eee2
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x60eecb
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x60ef11
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aecf8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x60eef1
inc dword [esi + 0xb4]
jmp 0x60efc9
cmp dword [esi + 0xb4], 0
jle 0x60efc9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x60efc9
cmp dword [esi + 0x58], 0
je 0x60ef7e
mov eax, dword [0x689ca8]
cmp byte [eax + 0xeb], 0
je 0x60ef7e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x60ef5f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x60ef7e
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x60ef67
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x60efad
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aecf8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x60ef8d
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5fed68]
call fcn.0040e4e8
pop edi
pop esi
pop ebx
ret
Function at 0x6313a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x68a160], 0
jne 0x6313bb
call fcn.00631360
mov eax, edi
dec eax
test eax, eax
jl 0x6313e3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x689d60]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6313c5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x6394fc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b558
xor eax, eax
push ebp
push 0x6396e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040b464
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00643830
mov eax, dword [ebp - 0x20]
mov dl, 1
call fcn.00428a3c
test al, al
je 0x6396c2
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00643830
mov eax, dword [ebp - 0x24]
call fcn.0040bffc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x6395da
xor eax, eax
push ebp
push 0x6395ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00406ff4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00643830
mov eax, dword [ebp - 0x28]
call fcn.0040bffc
push eax
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6395da
test bl, bl
je 0x6396c2
xor eax, eax
push ebp
push 0x6396ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x6396f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00427db4
mov eax, dword [ebp - 8]
push dword [eax]
push 0x639708
mov eax, dword [ebx + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00427db4
push dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040c2e8
mov eax, dword [ebp - 8]
push dword [eax]
push 0x639708
mov eax, dword [ebx + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00427db4
push dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040c2e8
mov eax, dword [ebp - 8]
push dword [eax]
push 0x639708
mov eax, dword [ebx + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00427db4
push dword [ebp - 0x34]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040c2e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6396b7
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00407010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6396ee
lea eax, [ebp - 0x34]
mov edx, 6
call fcn.0040b4c4
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax
Function at 0x63970c
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov ebx, eax
call fcn.00430cf4
cmp eax, 2
je 0x639729
mov byte [ebp - 1], 1
jmp 0x639905
mov byte [ebp - 1], 0
mov eax, 0x6812bc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x639905
xor eax, eax
push ebp
push 0x6398fe
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 5
jb 0x639792
push 0x639910
push 0x63993c
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00417260
mov ebx, eax
test ebx, ebx
je 0x6397b9
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x6398e5
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x6398e5
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x63980a
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x6397eb
call fcn.0040ac14
jmp 0x639905
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x63980a
call fcn.0040ac14
jmp 0x639905
xor eax, eax
push ebp
push 0x6398de
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x63984d
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x63984d
call fcn.0040ac14
call fcn.0040ac14
jmp 0x639905
mov eax, dword [ebp - 0x14]
call fcn.00406ff4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x639882
call fcn.0040ac14
call fcn.0040ac14
jmp 0x639905
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x6398bd
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x6398b9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x6398b9
mov byte [ebp - 1], 1
jmp 0x6398bd
inc ebx
dec esi
jne 0x63988f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6398e5
mov eax, dword [ebp - 0x18]
call fcn.00407010
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639905
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x63dea8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x63df1b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x6812c4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x63df03
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0063de90
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x63d680]
call fcn.0063e650
mov dword [0x681328], eax
mov eax, dword [ebp - 4]
call fcn.0063de38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63df22
lea eax, [ebp - 8]
call fcn.0040fea4
pop eax
jmp eax

Function at 0x63df4c
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffd4c
mov esi, 0x4008
test cl, cl
je 0x63df5f
or esi, 2
test dl, dl
je 0x63df68
or esi, 0
jmp 0x63df6b
or esi, 1
push esi
push 0x2b4
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [esp + 4]
add esp, 0x2b4
pop esi
ret

Function at 0x643364
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x643487
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 8]
mov eax, dword [0x682434]
mov eax, dword [eax]
call fcn.0061111c
mov eax, dword [ebp - 8]
call fcn.0040bffc
push eax
call sub.wininet.dll_InternetOpenW
mov ebx, eax
xor edx, edx
push ebp
push 0x6433e9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x84000100
push 0
push 0
push 0x64349c
push ebx
call sub.wininet.dll_InternetOpenUrlW
test eax, eax
setne byte [ebp - 1]
push eax
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6433f3
cmp byte [ebp - 1], 0
jne 0x64346a
xor edx, edx
push ebp
push 0x643460
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x682434]
mov eax, dword [eax]
call fcn.0061111c
mov eax, dword [ebp - 0xc]
call fcn.0040bffc
push eax
call sub.wininet.dll_InternetOpenW
mov ebx, eax
push 0
push 0x84000100
push 0
push 0
push 0x6434c8
push ebx
call sub.wininet.dll_InternetOpenUrlW
test eax, eax
setne byte [ebp - 1]
push eax
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64346a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64348e
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040b4c4
pop eax
jmp eax
Function at 0x643658
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x6436b7
xor eax, eax
push ebp
push 0x6436b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6436b7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
push 0x1f4
call sub.kernel32.dll_Sleep
movzx eax, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x643d20
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
lea esi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x643e95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040b464
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x418]
mov eax, dword [0x682434]
mov eax, dword [eax]
call fcn.0061111c
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x414]
call fcn.00429384
mov eax, dword [ebp - 0x414]
call fcn.0040bffc
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x643e6d
xor eax, eax
push ebp
push 0x643dd9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x84000100
push 0
push 0
mov eax, edi
call fcn.0040bffc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x643df3
cmp dword [ebp - 0xc], 0
jne 0x643e04
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x643e6d
xor eax, eax
push ebp
push 0x643e51
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0x400
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
lea edx, [ebp - 0x410]
lea eax, [ebp - 4]
mov ecx, dword [esi]
call fcn.0040b71c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040c208
cmp dword [esi], 0
jne 0x643e12
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x643e5b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x643e9c
lea eax, [ebp - 0x418]
mov edx, 2
call fcn.0040b4c4
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax
Function at 0x644344
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b558
xor eax, eax
push ebp
push 0x6443d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040b464
mov eax, dword [ebp - 4]
test eax, eax
je 0x64437f
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x6443ad
mov esi, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx edx, word [edx + esi*2 - 2]
xor dx, 2
call fcn.0040c01c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0040c208
inc esi
dec ebx
jne 0x64438a
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.0040b854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6443db
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b4c4
pop eax
jmp eax

Function at 0x6448c4
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040b464
push esp
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x6448fe
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.004298e8
add esp, 0x210
pop esi
pop ebx
ret
Function at 0x64820c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x648367
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x424]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
jne 0x648293
push 0x30
mov eax, dword [0x68a24c]
call fcn.0040bffc
push eax
push 0x648380
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x648424
mov edx, 0x648438
mov eax, dword [0x68a218]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00646978
mov eax, dword [ebp - 0x1c]
call fcn.0040bffc
push eax
mov eax, dword [0x68a1e0]
call fcn.0055b178
push eax
call sub.user32.dll_MessageBoxW
jmp 0x6482e6
push 0x31
mov eax, dword [0x68a24c]
call fcn.0040bffc
push eax
push 0x648380
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x648424
mov edx, 0x648438
mov eax, dword [0x68a218]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00646978
mov eax, dword [ebp - 0x24]
call fcn.0040bffc
push eax
mov eax, dword [0x68a1e0]
call fcn.0055b178
push eax
call sub.user32.dll_MessageBoxW
cmp eax, 2
je 0x64834a
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x64834a
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x64834a
lea eax, [ebp - 0x14]
push eax
push 0x648454
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x64834a
push 0
push 2
call sub.user32.dll_ExitWindowsEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64836e
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040b4c4
pop eax
jmp eax
Function at 0x64fdb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040b558
mov eax, dword [ebp - 8]
call fcn.0040b558
xor eax, eax
push ebp
push 0x64ff3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00408154
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], esi
test bl, bl
je 0x64fe18
mov dword [ebp - 0x48], 0x540
jmp 0x64fe1f
mov dword [ebp - 0x48], 0x500
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x64fe34
mov eax, 0x64ff50
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
call fcn.0040bffc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
call fcn.0040bffc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x64feec
test bl, bl
je 0x64fee6
cmp byte [0x68a222], 0
jne 0x64fe7c
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x500]
call fcn.00551b20
mov eax, dword [0x682434]
mov eax, dword [eax]
call fcn.00610390
mov al, 1
call fcn.00643a8c
mov eax, dword [0x682434]
mov eax, dword [eax]
call fcn.00610390
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x10], 0x103
jne 0x64fec1
mov eax, dword [0x682434]
mov eax, dword [eax]
cmp byte [eax + 0xbc], 0
je 0x64fe88
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x50]
call fcn.00427db4
mov edx, dword [ebp - 0x50]
mov eax, 0x68a25c
call fcn.0040b854
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 9], 1
jmp 0x64feff
test bl, bl
je 0x64feff
mov eax, 0x68a25c
mov edx, 0x64ff68
call fcn.0040b854
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x500]
cmp byte [eax + 0x69], 0
je 0x64ff15
call fcn.00551b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64ff41
lea eax, [ebp - 0x50]
call fcn.0040b464
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b4c4
pop eax
jmp eax