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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
push 9
push 0x408100
push 1
push dword [ebp + 8]
call esi
push 0x19
push 0x4087e4
push 0xe
push dword [ebp + 8]
call esi
call fcn.00401bff
call fcn.00401c50
lea ecx, [ebp - 0x44]
push 0xa
push ecx
push eax
mov dword [0x408838], eax
call fcn.00404eb6
add esp, 0xc
lea eax, [ebp - 0x1a8]
push 0x64
push eax
push 3
push dword [ebp + 8]
call esi
mov ebx, 0x4085dc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea eax, [ebp - 0x20c]
push 0x64
push eax
lea eax, [ebp - 0x1a8]
push eax
push 0x40704c
push str.Message
call edi
push ebx
lea eax, [ebp - 0x144]
push 0x64
push eax
mov ebx, str.NONE
lea eax, [ebp - 0x44]
push ebx
push eax
push str.Message
call edi
lea eax, [ebp - 0x144]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
lea eax, [ebp - 0x144]
jne 0x4010bd
lea eax, [ebp - 0x20c]
push eax
push 0x40850c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xac]
push 0x32
push eax
push 2
push dword [ebp + 8]
call esi
mov esi, 0x4085dc
lea eax, [ebp - 0xe0]
push esi
push 0x32
push eax
lea eax, [ebp - 0xac]
push eax
push 0x40704c
push str.TitleBar
call edi
push esi
lea eax, [ebp - 0x78]
push 0x32
push eax
lea eax, [ebp - 0x44]
push ebx
push eax
push str.Message
call edi
lea eax, [ebp - 0x78]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
lea eax, [ebp - 0x78]
jne 0x401126
lea eax, [ebp - 0xe0]
push eax
push 0x408800
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
mov esi, 0x408100
xor edi, edi
push esi
push eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x401361
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f02
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_RegisterClassExA]
pop edi
pop esi
test ax, ax
pop ebx
jne 0x4011a9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x4011a9
xor eax, eax
leave
ret
push 1
pop eax
leave
ret
Function at 0x401676
Capabilities:
Create directory
Get common file path
Get disk size
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
push ebx
and dword [ebp - 0xc], 0
push esi
push edi
mov edi, 0x100
mov esi, 0x4086e0
push edi
push 0
push esi
call fcn.004025a0
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, 0x40883c
push edi
call ebx
cmp eax, 2
jle 0x4016ca
push edi
call fcn.00401d6b
test eax, eax
pop ecx
je 0x4016ca
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call ebx
cmp byte [eax + 0x4086df], 0x5c
je 0x4016e2
push 0x4070c0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call fcn.00401e20
test eax, eax
pop ecx
je 0x401772
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
and dword [ebp - 4], 0
push 0
push esi
lea eax, [ebp - 0x1b8]
push str._ssetuptmp_d
push eax
call edi
lea eax, [ebp - 0x1b8]
push eax
call fcn.00401e20
add esp, 0x14
test eax, eax
je 0x401753
cmp dword [ebp - 4], 0x64
jge 0x401772
inc dword [ebp - 4]
lea eax, [ebp - 0x1b8]
push dword [ebp - 4]
push esi
push str._ssetuptmp_d
push eax
call edi
lea eax, [ebp - 0x1b8]
push eax
call fcn.00401e20
add esp, 0x14
test eax, eax
jne 0x40171f
cmp dword [ebp - 4], 0x64
jge 0x401772
lea eax, [ebp - 0x1b8]
push eax
call fcn.00401d6b
test eax, eax
pop ecx
je 0x401772
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
call edi
test eax, eax
jne 0x401794
push str.c:_temp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
call edi
test eax, eax
jne 0x4017dd
lea eax, [ebp - 0xb4]
push 0x96
push eax
push 7
push dword [0x4085d4]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10
lea eax, [ebp - 0xb4]
push esi
push eax
push dword [0x4080fc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 3
mov dword [0x407ff0], 1
pop eax
jmp 0x40188d
push esi
call ebx
cmp byte [eax + 0x4086df], 0x5c
je 0x4017f5
push 0x4070c0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov al, byte [0x4086e0]
and byte [ebp - 5], 0
mov byte [ebp - 8], al
mov al, byte [0x4086e1]
mov byte [ebp - 7], al
mov al, byte [0x4086e2]
mov byte [ebp - 6], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x401849
mov eax, dword [ebp - 0x14]
xor ecx, ecx
imul eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x18]
test ecx, ecx
jg 0x40188a
jl 0x401849
cmp eax, 0x1e8480
jae 0x40188a
lea eax, [ebp - 0xb4]
push 0x96
push eax
push 8
push dword [0x4085d4]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10
lea eax, [ebp - 0xb4]
push esi
push eax
push dword [0x4080fc]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x407ff0], 1
mov dword [ebp - 0xc], 2
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d6b
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 1
push edi
call esi
cmp byte [eax + edi - 1], 0x5c
je 0x401d9d
push 0x4070c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call esi
mov ebx, eax
xor esi, esi
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004025a0
add esp, 0xc
cmp ebx, 2
jle 0x401e15
cmp byte [edi + 1], 0x3a
jne 0x401e15
test ebx, ebx
jle 0x401e18
lea eax, [ebp - 0x108]
sub edi, eax
cmp dword [ebp - 4], 0
je 0x401e18
lea eax, [ebp + esi - 0x108]
mov cl, byte [edi + eax]
cmp cl, 0x5c
mov byte [eax], cl
jne 0x401e0e
cmp esi, 2
je 0x401e0e
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x401e0e
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], eax
inc esi
cmp esi, ebx
jl 0x401dd0
jmp 0x401e18
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401e20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi - 1], 0x5c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x401e4d
push 0x4070c0
push esi
call edi
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push str.irsetup.exe
push eax
call edi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0040279d
pop ecx
test eax, eax
pop ecx
jne 0x401e91
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401e91
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x401ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [ecx]
mov edx, esi
dec esi
test edx, edx
je 0x401eda
mov edx, dword [esp + 8]
xor ecx, ecx
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x407190]
xor ecx, eax
mov eax, ecx
mov ecx, esi
dec esi
test ecx, ecx
jne 0x401eb8
pop esi
ret

