joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481c0b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x596965
call fcn.00593620
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0xc
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x481e01
mov eax, dword [0x619864]
push ebx
push esi
mov esi, 0x619864
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
mov eax, dword [0x619864]
mov ecx, esi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
cmp dword [ebx - 0xc], edi
jne 0x481dc7
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x14]
call fcn.004013b4
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x481c83
mov esi, edi
call fcn.00401462
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
jne 0x481dc7
lea esi, [ebp - 0x10]
call fcn.00401462
lea edi, [ebp - 0x18]
call fcn.004820bf
mov edi, esi
mov byte [ebp - 4], 5
call fcn.004013b4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x481d25
push eax
lea esi, [ebp - 0x18]
call fcn.00481e10
pop ecx
mov byte [ebp - 4], 6
call fcn.004013b4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.004148a1
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004013b4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x481d25
mov esi, edi
call fcn.00401462
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
jne 0x481dc7
lea esi, [ebp - 0x10]
call fcn.00401462
lea edi, [ebp - 0x18]
call fcn.0048216f
mov edi, esi
mov byte [ebp - 4], 8
call fcn.004013b4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x481dc3
push eax
lea esi, [ebp - 0x18]
call fcn.00481e10
pop ecx
mov byte [ebp - 4], 9
call fcn.004013b4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.004148a1
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.004013b4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x481dc3
mov esi, edi
call fcn.00401462
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
je 0x481de3
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481de3
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x481dec
mov eax, dword [ebp + 8]
push dword [eax]
call esi
mov edi, eax
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
leave
ret
Function at 0x481e9d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
xor eax, eax
cmp dword [ecx - 0xc], eax
je 0x481f00
push ebx
push edi
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0049a380
add esp, 0xc
mov ebx, str._ALLUSERSPROFILE_
push ebx
xor ecx, ecx
call fcn.0040132b
or edi, 0xffffffff
cmp eax, edi
je 0x481f03
lea eax, [ebp - 0x210]
push eax
push ebx
call fcn.004823ea
pop ecx
test eax, eax
pop ecx
jne 0x482013
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
mov ebx, str._APPDATA_
push ebx
xor ecx, ecx
call fcn.0040132b
cmp eax, edi
jne 0x481ee5
mov ebx, str._TEMP_
push ebx
xor ecx, ecx
call fcn.0040132b
cmp eax, edi
jne 0x481ee5
mov ebx, str._SYSTEM_
push ebx
xor ecx, ecx
call fcn.0040132b
cmp eax, edi
je 0x481f51
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x481efc
jmp 0x482013
mov ebx, str._WINDOWS_
push ebx
xor ecx, ecx
call fcn.0040132b
cmp eax, edi
je 0x481f76
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x481f48
mov ebx, str._CUR_MODULE_
push ebx
xor ecx, ecx
call fcn.0040132b
cmp eax, edi
je 0x481f98
lea eax, [ebp - 0x210]
push eax
call fcn.00482343
jmp 0x481ef3
mov ebx, str._CUR_EXE_MODULE_
push ebx
xor ecx, ecx
call fcn.0040132b
cmp eax, edi
je 0x481fc7
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x481efc
jmp 0x482006
mov ebx, str._CUR_DIR_
push ebx
xor ecx, ecx
call fcn.0040132b
cmp eax, edi
je 0x481efc
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0049a380
add esp, 0xc
push 0x105
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
push ebx
push esi
call fcn.0047d7fb
push 0x3f
xor ecx, ecx
call fcn.004320b1
mov ebx, eax
cmp ebx, edi
je 0x4820a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0049e8c4
pop ecx
jmp 0x482096
and word [ebp + 8], 0
xor eax, eax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0049e8d1
and eax, 0x8000000f
jns 0x48205c
dec eax
or eax, 0xfffffff0
inc eax
push eax
lea eax, [ebp + 8]
push 0x5eebf4
push eax
call fcn.0048399e
movzx edi, word [ebp + 8]
add esp, 0xc
test ebx, ebx
jl 0x4820b4
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp ebx, eax
mov dword [ebp - 4], eax
jge 0x4820b4
call fcn.0044f5a8
mov word [eax + ebx*2], di
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.004011d8
inc ebx
mov ecx, ebx
mov eax, esi
call fcn.00483a19
cmp ax, 0x3f
je 0x48203f
mov eax, esi
call fcn.00480fcd
xor eax, eax
inc eax
jmp 0x481efe
push 0x80070057
call fcn.00401313
int3
Function at 0x4820bf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
xor esi, esi
test byte [0x61d98c], 1
mov dword [ebp - 4], esi
jne 0x4820fe
mov eax, dword [0x619864]
or dword [0x61d98c], 1
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
push 0x59a67a
mov dword [0x61d988], eax
call fcn.00499e96
pop ecx
mov eax, dword [0x61d988]
cmp dword [eax - 0xc], esi
jne 0x482158
push ebx
push 0x20a
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.0049a380
add esp, 0xc
push 1
push 0x25
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
call fcn.0049a28b
pop ecx
lea ecx, [ebp - 0x210]
mov ebx, eax
push ecx
mov eax, 0x61d988
call fcn.004013f5
pop ebx
mov eax, dword [0x61d988]
add eax, 0xfffffff0
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov eax, edi
pop esi
leave
ret

