joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4547c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [ebp - 4], eax
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0x1c], eax
call ebx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], eax
mov dword [esi + 0x25c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x268], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x254], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x234], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x270], eax
mov al, byte [ebp + 0x24]
push edi
mov dword [esi + 0x258], ecx
mov dword [esi + 0x250], 0x458117
mov byte [esi + 0x274], al
call fcn.0043759e
mov eax, dword [ebp + 0x10]
pop ecx
cmp eax, edi
jne 0x454842
xor eax, eax
jmp 0x454847
call fcn.004018a7
mov dword [esi + 0x238], eax
mov al, byte [ebp + 0x28]
mov byte [esi + 0x275], al
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x278], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x27c], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x280], eax
mov eax, dword [ebp + 0x38]
push edi
mov dword [esi + 0x284], eax
call fcn.0043759e
mov eax, dword [ebp + 0x3c]
pop ecx
cmp eax, edi
jne 0x45488c
xor eax, eax
jmp 0x454891
call fcn.004018a7
mov dword [esi + 0x290], eax
mov eax, dword [ebp + 0x40]
mov dword [esi + 0x298], eax
mov eax, dword [ebp + 0x44]
mov ebx, 0x1000
push ebx
mov dword [esi + 0x29c], eax
call fcn.0043742a
push ebx
push edi
push eax
mov dword [ebp + 0x24], eax
call fcn.0043b2b0
mov eax, dword [ebp + 0x24]
add esp, 0x10
mov dword [esi + 0x294], eax
cmp dword [ebp + 0x14], edi
je 0x4548e5
push edi
call fcn.0043759e
mov eax, dword [ebp + 0x14]
pop ecx
call fcn.004018a7
mov dword [esi + 0x23c], eax
push dword [ebp + 0x18]
lea eax, [esi + 0x244]
push 0x46eba8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
call fcn.0043759e
mov eax, dword [ebp + 0x1c]
add esp, 0x10
cmp eax, edi
jne 0x45490e
xor eax, eax
jmp 0x454913
call fcn.004018a7
mov dword [esi + 0x260], eax
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x45430d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [ebp - 4]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
pop edi
pop ebx
leave
ret 0x40
Function at 0x454c5c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [ecx]
push 3
push dword [esi + 0x264]
call dword [eax + 0x3c]
and dword [ebp - 4], 0
add esi, 0x2c
push esi
lea ebx, [ebp - 4]
call fcn.0045320f
pop ecx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push dword [ebp - 4]
push str.C75A7F71_797A_11d2_8255_00A02455A490
call fcn.0040369b
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call fcn.00453282
pop ecx
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.0043b2b0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
call fcn.004552c0
push 8
call fcn.0043694d
mov ebx, eax
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
xor edi, edi
mov esi, 0x48e358
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00438e87
pop ecx
pop ecx
test eax, eax
je 0x455463
add esi, 0x108
inc edi
cmp esi, 0x48e880
jl 0x455414
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45547c
push ebx
call fcn.00436909
pop ecx
xor eax, eax
jmp 0x4554d1
imul edi, edi, 0x108
mov ecx, dword [edi + 0x48e45c]
mov dword [ebx], ecx
mov eax, dword [edi + 0x48e45c]
inc dword [eax + 8]
jmp 0x4554cf
push 0xc
call fcn.0043694d
and dword [ebp - 4], 0
pop ecx
push 0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [esi + 4], eax
call fcn.0043694d
pop ecx
push 0
lea ecx, [ebp - 4]
push ecx
push dword [esi + 4]
mov dword [esi], eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push esi
mov dword [ebx], esi
push eax
mov dword [esi + 8], 1
call fcn.00455278
pop ecx
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x455843
Capabilities:
Delete directory
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x564
push ebx
push esi
push edi
mov edi, 0x103
push edi
xor esi, esi
lea eax, [esp + 0x365]
push esi
push eax
mov byte [esp + 0x36c], 0
call fcn.0043b2b0
push edi
lea eax, [esp + 0x161]
push esi
push eax
mov byte [esp + 0x168], 0
call fcn.0043b2b0
push edi
lea eax, [esp + 0x275]
push esi
push eax
mov byte [esp + 0x27c], 0
call fcn.0043b2b0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
add esp, 0x24
lea esi, [edi + 1]
push esi
push dword [ebp + 8]
lea eax, [esp + 0x260]
push eax
call ebx
push esi
push dword [ebp + 8]
lea eax, [esp + 0x368]
push eax
call ebx
push esi
push dword [ebp + 0xc]
lea eax, [esp + 0x158]
push eax
call ebx
xor ebx, ebx
push 0x13c
lea eax, [esp + 0x18]
push ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.0043b2b0
add esp, 0xc
push 0x46dd6c
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x45595c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x46d]
push ebx
push eax
mov byte [esp + 0x474], bl
call fcn.0043b2b0
add esp, 0xc
push ebx
push esi
lea eax, [esp + 0x470]
push eax
push ebx
push dword [esp + 0x1c]
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
jmp 0x4559d5
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x46db14
cmp byte [esp + 0x3c], 0x2e
je 0x4559af
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x368]
push edi
push eax
call esi
lea eax, [esp + 0x4c]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x168]
push edi
push eax
call esi
add esp, 0x20
push 1
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x455967
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455b3f
Capabilities:
Create directory
Get file attributes