Function at 0x40279d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4027bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004031c0
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4027de
test byte [esp + 8], 2
je 0x4027de
mov dword [0x408944], 0xd
mov dword [0x408948], 5
jmp 0x4027b9
xor eax, eax
ret
Function at 0x403bf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407c48
cmp edx, dword [eax]
je 0x403c13
add eax, 8
inc ecx
cmp eax, 0x407cd8
jl 0x403c04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407c48]
jne 0x403d41
mov eax, dword [0x408998]
cmp eax, 1
je 0x403d1b
test eax, eax
jne 0x403c44
cmp dword [0x407a34], 1
je 0x403d1b
cmp edx, 0xfc
je 0x403d41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403c7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004044b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004045a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403cbe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004045a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406458
push edi
call fcn.004049e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004044b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004044c0
lea eax, [ebp - 0xa0]
push 0x406438
push eax
call fcn.004044c0
push dword [esi + 0x407c4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004044c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404955
add esp, 0x2c
pop edi
jmp 0x403d41
lea eax, [ebp + 8]
lea esi, [esi + 0x407c4c]
push 0
push eax
push dword [esi]
call fcn.004045a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7a1f3e0c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x22d27456
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40400a
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x45e0d1
call fcn.00441cb6
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403897
push str..
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403fd3
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00403897
call fcn.00403a22
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040127f
call fcn.00441d8e
ret

Function at 0x404147
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x110], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00441600
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call fcn.00404083
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00441ca7
leave
ret

Function at 0x404296
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x318
lea ebp, [esp - 4]
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp + 0x318], eax
push 0x10
mov eax, 0x45e151
call fcn.00441cb6
mov eax, dword [ebp + 0x328]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x324]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00404258
mov esi, 0x105
push esi
xor ebx, ebx
lea eax, [ebp + 0x108]
push 0
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00441600
add esp, 0x10
push esi
lea eax, [ebp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea eax, [ebp]
push 0
push eax
call fcn.00441600
add esp, 0xc
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp + 0x210]
push 0
push eax
call fcn.00441600
add esp, 0xc
lea eax, [ebp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00404083
push dword [ebp - 0x10]
mov ecx, edi
push str.APPPATH
mov dword [ebp - 0x14], ebx
call fcn.00403b0f
lea eax, [ebp + 0x108]
push eax
push str.SYSTEMPATH
mov ecx, edi
call fcn.00403b0f
lea eax, [ebp]
push eax
push str.WINDOWSPATH
mov ecx, edi
call fcn.00403b0f
lea eax, [ebp + 0x210]
push eax
push str.TEMPPATH
mov ecx, edi
call fcn.00403b0f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040127f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x318]
xor ecx, ebp
call fcn.00441ca7
add ebp, 0x31c
leave
ret
Function at 0x4045cb
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 8
mov eax, 0x45e1b5
call fcn.00441cb6
mov ebx, dword [ebp + 0xa0]
xor edi, edi
push str.Unknown
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.00404083
push 0x94
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.00441600
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 4], 5
jne 0x404659
cmp dword [ebp + 8], 1
jne 0x40464c
push str.WinXP
jmp 0x404676
cmp dword [ebp + 8], 2
jne 0x40467d
push str.WinXP_64
jmp 0x404676
cmp dword [ebp + 4], 6
jne 0x40467d
cmp dword [ebp + 8], edi
jne 0x40466b
push str.WinVista
jmp 0x404676
cmp dword [ebp + 8], 1
jne 0x40467d
push str.Win7
mov ecx, ebx
call fcn.00403ef3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00441ca7
add ebp, 0x98
leave
ret
Function at 0x4057c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa4
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push edi
mov edi, dword [ebp + 0x78]
test eax, eax
jne 0x4057ff
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x405813
push ebx
lea ebx, [ebp - 0x38]
push ebx
or eax, 1
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ebx
test eax, eax
je 0x40581b
xor eax, eax
jmp 0x40584e
test edi, edi
je 0x405840
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0x96
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405817
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
pop edi
call fcn.00441ca7
add ebp, 0x68
leave
ret
Function at 0x413c1e
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 0xc
mov eax, 0x4603d4
call fcn.00441cb6
mov esi, ecx
call fcn.0041fe62
push eax
lea ecx, [ebp - 0x10]
call fcn.0040367e
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x413c8c
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.00413a88
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00413b54
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403ea6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040127f
jmp 0x413caf
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00413b54
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00403ea6
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040127f
mov eax, dword [esi + 8]
push ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
push esi
mov esi, dword [ebp - 0x10]
push ebx
push esi
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jge 0x413cf2
mov dword [ebp - 0x18], eax
push 0x474d50
lea eax, [ebp - 0x18]
push eax
call fcn.004417e7
lea ecx, [esi - 0x10]
call fcn.0040127f
call fcn.00441d8e
ret
Function at 0x4145c2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp + 0x8c], eax
and dword [ebp - 0x80], 0
push esi
mov esi, dword [ebp + 0x98]
push 0x105
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00441600
lea eax, [ebp - 0x80]
push eax
call fcn.00404147
add esp, 0x10
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x4666c8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.0040127f
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
call fcn.00404083
mov ecx, dword [ebp + 0x8c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00441ca7
add ebp, 0x90
leave
ret

Function at 0x415450
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x4606ef
call fcn.00441cb6
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], 0
call fcn.00404083
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x20019
push ebx
push 0
push dword [ebp - 0x1c]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x415576
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.00441600
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x20], 1
jbe 0x41550d
mov byte [ebp - 0xd], 0
jmp 0x41556d
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
lea ecx, [ebp - 0x14]
call fcn.00404083
lea eax, [ebp - 0x24]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0x14]
push edi
call esi
test eax, eax
jne 0x415562
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 0x4668b8
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415559
cmp dword [ebp - 0x28], 1
je 0x415559
mov byte [ebp - 0xd], 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040127f
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040127f
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.00441ca7
add ebp, 0x104
leave
ret
Function at 0x41a181
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00441600
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x44], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
pop esi
leave
ret 8

Function at 0x41b7cf
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x46156a
call fcn.00441cb6
xor esi, esi
push esi
push str.http:
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0040378d
cmp eax, 0xffffffff
jle 0x41b80b
push 1
push esi
push esi
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x41b91f
call fcn.004043c4
call fcn.0041fe62
push eax
lea ecx, [ebp - 0x14]
call fcn.0040367e
mov byte [ebp - 4], 1
call fcn.0041fe62
push eax
lea ecx, [ebp - 0x18]
call fcn.0040367e
mov esi, 0x467410
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00403fd3
lea eax, [ebp - 0x1c]
push eax
call fcn.004040c7
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004080dd
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040127f
push esi
lea ecx, [ebp - 0x14]
call fcn.00403fd3
lea eax, [ebp + 8]
push eax
mov esi, 0x465f98
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00408079
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004080dd
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040127f
push dword [0x48078c]
lea eax, [ebp - 0x18]
push 0x466eb0
push eax
call fcn.00407dd9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00408079
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004080dd
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040127f
lea ecx, [ebp - 0xd]
call fcn.0042e929
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 6
call fcn.0041a181
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00443675
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040127f
lea ecx, [esi - 0x10]
call fcn.0040127f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040127f
call fcn.00441d8e
ret 4