joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ce45b
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x5ce488
push 4
pop eax
jmp 0x5ce4cf
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x5ce4a0
push 7
pop esi
jmp 0x5ce4c6
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 4
Function at 0x5ce69a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x3c
mov eax, 0x60798a
call fcn.005cbb9f
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0x44], ebx
call fcn.00424bb0
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push str.LangLang.xml
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041e630
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, esp
push eax
call fcn.00413880
call fcn.0041f7c0
add esp, 0x18
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x5ce76a
push 0x67e960
push str.Language_xml
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x5ce7fd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [ebp - 0x44]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x5ce7fd
test ebx, ebx
je 0x5ce7fd
cmp edi, 0x100000
ja 0x5ce7fd
push edi
call fcn.005cb0d7
mov dword [esi + 0x1c], eax
pop ecx
test eax, eax
je 0x5ce7fd
push edi
push 0
push eax
call fcn.005d4b40
push edi
push ebx
push dword [esi + 0x1c]
call fcn.005d5f90
add esp, 0x18
push 0x48
call fcn.005cab84
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x5ce788
mov ecx, eax
call fcn.005c1190
mov ecx, eax
jmp 0x5ce78a
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [esi + 0x24], ecx
test ecx, ecx
jne 0x5ce7a9
cmp dword [esi + 0x1c], ecx
je 0x5ce7fd
push dword [esi + 0x1c]
call fcn.005cac0b
and dword [esi + 0x1c], 0
pop ecx
jmp 0x5ce7fd
mov eax, dword [ecx]
push 1
push 0
push dword [esi + 0x1c]
call dword [eax + 8]
mov ecx, dword [esi + 0x24]
push str.TheConfigure
call fcn.005c1f40
mov dword [esi + 0x20], eax
test eax, eax
jne 0x5ce801
cmp dword [esi + 0x1c], eax
je 0x5ce7db
push dword [esi + 0x1c]
call fcn.005cac0b
and dword [esi + 0x1c], 0
pop ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x5ce7fd
lea eax, [ecx - 4]
cmp dword [eax], 0
je 0x5ce7f2
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x5ce7f9
push eax
call fcn.005cac0b
pop ecx
and dword [esi + 0x24], 0
xor esi, esi
jmp 0x5ce804
xor esi, esi
inc esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00420bb0
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00420bb0
mov eax, esi
call fcn.005cbb5a
ret 4
Function at 0x5d08d6
Capabilities:
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x607d1f
call fcn.005cbb9f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x144]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x2a0], 0
push 0x6099b4
call fcn.0040fec0
and dword [ebp - 4], 0
lea eax, [ebp - 0x114]
mov edi, 0x104
push edi
push 0
push eax
call fcn.005d4b40
push ebx
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.005e5aa6
push 0x67f7b8
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.005ee321
add esp, 0x24
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x5d0a51
test byte [ebp - 0x29c], 0x10
jne 0x5d0a34
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040fec0
push ebx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0040fec0
push 0x60bb70
mov byte [ebp - 4], 2
call fcn.005ee180
pop ecx
push eax
push 0x60bb70
lea ecx, [ebp - 0x12c]
call fcn.00408ea0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00408cf0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.005d0c65
pop ecx
test al, al
je 0x5d0a12
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x144]
call fcn.00408cf0
push 0x611bc4
call fcn.005ee180
pop ecx
push eax
push 0x611bc4
lea ecx, [ebp - 0x144]
call fcn.00408ea0
push 0
push 1
lea ecx, [ebp - 0x12c]
call fcn.00408c90
push 0
push 1
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0
call fcn.00408c90
lea eax, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5d095c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x144]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.004086c0
push ebx
push 1
lea ecx, [ebp - 0x144]
call fcn.00408c90
mov eax, esi
call fcn.005cbb5a
ret
Function at 0x5d0ad0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x607d5d
call fcn.005cbb9f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov edi, 0x6099b4
xor ebx, ebx
push edi
mov dword [ebp - 0x84c], ebx
call fcn.0040fec0
push edi
lea ecx, [ebp - 0x810]
mov dword [ebp - 4], ebx
call fcn.0040fec0
push 0x3e8
lea eax, [ebp - 0x3f8]
mov byte [ebp - 4], 1
push ebx
push eax
mov dword [ebp - 0x848], 2
call fcn.005d4b40
add esp, 0xc
mov dword [ebp - 0x844], 0x3e7
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x848]
push eax
push str.MinidumpDir
push str.SYSTEMControlSet001ControlCrashControl
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp byte [ebp - 0x3f8], bl
jne 0x5d0b6d
mov eax, ebx
jmp 0x5d0b7a
lea eax, [ebp - 0x3f8]
push eax
call fcn.005ee180
pop ecx
push eax
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x810]
call fcn.00409100
cmp dword [ebp - 0x800], 0
je 0x5d0c25
push 0x400
lea eax, [ebp - 0x7f8]
push ebx
push eax
call fcn.005d4b40
add esp, 0xc
lea ecx, [ebp - 0x7f8]
cmp dword [ebp - 0x7fc], 0x10
lea eax, [ebp - 0x810]
cmovae eax, dword [ebp - 0x810]
push dword [ebp - 0x800]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x7f8], 0
jne 0x5d0bf6
cmp dword [ebp - 0x7fc], 0x10
lea eax, [ebp - 0x810]
cmovae eax, dword [ebp - 0x810]
jmp 0x5d0bfc
lea eax, [ebp - 0x7f8]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.005d08d6
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00413db0
push ebx
push 1
lea ecx, [ebp - 0x840]
call fcn.00408c90
lea eax, [ebp - 0x828]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.004086c0
push ebx
push 1
lea ecx, [ebp - 0x810]
call fcn.00408c90
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00408c90
mov eax, esi
call fcn.005cbb5a
ret 4

Function at 0x5d0c65
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x2000080
push 3
push ebx
push ebx
push accept
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5d0c97
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x5d0cfa
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xa00000
ja 0x5d0cf0
push edi
call fcn.005d9b79
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x5d0cf0
push edi
push ebx
push eax
mov dword [ebp - 8], ebx
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 8]
push ebx
mov ebx, dword [ebp - 4]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push str.GoodZipSvarerHaveException
push edi
push ebx
call fcn.005d11b0
push dword [ebp - 4]
mov bl, al
call fcn.005d9b74
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d124a
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
xor ebx, ebx
push esi
inc eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x5d12d3
push dword [ebp - 4]
call fcn.005d9b79
push dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.005d4b40
add esp, 0x10
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test esi, esi
je 0x5d12d3
push dword [ebp + 0x14]
push esi
call fcn.005ee100
test eax, eax
movzx ebx, bl
push 1
pop eax
push esi
cmove ebx, eax
call fcn.005d9b74
add esp, 0xc
test bl, bl
jne 0x5d12ec
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CheckRegSZValue_false__
call esi
push dword [ebp + 0xc]
call esi
push 0x67f860
call esi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5d12f6
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x10
pop ecx
push 0x88
mov dword [ebp - 0x198], eax
lea edi, [ebp - 0xcc]
lea eax, [ebp - 0x8c]
mov esi, str.SOFTWARERegisteredApplications
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.005d4b40
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.005d4b40
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.005ee140
lea eax, [ebp - 0x194]
push 0x609b38
push eax
call fcn.005ee0cf
lea eax, [ebp - 0x194]
push ebx
push eax
call fcn.005ee0cf
add esp, 0x30
lea eax, [ebp - 0xcc]
cmp dword [ebp + 0x10], 0
push ebx
push eax
je 0x5d13c5
mov edi, reloc.WS2_32.dll_bind
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov esi, dword [ebp - 0x198]
push esi
call fcn.005ee162
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
lea eax, [ebp - 0xcc]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x5d13d0
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5d13e3
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x44]
mov esi, 0x60cf90
mov dword [ebp - 0x370], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push 0x2e
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x32]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
push edi
push eax
call fcn.005d4b40
mov esi, 0xc8
lea eax, [ebp - 0x1d4]
push esi
push edi
push eax
call fcn.005d4b40
push esi
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.005d4b40
push 0x190
lea eax, [ebp - 0x364]
push edi
push eax
call fcn.005d4b40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.005ee140
lea eax, [ebp - 0x1d4]
push 0x609b38
push eax
call fcn.005ee0cf
add esp, 0x40
lea eax, [ebp - 0x1d4]
push ebx
push eax
call fcn.005ee0cf
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.005ee140
lea eax, [ebp - 0x10c]
push str.Capabilities
push eax
call fcn.005ee0cf
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.005ee140
lea eax, [ebp - 0x364]
push str.FileAssociations
push eax
call fcn.005ee0cf
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x364]
add esp, 0x28
cmp dword [ebp + 0x1c], edi
mov edi, reloc.WS2_32.dll_bind
push eax
push edi
je 0x5d1597
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov esi, dword [ebp - 0x368]
push esi
call fcn.005ee162
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x10c]
push 1
push str.AppDesc
push eax
push edi
call esi
mov ebx, dword [ebp - 0x36c]
push ebx
call fcn.005ee162
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.AppIcon
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ebx, dword [ebp - 0x370]
push ebx
call fcn.005ee162
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.AppName
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x364]
push eax
push edi
call esi
jmp 0x5d15a3
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 0x18
Function at 0x5d15b6
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x324]
push edi
mov edi, dword [ebp + 0xc]
push 0x190
push 0
push eax
call fcn.005d4b40
mov ebx, 0xc8
lea eax, [ebp - 0xcc]
push ebx
push 0
push eax
call fcn.005d4b40
push ebx
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.005d4b40
push edi
push esi
lea eax, [ebp - 0x194]
push 0x609b88
push eax
call fcn.0040fd80
push esi
lea eax, [ebp - 0x324]
push str.SOFTWARE_sCapabilitiesFileAssociations
push eax
call fcn.0040fd80
add esp, 0x40
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.005ee140
lea eax, [ebp - 0xcc]
push 0x609b38
push eax
call fcn.005ee0cf
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.005ee0cf
add esp, 0x18
lea eax, [ebp - 0xcc]
mov esi, reloc.WS2_32.dll_bind
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x194]
push eax
call fcn.005ee162
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x194]
push eax
push 1
push edi
lea eax, [ebp - 0x324]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 8

Function at 0x5d17a2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.005d4b40
add esp, 0xc
mov dword [ebp - 0x218], 0x114
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x214], 6
jb 0x5d1867
lea eax, [ebp - 0x21c]
push eax
push 0x614078
push 3
push esi
push 0x614098
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x5d1867
lea eax, [ebp - 0x104]
mov dword [ebp - 0x220], esi
push 0x609b1c
push eax
call fcn.005ee140
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x220]
pop ecx
pop ecx
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x104]
push edx
push 1
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x220], esi
jne 0x5d185b
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x104]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push esi
push 0x3003
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005cabbc
mov esp, ebp
pop ebp
ret
Function at 0x5d2630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.005d3960
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.005d3910
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.005d39b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x5d266c
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x5d26c0
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x5d26b0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x5d26b0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x5d28c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607ea6
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x5d291a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x5d2937
mov eax, dword [esi + 0x20]
jmp 0x5d293a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x5d2954
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x5d296e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x5d2988
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.005dee27
push eax
call fcn.005e0847
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005d4b40
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x5d2a47
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x5d2a38
test eax, eax
je 0x5d2a38
add eax, eax
cmp eax, 0x412
jae 0x5d2a33
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x5d2a3e
call fcn.005cb203
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.0040b200
mov eax, dword [esi + 0x30]
test eax, eax
je 0x5d2a73
cmp dword [esi + 0x34], 8
jb 0x5d2a59
mov ecx, dword [esi + 0x20]
jmp 0x5d2a5c
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x5d2a73
push 1
push 0x609b38
lea ecx, [esi + 0x20]
call fcn.0040fc50
cmp dword [esi + 0x30], 0
jne 0x5d2a88
push 3
push 0x67fb84
lea ecx, [esi + 0x20]
call fcn.004072f0
mov dword [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret
Function at 0x5d2ab0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x5d2acc
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x5d2ac5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x5d2ae9
push eax
call fcn.005cac0b
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x5d2aff
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004073f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x5d2b15
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x5d2b30
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004073f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x5d2b46
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x5d2b61
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004073f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x5d2b77
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x5d2b92
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004073f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x5d2ba8
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x5d2bc2
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.004073f0
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x5d2be1
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x5d4120
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x5d415e
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x5d415e
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x5f1231
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005f10b0

Function at 0x5f61d4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005f5e94
Function at 0x42c10d
Capabilities:
Terminate process

Disassembly:
jmp 0x45dd9c
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45ddad
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0042b460
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x42ca36
Capabilities:
Parse pe header

Disassembly:
jmp 0x4331fc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43323c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43323c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43323c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43323c
cmp dword [ecx + 0x74], 0xe
jbe 0x43323c
cmp dword [ecx + 0xe8], 0
je 0x43323c
mov al, 1
ret
xor al, al
ret

Function at 0x42d22e
Capabilities:
Query environment variable

Disassembly:
jmp 0x469f03
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x469f17
xor edi, edi
jmp 0x469f4e
push ebx
push esi
call fcn.00469e0b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042c504
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x469f3e
push ebx
push esi
push edi
call fcn.0042d328
add esp, 0xc
push 0
call fcn.0042b537
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret