joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45488c
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 0x4548c7
sub eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00437236
add esp, 0xc
test eax, eax
jne 0x4548eb
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 0x4548f1
sub eax, esi
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.00437236
add esp, 0xc
test eax, eax
jne 0x45491d
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454912
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.0043afd0
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x12c]
push 0x4704e8
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 0x4549ac
lea edi, [ebp - 0x12c]
call fcn.00456d91
test eax, eax
je 0x4549d3
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 0x4549d3
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 0x4549d6
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 0x454a03
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 0x454ac8
cmp eax, 0x22
jle 0x454a28
cmp eax, 0x27
jne 0x454ac8
mov eax, dword [esi]
push edi
test eax, eax
je 0x454a5b
mov edi, dword [eax + 8]
test edi, edi
jle 0x454a6a
push 0
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0043b220
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.0043f010
jmp 0x454a67
mov ecx, esi
call fcn.00425b10
call fcn.00439590
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.0043afd0
mov eax, dword [esi + 0x1c]
add esp, 0xc
pop edi
test eax, eax
jne 0x454a94
mov eax, 0x46eaf4
mov esi, dword [esi + 0x14]
push eax
push dword [ebp - 4]
push esi
call fcn.00417310
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 0x454adf
push eax
push str.Unhandled_Muppet_status_code:__i_n
call fcn.00437c6f
add eax, 0x40
push eax
call fcn.0043815e
add esp, 0xc
pop esi
leave
ret
Function at 0x455a1e
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], 0x45945f
mov byte [esi + 0x274], al
call fcn.00436c4e
mov eax, dword [ebp + 0x10]
pop ecx
cmp eax, edi
jne 0x455aa0
xor eax, eax
jmp 0x455aa5
call fcn.004019bf
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.00436c4e
mov eax, dword [ebp + 0x3c]
pop ecx
cmp eax, edi
jne 0x455aea
xor eax, eax
jmp 0x455aef
call fcn.004019bf
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.00436ae5
push ebx
push edi
push eax
mov dword [ebp + 0x24], eax
call fcn.0043afd0
mov eax, dword [ebp + 0x24]
add esp, 0x10
mov dword [esi + 0x294], eax
cmp dword [ebp + 0x14], edi
je 0x455b43
push edi
call fcn.00436c4e
mov eax, dword [ebp + 0x14]
pop ecx
call fcn.004019bf
mov dword [esi + 0x23c], eax
push dword [ebp + 0x18]
lea eax, [esi + 0x244]
push 0x46fb88
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
call fcn.00436c4e
mov eax, dword [ebp + 0x1c]
add esp, 0x10
cmp eax, edi
jne 0x455b6c
xor eax, eax
jmp 0x455b71
call fcn.004019bf
mov dword [esi + 0x260], eax
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x45556b
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 0x455eba
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.0045446d
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.0040368e
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.004544e0
pop ecx
pop esi
pop ebx
leave
ret

Function at 0x456625
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.0043afd0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
call fcn.0045651e
push 8
call fcn.0043609d
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, 0x491298
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00438879
pop ecx
pop ecx
test eax, eax
je 0x4566c1
add esi, 0x108
inc edi
cmp esi, 0x4917c0
jl 0x456672
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 0x4566da
push ebx
call fcn.00436059
pop ecx
xor eax, eax
jmp 0x45672f
imul edi, edi, 0x108
mov ecx, dword [edi + 0x49139c]
mov dword [ebx], ecx
mov eax, dword [edi + 0x49139c]
inc dword [eax + 8]
jmp 0x45672d
push 0xc
call fcn.0043609d
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.0043609d
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.004564d6
pop ecx
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456a95
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.0043afd0
push edi
lea eax, [esp + 0x161]
push esi
push eax
mov byte [esp + 0x168], 0
call fcn.0043afd0
push edi
lea eax, [esp + 0x275]
push esi
push eax
mov byte [esp + 0x27c], 0
call fcn.0043afd0
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.0043afd0
add esp, 0xc
push 0x46ed64
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 0x456bae
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.0043afd0
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 0x456c27
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x46eb10
cmp byte [esp + 0x3c], 0x2e
je 0x456c01
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 0x456bb9
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 0x456d91
Capabilities:
Create directory
Get file attributes