Disassembly:
cmp byte [edi], 0
je 0x455b62
push esi
mov esi, edi
cmp byte [esi], 0x5c
jne 0x455b5b
push 0
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x455b47
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x455c27
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
push esi
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x455c66
mov eax, 0x48e898
jmp 0x455cf4
push edi
push esi
call fcn.0043694d
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueA]
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call esi
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push 0x46ebdc
push ecx
push eax
lea eax, [ebp - 0x514]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x514]
push eax
push edi
call esi
mov eax, dword [ebp - 0xc]
mov esi, 0x48e898
mov ecx, esi
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x455ce0
push edi
call fcn.00436909
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x455cf7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x344
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00437d8a
mov edi, 0x103
xor ebx, ebx
push edi
lea eax, [esp + 0x251]
push ebx
push eax
mov byte [esp + 0x258], bl
call fcn.0043b2b0
add esp, 0x10
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0043b2b0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x20], 0x128
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
lea esi, [edi + 1]
push edi
lea eax, [esp + 0x145]
push ebx
push eax
mov byte [esp + 0x14c], bl
call fcn.0043b2b0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x150]
push esi
push eax
call fcn.00437e27
lea eax, [esp + 0x158]
push eax
call fcn.00437d8a
lea eax, [esp + 0x15c]
push eax
push dword [ebp + 8]
call fcn.00437440
add esp, 0x24
test eax, eax
je 0x455e02
push dword [esp + 0x20]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
lea ecx, [esp + 0x24c]
push ecx
push ebx
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x455e02
lea eax, [esp + 0x248]
push eax
call fcn.00437d8a
push dword [ebp + 8]
lea eax, [esp + 0x250]
push eax
call fcn.00437440
add esp, 0xc
test eax, eax
jne 0x455e1b
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x455d6c
jmp 0x455e2c
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0x14], 1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455e68
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea edx, [ebp - 0x108]
push edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x455e7b
xor edi, edi
cmp byte [ebp - 0x108], 0
je 0x455ebf
lea esi, [ebp + edi - 0x108]
cmp byte [esi], 0x5c
jne 0x455eb4
cmp edi, 2
jle 0x455eb4
lea eax, [ebp - 0x108]
push eax
mov byte [esi], 0
call fcn.00466b55
pop ecx
mov byte [esi], 0x5c
inc edi
cmp byte [ebp + edi - 0x108], 0
jne 0x455e90
lea eax, [ebp - 0x108]
push eax
call fcn.00466b55
pop ecx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
leave
ret
Function at 0x455fd0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1870
call fcn.0043b4d0
push ebx
push esi
push edi
push 0x2e
pop eax
push eax
mov dword [ebp - 0xc], eax
call fcn.0043694d
pop ecx
push dword [ebp - 0xc]
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.0043b2b0
add esp, 0xc
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x46b]
push ebx
push eax
mov byte [ebp - 0x46c], bl
call fcn.0043b2b0
add esp, 0xc
push esi
lea eax, [ebp - 0xc6b]
push ebx
push eax
mov byte [ebp - 0xc6c], bl
call fcn.0043b2b0
add esp, 0xc
push esi
lea eax, [ebp - 0x146b]
push ebx
push eax
mov byte [ebp - 0x146c], bl
call fcn.0043b2b0
add esp, 0xc
push esi
lea eax, [ebp - 0x86b]
push ebx
push eax
mov byte [ebp - 0x86c], bl
call fcn.0043b2b0
add esp, 0xc
push esi
lea eax, [ebp - 0x106b]
push ebx
push eax
mov byte [ebp - 0x106c], bl
call fcn.0043b2b0
add esp, 0xc
push esi
lea eax, [ebp - 0x186b]
push ebx
push eax
mov byte [ebp - 0x186c], bl
call fcn.0043b2b0
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc6c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x146c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x86c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x186c]
mov dword [ebp - 0x30], eax
lea eax, [esi + 1]
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4560e6
lea ecx, [ebp - 0x4c]
push ecx
push ebx
sub eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov esi, dword [ebp - 0x3c]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [0x48e894]
push 2
pop edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 6
cmp eax, ebx
jne 0x45613c
call fcn.004024b0
mov dword [0x48e894], eax
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push esi
call eax
mov esi, eax
push esi
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
cmp esi, ebx
jne 0x4561b1
mov esi, dword [ebp - 0x10]
jmp 0x4561ad
mov eax, dword [esi + 4]
sub eax, ebx
je 0x4561a5
sub eax, edi
je 0x456188
sub eax, 0x15
jne 0x4561aa
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x2e
push ebx
push dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
jmp 0x4561aa
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov edx, dword [ebp - 8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x456199
jmp 0x4561aa
mov eax, dword [ebp - 8]
mov byte [eax], bl
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x45615a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45627f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push edi
push 0x94
mov edi, eax
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0043b2b0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
lea edx, [edi + 0x10c]
jae 0x4562df
mov eax, str.ROOTSECURITYCENTER
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4562ce
jmp 0x4562f5
mov eax, str.ROOTSECURITYCENTER2
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4562e6
push dword [ebp - 0x8c]
add edi, 8
push dword [ebp - 0x90]
push str._lu._lu
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
pop edi
leave
ret

Function at 0x456549
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x467a45
call fcn.00467378
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push esi
push 0x46d968
push 1
xor ebx, ebx
push ebx
push 0x46da38
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x45657c
xor al, al
jmp 0x456605
push edi
lea eax, [esi + 0x10c]
push eax
lea edi, [ebp - 0x10]
mov dword [esi + 4], ebx
call fcn.00401cda
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x45659c
mov edx, dword [eax]
jmp 0x45659e
xor edx, edx
mov eax, dword [esi]
mov edi, dword [eax]
lea ecx, [esi + 4]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [edi + 0xc]
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00401d41
pop edi
cmp dword [ebp - 0x14], ebx
jge 0x4565d0
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x456575
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esi + 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x456603
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x456575
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x456650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x114]
cmp eax, 0xffffffff
je 0x456689
xor esi, esi
push esi
lea ecx, [ebp - 4]
push ecx
push edi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456685
cmp dword [ebp - 4], esi
je 0x456685
xor eax, eax
inc eax
jmp 0x4566ae
xor eax, eax
jmp 0x4566ae
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x118]
jb 0x456698
xor al, al
jmp 0x4566ae
mov ecx, dword [esi]
push edi
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.0043a770
add esp, 0xc
add dword [esi + 4], edi
mov al, 1
pop esi
leave
ret 4
Function at 0x456e64
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push edi
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x46fc64
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x456f59
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x456f59
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push ebx
push 3
push ebx
push 2
push ebx
push str..C:
call edi
mov dword [ebp - 4], eax
push ebx
cmp eax, 0xffffffff
jne 0x456f5d
push 0x4000000
push ebx
push ebx
push ebx
push ebx
push str..VWIN32
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x456f59
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], eax
push 0x1c
xor eax, eax
inc eax
push ecx
push eax
push dword [ebp - 4]
mov byte [ebp - 0x58], bl
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x28], 0x860
mov dword [ebp - 0x24], 0x440d
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x456f50
test byte [ebp - 0x18], 1
jne 0x456f50
movzx edx, word [ebp - 0x44]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ebp - 0x51]
mov ecx, edx
mov edi, eax
not ecx
shl edi, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
xor edi, ecx
shl edx, 2
not eax
not ecx
xor edx, eax
xor edx, ecx
mov dword [esi + 4], edx
mov dword [esi], edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
leave
ret
lea ecx, [ebp - 0xc]
push ecx
push 0x18
lea ecx, [ebp - 0x30]
push ecx
push ebx
push ebx
push 0x70000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x456f50
cmp dword [ebp - 0xc], ebx
jbe 0x456f50
mov edx, dword [ebp - 0x20]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
jmp 0x456f30

Function at 0x4577a1
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 5
push dword [esi + 0xf4]
call ebx
push 1
push dword [esi + 0xf4]
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 0x100]
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
mov byte [esi + 0x13a], 0
pop ebx
ret
Function at 0x457c1b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
test eax, eax
je 0x457c9d
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
sub ebx, esi
mov dword [ebp - 8], eax
xor edi, edi
cmp dword [str.AcceptEULA], edi
je 0x457c7c
mov eax, 0x47ae3c
push dword [eax]
push dword [ebx + esi]
call fcn.0043776a
pop ecx
pop ecx
test eax, eax
je 0x457c6f
inc edi
mov eax, edi
imul eax, eax, 0xc
lea eax, [eax + 0x47ae3c]
cmp dword [eax], 0
jne 0x457c4c
jmp 0x457c7c
mov eax, edi
imul eax, eax, 0xc
mov eax, dword [eax + 0x47ae38]
mov dword [esi], eax
imul edi, edi, 0xc
cmp dword [edi + 0x47ae3c], 0
jne 0x457c92
or dword [esi], 0xffffffff
mov dword [ebp - 4], 0x80020006
add esi, 4
dec dword [ebp - 8]
jne 0x457c3d
pop edi
pop esi
pop ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x457cca
cmp dword [ebp - 4], 0x80020006
jne 0x457d14
push dword [ebp + 0x1c]
mov eax, dword [eax + 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80020006
jne 0x457d14
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0043b2b0
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [ebp - 0x10c]
push str.Failed_to_resolve__S_as_a_window.external_method_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
leave
ret 0x18

Function at 0x457e1a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [ebp + 8], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push edi
jne 0x457eb6
push 0
push dword [esi + 0xe8]
call ebx
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x2c]
mov eax, dword [esi + 0xb0]
mov dword [eax + 0x24], 1
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x18]
push 5
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x457eb6
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d1dd
pop ecx
test eax, eax
jne 0x457eb6
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x457eb6
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi + 0xe0], 0
jge 0x457e71
push 0
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 1
push dword [esi + 0xe8]
call ebx
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x10c]
pop edi
pop ebx
leave
ret 4
Function at 0x458dfc
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, eax
push str.destroy_monitor
lea esi, [edi + 0x12c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
add edi, 0x130
push edi
call eax
pop ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
ret
push 0
push dword [esi + 0xf4]
mov dword [esi], vtable.CWizardSheet.0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x13b], 0
je 0x458e1e
call fcn.004541ef
mov eax, dword [esi + 8]
test eax, eax
je 0x458e2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x11c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
push edi
test eax, eax
je 0x458e47
push eax
call ebx
and dword [esi + 0x11c], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x458e5b
push eax
call ebx
and dword [esi + 0x120], 0
mov eax, dword [esi + 0x124]
test eax, eax
je 0x458e6b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x128]
test eax, eax
je 0x458e7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x458e88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
cmp dword [esi + 0xd8], ebx
jle 0x458eb0
lea edi, [esi + 0xb0]
mov ecx, dword [edi]
test ecx, ecx
je 0x458ea4
mov eax, dword [ecx]
push 1
call dword [eax]
inc ebx
add edi, 4
cmp ebx, dword [esi + 0xd8]
jl 0x458e98
cmp byte [esi + 0x13c], 0
pop edi
pop ebx
je 0x458ec2
mov eax, esi
jmp 0x457679
ret