joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453c7e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
mov esi, str.systemcomponents2_
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.cache_
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [edi + 0x264]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x453cb9
sub eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00437b56
add esp, 0xc
test eax, eax
jne 0x453cdd
mov eax, dword [edi + 0x290]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453ce3
sub eax, esi
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.00437b56
add esp, 0xc
test eax, eax
jne 0x453d0f
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453d04
sub eax, edx
add ebx, eax
xor esi, esi
push 0x103
lea eax, [ebp - 0x12b]
push esi
push eax
mov dword [ebp - 8], esi
mov byte [ebp - 0x12c], 0
call fcn.0043b5d0
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x12c]
push 0x46f438
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push esi
push 0x80
push 2
push esi
push 1
mov ebx, 0x40000000
push ebx
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x453d9e
lea edi, [ebp - 0x12c]
call fcn.00456183
test eax, eax
je 0x453dc5
push 0
push 0x80
push 2
push 0
push 1
push ebx
mov eax, edi
push eax
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x453dc5
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 1
jmp 0x453dc8
mov edi, dword [ebp + 8]
inc dword [edi + 0x2b8]
mov eax, dword [edi + 0x2b8]
push 0
push dword [edi + 0x254]
push 1
push dword [edi + 0x2b4]
push eax
call dword [edi + 0x250]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x453df5
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
mov esi, eax
mov eax, dword [esi + 0x14]
test eax, eax
js 0x453eba
cmp eax, 0x22
jle 0x453e1a
cmp eax, 0x27
jne 0x453eba
mov eax, dword [esi]
push edi
test eax, eax
je 0x453e4d
mov edi, dword [eax + 8]
test edi, edi
jle 0x453e5c
push 0
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0043b820
mov ecx, eax
mov dword [ebp - 4], edx
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
push eax
push ecx
call fcn.0043f5e0
jmp 0x453e59
mov ecx, esi
call fcn.00426420
call fcn.00439eb0
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.0043b5d0
mov eax, dword [esi + 0x1c]
add esp, 0xc
pop edi
test eax, eax
jne 0x453e86
mov eax, 0x46daf4
mov esi, dword [esi + 0x14]
push eax
push dword [ebp - 4]
push esi
call fcn.00417c20
pop ecx
push eax
push esi
lea eax, [ebp - 0x404]
push str.__i:_s____3i_____s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x453ed1
push eax
push str.Unhandled_Muppet_status_code:__i_n
call fcn.0043858f
add eax, 0x40
push eax
call fcn.00438a7e
add esp, 0xc
pop esi
leave
ret
Function at 0x454e10
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], 0x45878a
mov byte [esi + 0x274], al
call fcn.0043756e
mov eax, dword [ebp + 0x10]
pop ecx
cmp eax, edi
jne 0x454e92
xor eax, eax
jmp 0x454e97
call fcn.004018a4
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.0043756e
mov eax, dword [ebp + 0x3c]
pop ecx
cmp eax, edi
jne 0x454edc
xor eax, eax
jmp 0x454ee1
call fcn.004018a4
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.00437405
push ebx
push edi
push eax
mov dword [ebp + 0x24], eax
call fcn.0043b5d0
mov eax, dword [ebp + 0x24]
add esp, 0x10
mov dword [esi + 0x294], eax
cmp dword [ebp + 0x14], edi
je 0x454f35
push edi
call fcn.0043756e
mov eax, dword [ebp + 0x14]
pop ecx
call fcn.004018a4
mov dword [esi + 0x23c], eax
push dword [ebp + 0x18]
lea eax, [esi + 0x244]
push 0x46eba0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
call fcn.0043756e
mov eax, dword [ebp + 0x1c]
add esp, 0x10
cmp eax, edi
jne 0x454f5e
xor eax, eax
jmp 0x454f63
call fcn.004018a4
mov dword [esi + 0x260], eax
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x45495d
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 0x4552ac
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.0045385f
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.004036c0
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.004538d2
pop ecx
pop esi
pop ebx
leave
ret

Function at 0x455a17
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.0043b5d0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
call fcn.00455910
push 8
call fcn.004369bd
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, 0x48ec58
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00439199
pop ecx
pop ecx
test eax, eax
je 0x455ab3
add esi, 0x108
inc edi
cmp esi, 0x48f180
jl 0x455a64
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 0x455acc
push ebx
call fcn.00436979
pop ecx
xor eax, eax
jmp 0x455b21
imul edi, edi, 0x108
mov ecx, dword [edi + 0x48ed5c]
mov dword [ebx], ecx
mov eax, dword [edi + 0x48ed5c]
inc dword [eax + 8]
jmp 0x455b1f
push 0xc
call fcn.004369bd
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.004369bd
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.004558c8
pop ecx
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x455e87
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.0043b5d0
push edi
lea eax, [esp + 0x161]
push esi
push eax
mov byte [esp + 0x168], 0
call fcn.0043b5d0
push edi
lea eax, [esp + 0x275]
push esi
push eax
mov byte [esp + 0x27c], 0
call fcn.0043b5d0
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.0043b5d0
add esp, 0xc
push 0x46dd64
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 0x455fa0
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.0043b5d0
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 0x456019
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x46db10
cmp byte [esp + 0x3c], 0x2e
je 0x455ff3
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 0x455fab
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 0x456183
Capabilities:
Create directory
Get file attributes

Disassembly:
cmp byte [edi], 0
je 0x4561a6
push esi
mov esi, edi
cmp byte [esi], 0x5c
jne 0x45619f
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 0x45618b
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x45626b
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 0x4562aa
mov eax, 0x48f198
jmp 0x456338
push edi
push esi
call fcn.004369bd
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 0x46ebd4
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, 0x48f198
mov ecx, esi
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x456324
push edi
call fcn.00436979
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x45633b
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.0043809c
mov edi, 0x103
xor ebx, ebx
push edi
lea eax, [esp + 0x251]
push ebx
push eax
mov byte [esp + 0x258], bl
call fcn.0043b5d0
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.0043b5d0
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.0043b5d0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x150]
push esi
push eax
call fcn.00438139
lea eax, [esp + 0x158]
push eax
call fcn.0043809c
lea eax, [esp + 0x15c]
push eax
push dword [ebp + 8]
call fcn.00437410
add esp, 0x24
test eax, eax
je 0x456446
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 0x456446
lea eax, [esp + 0x248]
push eax
call fcn.0043809c
push dword [ebp + 8]
lea eax, [esp + 0x250]
push eax
call fcn.00437410
add esp, 0xc
test eax, eax
jne 0x45645f
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4563b0
jmp 0x456470
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 0x4564d2
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 0x4564e5
xor edi, edi
cmp byte [ebp - 0x108], 0
je 0x456529
lea esi, [ebp + edi - 0x108]
cmp byte [esi], 0x5c
jne 0x45651e
cmp edi, 2
jle 0x45651e
lea eax, [ebp - 0x108]
push eax
mov byte [esi], 0
call fcn.00466f17
pop ecx
mov byte [esi], 0x5c
inc edi
cmp byte [ebp + edi - 0x108], 0
jne 0x4564fa
lea eax, [ebp - 0x108]
push eax
call fcn.00466f17
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 0x45663a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1870
call fcn.0043b7f0
push ebx
push esi
push edi
push 0x2e
pop eax
push eax
mov dword [ebp - 0xc], eax
call fcn.004369bd
pop ecx
push dword [ebp - 0xc]
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.0043b5d0
add esp, 0xc
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x46b]
push ebx
push eax
mov byte [ebp - 0x46c], bl
call fcn.0043b5d0
add esp, 0xc
push esi
lea eax, [ebp - 0xc6b]
push ebx
push eax
mov byte [ebp - 0xc6c], bl
call fcn.0043b5d0
add esp, 0xc
push esi
lea eax, [ebp - 0x146b]
push ebx
push eax
mov byte [ebp - 0x146c], bl
call fcn.0043b5d0
add esp, 0xc
push esi
lea eax, [ebp - 0x86b]
push ebx
push eax
mov byte [ebp - 0x86c], bl
call fcn.0043b5d0
add esp, 0xc
push esi
lea eax, [ebp - 0x106b]
push ebx
push eax
mov byte [ebp - 0x106c], bl
call fcn.0043b5d0
add esp, 0xc
push esi
lea eax, [ebp - 0x186b]
push ebx
push eax
mov byte [ebp - 0x186c], bl
call fcn.0043b5d0
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 0x456750
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 [0x48f194]
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 0x4567a6
call fcn.004024d2
mov dword [0x48f194], 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 0x45681b
mov esi, dword [ebp - 0x10]
jmp 0x456817
mov eax, dword [esi + 4]
sub eax, ebx
je 0x45680f
sub eax, edi
je 0x4567f2
sub eax, 0x15
jne 0x456814
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 0x456814
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 0x456803
jmp 0x456814
mov eax, dword [ebp - 8]
mov byte [eax], bl
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x4567c4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4568e9
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.0043b5d0
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 0x456949
mov eax, str.ROOTSECURITYCENTER
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x456938
jmp 0x45695f
mov eax, str.ROOTSECURITYCENTER2
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x456950
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 0x456bbc
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x467de5
call fcn.00467738
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push esi
push 0x46d964
push 1
xor ebx, ebx
push ebx
push 0x46da34
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x456bef
xor al, al
jmp 0x456c78
push edi
lea eax, [esi + 0x10c]
push eax
lea edi, [ebp - 0x10]
mov dword [esi + 4], ebx
call fcn.00401cfc
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x456c0f
mov edx, dword [eax]
jmp 0x456c11
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.00401d63
pop edi
cmp dword [ebp - 0x14], ebx
jge 0x456c43
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x456be8
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 0x456c76
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 0x456be8
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x456cc3
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 0x456cfc
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 0x456cf8
cmp dword [ebp - 4], esi
je 0x456cf8
xor eax, eax
inc eax
jmp 0x456d21
xor eax, eax
jmp 0x456d21
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x118]
jb 0x456d0b
xor al, al
jmp 0x456d21
mov ecx, dword [esi]
push edi
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.0043aa90
add esp, 0xc
add dword [esi + 4], edi
mov al, 1
pop esi
leave
ret 4
Function at 0x4574d7
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, 0x46fcc4
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4575cc
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 0x4575cc
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 0x4575d0
push 0x4000000
push ebx
push ebx
push ebx
push ebx
push str..VWIN32
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4575cc
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 0x4575c3
test byte [ebp - 0x18], 1
jne 0x4575c3
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 0x4575c3
cmp dword [ebp - 0xc], ebx
jbe 0x4575c3
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 0x4575a3

Function at 0x457e14
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