Disassembly:
cmp byte [edi], 0
je 0x456db4
push esi
mov esi, edi
cmp byte [esi], 0x5c
jne 0x456dad
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 0x456d99
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x456e79
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 0x456eb8
mov eax, 0x4917e0
jmp 0x456f46
push edi
push esi
call fcn.0043609d
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 0x46fbd4
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, 0x4917e0
mov ecx, esi
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x456f32
push edi
call fcn.00436059
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x456f49
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.0043777c
mov edi, 0x103
xor ebx, ebx
push edi
lea eax, [esp + 0x251]
push ebx
push eax
mov byte [esp + 0x258], bl
call fcn.0043afd0
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.0043afd0
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.0043afd0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x150]
push esi
push eax
call fcn.00437819
lea eax, [esp + 0x158]
push eax
call fcn.0043777c
lea eax, [esp + 0x15c]
push eax
push dword [ebp + 8]
call fcn.00436af0
add esp, 0x24
test eax, eax
je 0x457054
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 0x457054
lea eax, [esp + 0x248]
push eax
call fcn.0043777c
push dword [ebp + 8]
lea eax, [esp + 0x250]
push eax
call fcn.00436af0
add esp, 0xc
test eax, eax
jne 0x45706d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x456fbe
jmp 0x45707e
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 0x4570e0
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 0x4570f3
xor edi, edi
cmp byte [ebp - 0x108], 0
je 0x457137
lea esi, [ebp + edi - 0x108]
cmp byte [esi], 0x5c
jne 0x45712c
cmp edi, 2
jle 0x45712c
lea eax, [ebp - 0x108]
push eax
mov byte [esi], 0
call fcn.00468440
pop ecx
mov byte [esi], 0x5c
inc edi
cmp byte [ebp + edi - 0x108], 0
jne 0x457108
lea eax, [ebp - 0x108]
push eax
call fcn.00468440
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 0x457254
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1870
call fcn.0043b1f0
push ebx
push esi
push edi
push 0x2e
pop eax
push eax
mov dword [ebp - 0xc], eax
call fcn.0043609d
pop ecx
push dword [ebp - 0xc]
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.0043afd0
add esp, 0xc
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x46b]
push ebx
push eax
mov byte [ebp - 0x46c], bl
call fcn.0043afd0
add esp, 0xc
push esi
lea eax, [ebp - 0xc6b]
push ebx
push eax
mov byte [ebp - 0xc6c], bl
call fcn.0043afd0
add esp, 0xc
push esi
lea eax, [ebp - 0x146b]
push ebx
push eax
mov byte [ebp - 0x146c], bl
call fcn.0043afd0
add esp, 0xc
push esi
lea eax, [ebp - 0x86b]
push ebx
push eax
mov byte [ebp - 0x86c], bl
call fcn.0043afd0
add esp, 0xc
push esi
lea eax, [ebp - 0x106b]
push ebx
push eax
mov byte [ebp - 0x106c], bl
call fcn.0043afd0
add esp, 0xc
push esi
lea eax, [ebp - 0x186b]
push ebx
push eax
mov byte [ebp - 0x186c], bl
call fcn.0043afd0
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 0x45736a
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 [0x4917d8]
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 0x4573c0
call fcn.004024a3
mov dword [0x4917d8], 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 0x457435
mov esi, dword [ebp - 0x10]
jmp 0x457431
mov eax, dword [esi + 4]
sub eax, ebx
je 0x457429
sub eax, edi
je 0x45740c
sub eax, 0x15
jne 0x45742e
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 0x45742e
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 0x45741d
jmp 0x45742e
mov eax, dword [ebp - 8]
mov byte [eax], bl
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x4573de
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x457503
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.0043afd0
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 0x457563
mov eax, str.ROOTSECURITYCENTER
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x457552
jmp 0x457579
mov eax, str.ROOTSECURITYCENTER2
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45756a
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 0x4577d6
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x469005
call fcn.0046897c
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push esi
push 0x46e964
push 1
xor ebx, ebx
push ebx
push 0x46ea34
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x457809
xor al, al
jmp 0x457892
push edi
lea eax, [esi + 0x10c]
push eax
lea edi, [ebp - 0x10]
mov dword [esi + 4], ebx
call fcn.00401ccd
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x457829
mov edx, dword [eax]
jmp 0x45782b
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.00401d34
pop edi
cmp dword [ebp - 0x14], ebx
jge 0x45785d
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x457802
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 0x457890
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 0x457802
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4578dd
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 0x457916
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 0x457912
cmp dword [ebp - 4], esi
je 0x457912
xor eax, eax
inc eax
jmp 0x45793b
xor eax, eax
jmp 0x45793b
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x118]
jb 0x457925
xor al, al
jmp 0x45793b
mov ecx, dword [esi]
push edi
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.0043a490
add esp, 0xc
add dword [esi + 4], edi
mov al, 1
pop esi
leave
ret 4
Function at 0x458393
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, 0x470e6c
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x458488
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 0x458488
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 0x45848c
push 0x4000000
push ebx
push ebx
push ebx
push ebx
push str..VWIN32
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x458488
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 0x45847f
test byte [ebp - 0x18], 1
jne 0x45847f
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 0x45847f
cmp dword [ebp - 0xc], ebx
jbe 0x45847f
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 0x45845f

Function at 0x458a35
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 + 0x142], 0
pop ebx
ret