joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4124cd
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x4a402e
call fcn.0048e1d2
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
and dword [ebp - 4], 0
mov esi, dword [0x4db468]
call fcn.0047261a
mov eax, dword [eax + 4]
push 0x4b578c
push str.FaceFile
push esi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00471c05
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00461052
test eax, eax
jne 0x4125a3
push dword [ebp - 0x14]
mov esi, 0x104
push esi
push esi
lea ecx, [ebp - 0x10]
call fcn.004017a2
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x4b71dc
push str.TextOffset
mov ebx, str.Downloads
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403395
lea eax, [ebp - 0x10]
push eax
call fcn.00461e0a
pop ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push esi
mov dword [ecx + 0x21c0], eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004017a2
push eax
push 0x4b71f8
push str.ResumeTextOffset
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403395
lea eax, [ebp - 0x10]
push eax
call fcn.00461e0a
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x21c4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
call fcn.0048e2aa
ret 4
Function at 0x4453d5
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
test eax, eax
mov esi, edx
jbe 0x445453
push 3
dec eax
xor edx, edx
pop edi
div edi
push ebx
inc eax
mov edi, eax
imul edi, edi, 3
movzx edx, byte [esi]
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
movzx edx, byte [esi]
movzx ebx, byte [esi + 1]
and edx, 3
shl edx, 4
shr ebx, 4
or edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 1]
movzx ebx, byte [esi + 2]
and edx, 0xf
shl edx, 2
shr ebx, 6
or edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 2]
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
inc ecx
add esi, 3
dec eax
jne 0x4453f2
mov eax, dword [esp + 0x10]
pop ebx
lea edx, [eax + 1]
cmp edi, edx
je 0x445465
add eax, 2
cmp edi, eax
jne 0x445469
mov byte [ecx - 2], 0x3d
mov byte [ecx - 1], 0x3d
xor eax, eax
pop edi
mov byte [ecx], 0
inc eax
pop esi
ret

Function at 0x44554b
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x24
xor ebx, ebx
mov edi, eax
push ebx
push edi
call fcn.004890f0
push 0x1c
call fcn.00489ef6
push 0x1c
mov esi, eax
push ebx
push esi
call fcn.004890f0
push dword [ebp + 0x10]
call fcn.0048b2c1
push dword [ebp + 0x10]
mov dword [esi + 8], eax
call fcn.00488770
push dword [ebp + 8]
mov dword [esi + 0xc], eax
call fcn.0048b2c1
push dword [ebp + 8]
mov dword [esi], eax
call fcn.00488770
push dword [ebp + 0xc]
mov dword [esi + 4], eax
call fcn.0048b2c1
push dword [ebp + 0xc]
mov dword [esi + 0x10], eax
call fcn.00488770
add esp, 0x34
mov dword [esi + 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 4]
push eax
push ebx
push ebx
push esi
push ebx
mov dword [esi + 0x18], 1
push 2
mov esi, str.NTLM
push esi
push ebx
call sub.Secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x4455e0
xor eax, eax
jmp 0x445614
lea eax, [ebp - 4]
push eax
push esi
call sub.Secur32.dll_QuerySecurityPackageInfoA
test eax, eax
jne 0x4455dc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push eax
mov dword [edi + 0x10], ecx
call sub.Secur32.dll_FreeContextBuffer
mov dword [edi], 1
mov edi, dword [edi + 0x10]
push 3
lea eax, [edi + 3]
xor edx, edx
pop ecx
div ecx
lea eax, [eax + edi + 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4459c4
Capabilities:
Resume thread

Disassembly:
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x250], edi
jne 0x445a35
mov eax, dword [esi + 0x420]
cmp eax, edi
je 0x4459e7
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x445a35
mov eax, dword [esi + 0x274]
call fcn.0040e120
test eax, eax
je 0x4459fe
cmp dword [esi + 0x1f0], edi
jne 0x445a35
push 0xa
push 0x8c7
call fcn.0043fa3a
push 0xc
call fcn.00489ef6
pop ecx
mov ecx, dword [esi + 0x1c0]
push edi
push edi
push edi
push edi
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x20]
push eax
push 0x4502b9
mov dword [eax], ecx
call fcn.00479bf9
mov dword [esi + 0x420], eax
pop edi
pop esi
ret
Function at 0x4488cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x4a2feb
call fcn.0048e1d2
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
lea esi, [edi + 0xb8]
mov ecx, esi
call fcn.004018c1
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00461052
test eax, eax
jne 0x448a30
push str.res:
push esi
call fcn.00460b6c
test eax, eax
pop ecx
pop ecx
je 0x4489c4
push 4
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004013ad
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0045893c
pop ecx
mov esi, eax
call fcn.0047261a
mov eax, dword [eax + 0xc]
movzx ecx, si
push 0x17
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x4489b3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4489b3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x4489b3
call fcn.0047261a
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.0043d135
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x10]
call fcn.0045c3e6
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, dword [ebp + 8]
cmp dword [edi + 0x54], ebx
je 0x448a30
lea ecx, [edi + 0x58]
mov dword [ebp + 8], ebx
call fcn.0046eee4
cmp eax, ebx
je 0x448a30
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x4b44ec
push eax
call dword [ecx]
cmp dword [ebp + 8], ebx
je 0x448a30
lea ecx, [ebp - 0x10]
call fcn.00461052
test eax, eax
mov ecx, dword [ebp + 0xc]
jne 0x4489ff
mov ecx, 0x4db58c
call fcn.00403f3f
push 8
push ebx
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00481d4e
lea edx, [ebp - 0x28]
push edx
push edx
push edx
push edx
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x2c]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
call fcn.0048e2aa
ret 8

Function at 0x44c83c
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x451f97
Capabilities:
Link many functions at runtime

Disassembly:
push 0x10
mov eax, 0x4a433f
call fcn.0048e1d2
mov esi, dword [0x4db468]
call fcn.0047261a
mov eax, dword [eax + 4]
xor edi, edi
push edi
push str.NoRAS
push esi
mov ecx, eax
call fcn.00471a63
test eax, eax
jne 0x452131
call fcn.00451f34
cmp dword [0x4db2ac], edi
jne 0x4520fc
lea eax, [ebp - 0x14]
push str.SBTBQJ43_EMM
push eax
call fcn.00461ac5
lea ecx, [ebp - 0x10]
push ecx
mov esi, eax
mov dword [ebp - 4], edi
call fcn.00463c14
mov byte [ebp - 4], 1
push dword [eax]
call fcn.00465ce4
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
mov dword [0x4db2ac], eax
call fcn.0040174a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x1c]
push str.SBTEMH_EMM
push eax
call fcn.00461ac5
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
mov dword [ebp - 4], 2
call fcn.00463c14
mov byte [ebp - 4], 3
push dword [eax]
call fcn.00465ce4
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
mov dword [0x4db2b0], eax
call fcn.0040174a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [0x4db2ac]
cmp eax, edi
je 0x452131
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RasEnumConnectionsA
push eax
call esi
push str.RasEnumEntriesA
push dword [0x4db2ac]
mov dword [0x4db2b4], eax
call esi
push str.RasGetConnectStatusA
push dword [0x4db2ac]
mov dword [0x4db2b8], eax
call esi
push str.RasDialA
push dword [0x4db2ac]
mov dword [0x4db2bc], eax
call esi
push str.RasHangUpA
push dword [0x4db2ac]
mov dword [0x4db2c0], eax
call esi
push str.RasGetErrorStringA
push dword [0x4db2ac]
mov dword [0x4db2c4], eax
call esi
mov dword [0x4db2c8], eax
mov eax, dword [0x4db2b0]
cmp eax, edi
je 0x4520fc
push str.RasDialDlgA
push eax
call esi
mov dword [0x4db2cc], eax
cmp dword [0x4db2b4], edi
je 0x452131
cmp dword [0x4db2b8], edi
je 0x452131
cmp dword [0x4db2c8], edi
je 0x452131
cmp dword [0x4db2bc], edi
je 0x452131
cmp dword [0x4db2c0], edi
je 0x452131
cmp dword [0x4db2c4], edi
je 0x452131
xor eax, eax
inc eax
jmp 0x452133
xor eax, eax
call fcn.0048e2aa
ret

Function at 0x452391
Capabilities:
Hash data using sha1

Disassembly:
lea ecx, [eax + 0x74]
mov dword [eax], vtable.CSHA1.0
mov dword [eax + 0xb4], ecx
jmp fcn.004523ce

Function at 0x4523c1
Capabilities:
Hash data using sha1

Disassembly:
mov eax, ecx
mov dword [eax], vtable.CSHA1.0
jmp fcn.004523ce

Function at 0x4523ce
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
mov dword [eax + 0x14], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0xb8], ecx
ret
Function at 0x45a4ce
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x49e45f
call fcn.0048e1d2
and dword [ebp - 0x10], 0
mov esi, dword [0x4db468]
call fcn.0047261a
mov eax, dword [eax + 4]
push 0x4b578c
push str.TempFolder
push esi
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00471c05
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00461052
test eax, eax
je 0x45a531
mov esi, 0x104
push esi
lea ecx, [ebp - 0x10]
call fcn.004017a2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403395
mov esi, 0x4b63e4
push esi
lea edi, [ebp - 0x10]
call fcn.004609e9
test eax, eax
pop ecx
jne 0x45a54c
push esi
mov ecx, edi
call fcn.0040163d
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00401a17
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, ebx
call fcn.0048e2aa
ret

Function at 0x45a75f
Capabilities:
Get disk size

Disassembly:
push 0x18
mov eax, 0x4a095f
call fcn.0048e1d2
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
push 0x5c
mov dword [ebp - 4], esi
call fcn.00406b8e
cmp eax, 2
jne 0x45a7fb
mov ecx, dword [ebp + 8]
push 3
lea eax, [ebp - 0x14]
push eax
call fcn.004013d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004018c1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x45a7fb
mov eax, dword [ebp - 0x18]
mul dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push edx
push eax
call fcn.0048f0d0
mov esi, eax
mov edi, edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
mov edx, edi
call fcn.0048e2aa
ret
or edi, 0xffffffff
mov esi, edi
jmp 0x45a7e6
Function at 0x45bc74
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x4a5a3a
call fcn.0048e1d2
mov edi, ecx
xor ebx, ebx
cmp dword [0x4db77c], ebx
jle 0x45bd40
push 0x10
call fcn.00468149
mov esi, eax
cmp esi, ebx
pop ecx
je 0x45bcb9
lea ecx, [esi + 4]
mov dword [esi], vtable.CRunOneFile.0
call fcn.00401a80
lea ecx, [esi + 8]
call fcn.00401a80
mov dword [esi + 0xc], ebx
jmp 0x45bcbb
xor esi, esi
push edi
lea ecx, [esi + 4]
call fcn.004018c1
push dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.004018c1
push esi
push dword [0x4db77c]
mov edi, 0x4db774
mov ecx, edi
call fcn.00472802
cmp dword [0x4db77c], ebx
jg 0x45bcef
jmp fcn.0046fd40
mov eax, dword [0x4db778]
mov eax, dword [eax]
push 0x14
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
inc esi
cmp eax, 0x102
jne 0x45bd30
cmp dword [0x4db2e0], ebx
jne 0x45bdbd
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x45bbcd
call fcn.00479bf9
mov dword [0x4db2e0], eax
jmp 0x45bdbd
push esi
push ebx
mov ecx, edi
call fcn.0047be23
call fcn.0045bc3d
jmp 0x45bdbd
call fcn.00458b05
xor esi, esi
inc esi
cmp eax, esi
jg 0x45bdc4
cmp dword [0x4db2dc], ebx
jne 0x45bdc4
mov ecx, dword [ebp + 8]
call fcn.00461052
test eax, eax
jne 0x45bdc4
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0045fd54
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
push eax
call fcn.00460700
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [edi]
add esp, 0xc
push esi
push ecx
push eax
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x14]
cmp eax, 0x20
setg bl
add ecx, 0xfffffff0
call fcn.0040174a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
test bl, bl
je 0x45be38
mov eax, esi
jmp 0x45be93
push str..EXE
call fcn.004609e9
test eax, eax
pop ecx
jne 0x45be3a
push str..MSI
call fcn.004609e9
test eax, eax
pop ecx
jne 0x45be3a
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0045fd54
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.00460700
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [edi]
add esp, 0xc
push esi
push ecx
push eax
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x10]
cmp eax, 0x20
setg bl
add ecx, 0xfffffff0
call fcn.0040174a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
jmp 0x45bdb1
xor ebx, ebx
push 0x10
call fcn.00468149
mov esi, eax
cmp esi, ebx
pop ecx
je 0x45be63
lea ecx, [esi + 4]
mov dword [esi], vtable.CRunOneFile.0
call fcn.00401a80
lea ecx, [esi + 8]
call fcn.00401a80
mov dword [esi + 0xc], ebx
jmp 0x45be65
xor esi, esi
push dword [0x4db2dc]
push dword [ebp + 8]
push edi
call fcn.0045c99b
add esp, 0xc
push esi
mov dword [esi + 0xc], eax
push dword [0x4db77c]
mov ecx, 0x4db774
call fcn.00472802
xor eax, eax
cmp dword [esi + 0xc], ebx
setne al
call fcn.0048e2aa
ret
Function at 0x45be99
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x4db2e0]
test eax, eax
je 0x45beb6
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4db77c]
test eax, eax
je 0x45bf06
jg 0x45bec6
jmp fcn.0046fd40
mov eax, dword [0x4db778]
mov eax, dword [eax]
push 0x14
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45bef8
push 1
push 0
mov ecx, 0x4db774
call fcn.0047be23
jmp 0x45befd
call fcn.0045bc3d
test eax, eax
je 0x45bf06
call fcn.0045bc0c
cmp dword [0x4db77c], 0
jg 0x45beef
ret

Function at 0x45c4a7
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x4a0859
call fcn.0048e1d2
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x18]
call fcn.00401764
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401a17
mov edi, 0x4b9dcc
push edi
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040326a
test eax, eax
jle 0x45c513
push edi
call fcn.0040326a
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004013d0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 4
pop eax
cmp dword [ecx - 0xc], eax
mov dword [ebp - 0x14], eax
jle 0x45c585
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0040fbb0
cmp al, 0x5c
jne 0x45c577
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004013d0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
lea edi, [ebp - 0x18]
call fcn.00403e99
mov ebx, edi
call fcn.00403e4b
push 0
push dword [ebp - 0x18]
call esi
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax - 0xc]
jl 0x45c527
lea edi, [ebp - 0x10]
call fcn.00403e99
mov ebx, edi
call fcn.00403e4b
mov edi, dword [ebp - 0x10]
push 0
push edi
call esi
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.0040174a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
call fcn.0048e2aa
ret

Function at 0x45c7c9
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x4d6674]
xor eax, esp
mov dword [esp + 0x12c], eax
xor eax, eax
mov ecx, esi
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00461052
test eax, eax
jne 0x45c82c
mov eax, dword [esi]
lea ecx, [esp]
push ecx
push eax
call fcn.0047f332
test eax, eax
je 0x45c82c
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00488bf3
mov esp, ebp
pop ebp
ret
Function at 0x45c83e
Capabilities:
Check os version
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49fc9c
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4d6674]
xor eax, esp
mov dword [esp + 0x1c8], eax
push esi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
xor esi, esi
mov ecx, edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
call fcn.00461052
test eax, eax
jne 0x45c960
mov eax, dword [edi]
lea ecx, [esp + 0xa4]
push ecx
push eax
call fcn.0047f332
test eax, eax
je 0x45c960
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 5
jae 0x45c955
cmp dword [esp + 0x10], 4
jne 0x45c8f7
cmp dword [esp + 0x14], 0x5a
jae 0x45c955
call fcn.0046e7df
push eax
lea ecx, [esp + 0xc]
call fcn.00401764
mov dword [esp + 0x1e0], esi
mov esi, 0x104
push esi
lea ecx, [esp + 0xc]
call fcn.004017a2
push esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00403395
mov esi, dword [esp + 8]
push str.WININIT.INI
push esi
push 0x4bcfe4
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esi - 0x10]
call fcn.0040174a
jmp 0x45c960
push 4
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00488bf3
mov esp, ebp
pop ebp
ret
Function at 0x45ce97
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x49e45f
call fcn.0048e1d2
mov edi, ecx
push str.http:
push edi
call fcn.00460b6c
test eax, eax
pop ecx
pop ecx
jne 0x45cf43
push str.www.
push edi
call fcn.00460b6c
test eax, eax
pop ecx
pop ecx
jne 0x45cf43
mov ecx, edi
call fcn.0045c765
test eax, eax
jne 0x45ceda
xor eax, eax
jmp 0x45cf4d
push str..exe
call fcn.004609e9
xor ebx, ebx
test eax, eax
pop ecx
je 0x45cf17
lea eax, [ebp - 0x10]
push 0x4b578c
push eax
call fcn.00461ac5
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0045c982
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040174a
cmp esi, ebx
jne 0x45cf4a
mov eax, dword [edi]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call esi
cmp eax, 0x20
jg 0x45cf4a
mov edi, dword [edi]
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call esi
cmp eax, 0x20
jg 0x45cf4a
jmp 0x45ced6
push edi
call fcn.0040740a
pop ecx
xor eax, eax
inc eax
call fcn.0048e2aa
ret

Function at 0x45cf53
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4d6674]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [ebx]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, ebx
call fcn.0045c5b9
or eax, edx
jne 0x45cfbb
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
inc eax
jmp 0x45d08f
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
mov esi, ebx
call fcn.00406bd8
lea ecx, [esp + 0x14]
push edi
push ecx
mov esi, eax
mov dword [esp + 0x180], edi
call fcn.00406bd8
add esp, 0x10
mov byte [esp + 0x170], 2
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 3
push dword [eax - 0xc]
lea ecx, [esp + 0x10]
call fcn.004017a2
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edi
mov word [esp + 0x28], 0x454
mov dword [esp + 0x2e], edi
mov dword [esp + 0x32], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x45d048
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x45cfb3
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.0047f332
test eax, eax
je 0x45d037
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x45d081
xor edi, edi
inc edi
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, edi
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00488bf3
mov esp, ebp
pop ebp
ret