Function at 0x48216f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
xor esi, esi
test byte [0x61d984], 1
mov dword [ebp - 4], esi
jne 0x4821ae
mov eax, dword [0x619864]
or dword [0x61d984], 1
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
push 0x59a687
mov dword [0x61d980], eax
call fcn.00499e96
pop ecx
mov eax, dword [0x61d980]
cmp dword [eax - 0xc], esi
jne 0x482208
push ebx
push 0x20a
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.0049a380
add esp, 0xc
push 1
push 0x24
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
call fcn.0049a28b
pop ecx
lea ecx, [ebp - 0x210]
mov ebx, eax
push ecx
mov eax, 0x61d980
call fcn.004013f5
pop ebx
mov eax, dword [0x61d980]
add eax, 0xfffffff0
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov eax, edi
pop esi
leave
ret

Function at 0x48221f
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x5948dd
call fcn.00593620
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x619864
mov dword [ebp - 0x10], edi
call fcn.0042fe84
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x218], di
call fcn.0049a380
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4822a1
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00432279
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4823ea
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x5fa9c8
call fcn.00593488
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x482498
cmp dword [ebp + 0xc], eax
je 0x482498
push eax
push eax
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call edi
mov esi, eax
cmp esi, 1
jb 0x482498
mov ebx, 0x103
cmp esi, ebx
ja 0x482498
and dword [ebp - 4], 0
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00498b00
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x482494
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.0049a380
add esp, 0xc
push esi
push dword [ebp - 0x24]
push dword [ebp + 8]
call edi
test eax, eax
je 0x482494
cmp eax, ebx
ja 0x482494
push eax
push dword [ebp - 0x24]
push ebx
push dword [ebp + 0xc]
call fcn.0049ec36
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x482494
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x4824a7
push dword [ebp - 0x1c]
call fcn.0049a3fa
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.005934c3
ret

Function at 0x482593
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5948dd
call fcn.00593620
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x206
mov dword [ebp - 4], edi
lea eax, [ebp - 0x216]
push edi
mov dword [ebp - 0x10], edi
push eax
mov word [ebp - 0x218], di
call fcn.0049a380
add esp, 0xc
mov ecx, 0x619864
call fcn.0042fe84
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 4], edi
push 0x104
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
je 0x48261b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00432279
push str.kinst.log
push esi
call fcn.00431fdb
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x48262b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push edi
push str.explorer.exe
lea eax, [ebp - 4]
push eax
xor esi, esi
xor edi, edi
call fcn.0043229f
push 0x228
lea eax, [ebp - 0x22c]
push esi
push eax
mov dword [ebp - 0x230], esi
call fcn.0049a380
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4826c8
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4826ad
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call fcn.0049cb04
test eax, eax
pop ecx
pop ecx
je 0x4826b3
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48268b
jmp 0x4826c1
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ecx], eax
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4829e4
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x594fee
call fcn.00593620
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.00431fdb
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
test edi, edi
je 0x482a26
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x482a2d
call esi
cmp eax, 5
je 0x482a30
xor edi, edi
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x482e4b
Capabilities:
Move file

Disassembly:
mov eax, 0x59691b
call fcn.00593620
sub esp, 0x38
push esi
push edi
and dword [ebp - 4], 0
lea esi, [ebp + 8]
call fcn.0044f5a8
push eax
lea eax, [ebp - 0x44]
call fcn.0041da2c
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.0044fe2f
lea eax, [ebp - 0x28]
call fcn.00450d90
movzx edi, al
test edi, edi
jne 0x482ebb
cmp dword [ebp - 0x14], 0x104
jb 0x482e9c
xor al, al
jmp 0x482eb8
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x482ea8
lea eax, [ebp - 0x24]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
movzx edi, al
push 0
push 1
lea esi, [ebp - 0x28]
call fcn.00419c4b
push 0
push 1
lea esi, [ebp - 0x44]
call fcn.00419c4b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x482eee
Capabilities:
Check if file exists

Disassembly:
push ecx
push edi
push 3
xor edi, edi
push edi
push edi
push esi
push dword [esp + 0x1c]
call fcn.00483df3
add esp, 0x14
test eax, eax
jne 0x482f14
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482f14
inc edi
mov eax, edi
pop edi
pop ecx
ret
Function at 0x48335d
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x594b53
call fcn.00593620
push ecx
push ecx
push esi
push edi
xor edi, edi
and dword [ebp - 0x10], edi
and dword [ebp - 4], edi
mov eax, dword [0x619864]
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0044eb0a
test eax, eax
je 0x4833b1
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.0044eb7e
test eax, eax
je 0x4833b1
inc edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
cmp dword [ebp - 0x10], 0
je 0x4833cb
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4833db
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x5969fb
call fcn.00593620
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov esi, ecx
mov eax, dword [esi]
xor ecx, ecx
push ecx
push ecx
push eax
mov ebx, str.open
push ebx
push ecx
call edi
cmp eax, 0x20
jle 0x48340e
xor esi, esi
inc esi
jmp 0x48344b
mov eax, dword [esi]
push 1
push 0
push eax
push str.IEXPLORE.EXE
push ebx
push 0
call edi
cmp eax, 0x20
jg 0x483409
lea eax, [ebp - 0x10]
push eax
call fcn.0048221f
pop ecx
and dword [ebp - 4], 0
push dword [esi]
push dword [ebp - 0x10]
call fcn.004818fe
mov esi, eax
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4835a5
Capabilities:
Get file size

