joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a2c9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a34c4
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x18]
mov ecx, edi
call fcn.00461052
test eax, eax
jne 0x40a310
push edi
mov eax, 0x4db4c4
call fcn.004584a6
pop ecx
lea esi, [ebx + 0x20]
mov ecx, esi
call fcn.00461052
test eax, eax
jne 0x40a32a
push esi
mov eax, 0x4db4d8
call fcn.004584a6
pop ecx
lea esi, [ebx + 0x50]
mov ecx, esi
call fcn.00461052
test eax, eax
jne 0x40a367
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00463ebf
and dword [esp + 0x28], 0
push eax
mov eax, 0x4db4ec
call fcn.004584a6
or dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, edi
call fcn.00401979
lea ecx, [ebx + 0x1c]
call fcn.00401979
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.0045c765
test eax, eax
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
je 0x40a38e
push dword [esi]
call edi
lea esi, [ebx + 0x38]
mov ecx, esi
call fcn.0045c765
test eax, eax
je 0x40a3a0
push dword [esi]
call edi
call fcn.00407d90
xor eax, eax
inc eax
and dword [ebx + 0x14], 0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [0x4db168], eax
mov dword [0x4db16c], eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40af4a
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a341d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0046e7df
push eax
lea ecx, [esp + 0x18]
call fcn.00401764
and dword [esp + 0x38], 0
push 3
lea eax, [esp + 0x24]
lea edi, [esi + 0x50]
push eax
mov ecx, edi
call fcn.004013d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.004018c1
mov byte [esp + 0x38], 0
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [esi + 0x378], 0
je 0x40aff1
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x64]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040174a
mov eax, edi
mov edx, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0045c5b9
mov edi, edx
cmp edi, dword [esi + 0x64]
mov ebx, eax
jg 0x40b0cf
jl 0x40b010
cmp ebx, dword [esi + 0x60]
jae 0x40b0cf
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceA]
test eax, eax
jne 0x40b043
push 0x40
pop eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x200
jmp 0x40b047
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x64]
xor edx, edx
sub ecx, ebx
sbb eax, edi
cmp eax, edx
jl 0x40b076
jg 0x40b068
cmp ecx, dword [esp + 0x18]
jbe 0x40b076
mov eax, dword [esp + 0x18]
add eax, eax
xor ecx, ecx
sub ebx, eax
sbb edi, ecx
jmp 0x40b07c
sub ebx, dword [esp + 0x18]
sbb edi, edx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], ebx
mov edi, dword [0x4db468]
call fcn.0047261a
mov eax, dword [eax + 4]
push 4
push str.Rollback
push edi
mov ecx, eax
call fcn.00471a63
mov edx, dword [esi + 0x60]
shl eax, 0xa
xor ecx, ecx
xor ebx, ebx
sub edx, eax
mov eax, dword [esi + 0x64]
push ebx
mov edi, 0x400
push edi
sbb eax, ecx
push eax
push edx
call fcn.0048f110
push ebx
push edi
push edx
push eax
call fcn.0048f0d0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
jmp 0x40b0d1
xor ebx, ebx
cmp dword [esi + 0x64], ebx
jg 0x40afc6
jl 0x40b0e5
cmp dword [esi + 0x60], ebx
jae 0x40afc6
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x40afc6
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 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