Disassembly:
mov eax, 0x596901
call fcn.00593620
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0047f8ae
pop ecx
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jle 0x483621
lea esi, [ebp - 0x10]
call fcn.0044f5a8
push eax
call fcn.0049505f
mov edi, eax
cmp edi, ebx
pop ecx
je 0x483621
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 8
jb 0x4835ff
mov eax, dword [eax + 4]
jmp 0x483602
add eax, 4
push eax
push dword [ebp + 8]
call fcn.00432279
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00419c4b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48367f
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
jbe 0x483678
test eax, eax
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
jge 0x48365d
fadd dword [0x5f0ce0]
fmul qword [0x5f0e70]
mov eax, dword [ebp + 0xc]
push ecx
push ecx
fstp qword [esp]
push str._0.2f_MB
call fcn.0043221a
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x483df3
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x5989f7
call fcn.00593620
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
sub esp, 0x9c
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x483f67
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
je 0x483f67
push eax
lea esi, [ebp - 0xa4]
call fcn.0043355c
mov dword [ebp - 4], ebx
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.0042fe41
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa4], eax
je 0x483e5e
push dword [ebp - 0xa4]
call fcn.0049af3d
pop ecx
mov ecx, 0x619864
lea esi, [ebp - 0x14]
mov dword [ebp - 0x20], 0x5eee3c
call fcn.0042fe84
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
push dword [edi]
mov eax, esi
push eax
call fcn.00432279
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x483e93
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
lea ebx, [ebp - 0x20]
call fcn.00483d28
push dword [edi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x483eb6
push dword [edi]
call ebx
cmp dword [ebp + 0x18], 0
lea edi, [ebp - 0x20]
jne 0x483ec6
push 0x12c
jmp 0x483ec9
push dword [ebp + 0x18]
push dword [ebp + 8]
call fcn.00483a34
mov edi, eax
test edi, edi
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
je 0x483f1b
push dword [eax]
call ebx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x483ee9
mov dword [eax], edi
cmp dword [ebp - 0x10], 0
je 0x483efc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x10], 0
mov esi, 0xfa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x483f6a
push dword [eax]
call esi
test eax, eax
jne 0x483f3a
cmp dword [ebp - 0x10], eax
je 0x483f35
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x10], 0
push 0x35
pop esi
jmp 0x483f01
cmp dword [ebp - 0x10], 0
je 0x483f4d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
xor eax, eax
jmp 0x483f6a
push 0x33
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x484c16
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
jne 0x484c25
mov eax, 0x13a
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x484c36
mov eax, 0x13b
ret
push dword [esi + 0x20]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00481a28
add esp, 0xc
test eax, eax
je 0x484c50
xor eax, eax
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0048178e
test eax, eax
pop ecx
pop ecx
jne 0x484c4d
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00480eed
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffec7
add eax, 0x139
ret

Function at 0x484d6c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5969fb
call fcn.00593620
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
call fcn.0044f24b
pop ecx
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x484dcb
mov eax, esi
push dword [eax]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041bc02
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.004011c0
test bl, bl
jne 0x484dd2
inc edi
lea eax, [esi + edi*4]
cmp dword [eax], 0
jne 0x484d93
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x484ef5
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 8], 0
push esi
push edi
call fcn.00484fc1
test al, al
jne 0x484f12
or eax, 0xffffffff
jmp 0x484fbd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00485083
test al, al
pop ecx
pop ecx
je 0x484f0a
and dword [ebp - 4], 0
mov esi, str.Data_Buf_er
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sub.iphlpapi.dll_IcmpCreateFile
mov edi, eax
cmp edi, 0xffffffff
jne 0x484f47
xor eax, eax
jmp 0x484fbd
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x484f60
push edi
call sub.iphlpapi.dll_IcmpCloseHandle
jmp 0x484f43
push 0x28
call fcn.0049c932
mov esi, eax
test esi, esi
pop ecx
je 0x484f58
mov dword [ebp - 8], 2
push 0x3e8
push 0x28
push esi
push 0
push 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
push edi
call sub.iphlpapi.dll_IcmpSendEcho
test eax, eax
je 0x484f9b
cmp dword [esi + 4], 0
jne 0x484f9b
inc dword [ebp - 4]
dec dword [ebp - 8]
jne 0x484f75
push esi
call fcn.0049af3d
pop ecx
push edi
call sub.iphlpapi.dll_IcmpCloseHandle
call fcn.0048503f
test al, al
je 0x484f0a
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret