joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4163e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xa0
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xa8]
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x416431
xor al, al
pop edi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00434fc4
add esp, 0xa0
ret
cmp dword [esp + 0x30], 0
jne 0x416419
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push esi
call fcn.00416350
mov ebp, eax
lea eax, [esi + ebp - 1]
xor edx, edx
div ebp
push 0x43a268
push edi
mov esi, eax
mov dword [esp + 0x24], esi
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x416471
xor al, al
jmp 0x416549
push ebp
call fcn.004330c4
mov edi, eax
xor ecx, ecx
mov eax, esi
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004330c4
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.0042ead0
push ebx
push ebp
push 1
push edi
call dword [sym.imp.MSVCR90.dll_fread]
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x4164fd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea ecx, [ecx]
lea ecx, [esp + 0x44]
call fcn.0042eae0
push esi
push edi
lea ecx, [esp + 0x4c]
call fcn.0042ec30
mov esi, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x48]
call fcn.0042ec10
push ebx
push ebp
push 1
add esi, 0x14
push edi
mov dword [esp + 0x20], esi
call dword [sym.imp.MSVCR90.dll_fread]
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x4164c0
push ebx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
lea ecx, [esp + 0x44]
call fcn.0042eae0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.0042ec30
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
call fcn.0042ec10
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 8
mov al, 1
mov ecx, dword [esp + 0xac]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.00434fc4
add esp, 0xa0
ret

Function at 0x416670
Capabilities:
Get file size

Disassembly:
test eax, eax
jne 0x416678
or eax, 0xffffffff
ret
push esi
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416697
or eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x416730
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00416700
test eax, eax
jne 0x41673e
pop esi
ret
mov eax, dword [esi + 0x20]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esi + 0x1c], 3
mov eax, 1
pop esi
ret
Function at 0x4167c0
Capabilities:
Get common file path

Disassembly:
push ecx
test esi, esi
je 0x416804
cmp dword [esp + 8], 0x104
jl 0x416804
lea eax, [esp]
push eax
push ecx
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x416804
mov edx, dword [esp]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x4169a0
Capabilities:
Read file via mapping

Disassembly:
xor eax, eax
push ebx
mov ebx, dword [esp + 0x10]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
test eax, eax
je 0x416a56
push esi
push edi
push 1
push 3
push edi
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x416a55
cmp esi, 0xffffffff
je 0x416a4e
push ebp
push edi
push edi
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
push edi
push edi
mov ebp, eax
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 2
push 0
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push edi
push ecx
mov dword [esp + 0x2c], 1
call fcn.00416910
test edi, edi
je 0x416a3e
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test ebp, ebp
je 0x416a49
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
ret 0xc
Function at 0x416ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436acc
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x234], eax
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x258]
mov edi, dword [esp + 0x254]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push ecx
push esi
call fcn.004169a0
push 0x208
lea ecx, [esp + 0x3c]
push 0
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.00416a60
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push edi
mov dword [esp + 0x250], 0
call dword [sym.imp.MSVCR90.dll__wcsupr]
push eax
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0xc]
test al, al
je 0x416dc0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
jmp 0x416dc8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.00434fc4
add esp, 0x244
ret 8
Function at 0x417680
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x266c
call fcn.004350b0
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x2668], eax
push esi
push edi
call fcn.00416630
mov esi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x26a]
push ecx
mov word [esp + 0x26c], ax
call sub.MSVCR90.dll_memset
xor edx, edx
push 0x1ffe
push edx
lea eax, [esp + 0x686]
push eax
mov word [esp + 0x688], dx
call sub.MSVCR90.dll_memset
add esp, 0x18
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x674]
push edx
mov dword [esp + 0x14], 0x1000
mov edi, 1
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 8], edi
jne 0x41773b
cmp word [esp + 0x670], 0
je 0x41773b
cmp dword [esp + 0xc], 0
jbe 0x41773b
lea ecx, [esp + 0x670]
push ecx
lea ecx, [esi + 0x24]
call fcn.00409560
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x24]
push edx
push eax
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x417856
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esi + 0x44]
cmp edi, dword [esi + 0x48]
jbe 0x417782
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push ebp
mov ebp, dword [esi + 0x38]
push ebx
mov ebx, dword [esi + 0x48]
cmp dword [esi + 0x44], ebx
jbe 0x417795
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x38]
test ebp, ebp
je 0x4177a0
cmp ebp, eax
je 0x4177a6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x41784f
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
jne 0x417825
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4177c3
call ebx
mov ecx, dword [edi]
cmp dword [ecx - 8], 0
je 0x41780e
test ebp, ebp
jne 0x41782a
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4177da
call ebx
mov edx, dword [edi]
mov eax, dword [esi + 0x24]
push edx
push eax
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x417834
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebp, ebp
jne 0x41782f
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41781d
call ebx
add edi, 4
jmp 0x417787
mov eax, dword [ebp]
jmp 0x4177bc
mov eax, dword [ebp]
jmp 0x4177d3
mov eax, dword [ebp]
jmp 0x417816
xor eax, eax
pop ebx
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x2668]
xor ecx, esp
call fcn.00434fc4
add esp, 0x266c
ret
mov eax, 1
jmp 0x417836
mov ecx, dword [esp + 0x2670]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00434fc4
add esp, 0x266c
ret
Function at 0x417b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436bb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x30], 0
jne 0x417bd0
call fcn.00416700
test eax, eax
je 0x417bcc
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00417530
mov ecx, dword [eax]
push 0
push ecx
push 0x25
mov ecx, 0x453828
mov dword [esp + 0x20], 0
call fcn.004090f0
mov eax, dword [esp + 8]
lea edx, [eax - 0xc]
cmp edx, dword [0x4444f0]
je 0x417bc5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417bc5
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, esi
call fcn.00416730
cmp dword [esi + 0x30], 0
jge 0x417bd9
mov dword [esi + 0x30], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x417fa0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
push 0
push 2
mov edi, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x417ffa
push 0x228
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x418016
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00434fc4
add esp, 0x230
ret
push ebx
push ebp
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
cmp ebp, dword [esp + 0x18]
je 0x418048
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.00417eb0
test eax, eax
je 0x418048
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00416860
test eax, eax
jne 0x418059
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418022
jmp 0x41805e
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
xor eax, eax
pop ebp
test ebx, ebx
pop ebx
pop edi
sete al
pop esi
xor ecx, esp
call fcn.00434fc4
add esp, 0x230
ret
Function at 0x418360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x436ceb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
or eax, 0xffffffff
mov dword [esi], vtable.CDownloadTask.0
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov ecx, dword [0x4444f4]
mov dword [esi + 0xc], ecx
mov edx, dword [0x4444f4]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0xb4
mov ecx, dword [0x4444f4]
lea ebx, [esi + 0x34]
mov dword [ebx], ecx
mov dword [esi + 0x38], edi
mov edx, dword [0x4444f4]
mov dword [esi + 0x50], edx
mov eax, dword [0x4444f4]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 5
call fcn.004117b0
mov ecx, dword [0x4444f4]
mov dword [esi + 0x84], ecx
push 0x43becc
mov ecx, ebx
mov byte [esp + 0x20], 7
call fcn.00409560
mov dword [esi + 0x58], 1
mov dword [esi + 0x68], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x419f30
Capabilities:
Check if file exists
Create process on windows
Delete file
Terminate process

Disassembly:
sub esp, 0x3c
push esi
push edi
push 0x3c
lea eax, [esp + 0xc]
push 0
push eax
mov edi, ecx
call sub.MSVCR90.dll_memset
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add esp, 0xc
push esi
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x18], str.open
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 5
mov dword [esp + 0x20], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419fdc
mov edx, dword [esp + 0x18]
push 0
push edx
mov ecx, 0x450820
call fcn.0042f770
test eax, eax
jne 0x419fdc
mov ecx, edi
call fcn.00419e60
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x453828
call fcn.00408240
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret 8
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb eax, eax
and eax, dword [esp + 0x40]
pop edi
pop esi
add esp, 0x3c
ret 8

Function at 0x41a000
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x266c
call fcn.004350b0
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x2668], eax
push esi
push edi
mov edi, ecx
call fcn.00416630
push 0x2000
mov esi, eax
lea eax, [esp + 0x674]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x1000
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x674]
push edx
mov edx, dword [esi + 0x2c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 8], 1
jne 0x41a097
cmp word [esp + 0x670], 0
je 0x41a097
cmp dword [esp + 0xc], 0
jbe 0x41a097
lea ecx, [esp + 0x670]
push ecx
lea ecx, [esi + 0x24]
call fcn.00409560
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x24]
push edx
push eax
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41a0df
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esi + 0x68]
push ecx
lea edx, [esp + 0x264]
push edx
mov ecx, edi
call fcn.00419f30
mov ecx, dword [esp + 0x2670]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00434fc4
add esp, 0x266c
ret
Function at 0x41aeb0
Capabilities:
Check if file exists
Enumerate process modules

Disassembly:
mov eax, 0x121c
call fcn.004350b0
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x1218], eax
mov eax, dword [esp + 0x1220]
push ebp
push esi
push eax
xor ebp, ebp
push ebp
push 0x410
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, ebp
je 0x41b028
push 0x206
lea edx, [esp + 0x101e]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x1024], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41b017
cmp dword [esp + 0x10], ebp
jbe 0x41b017
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll__wcsicmp]
push edi
jmp 0x41af50
mov eax, dword [esp + ebp*4 + 0x20]
push 0x104
lea edx, [esp + 0x1024]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41afdb
lea ecx, [esp + 0x1020]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41afdb
lea edx, [esp + 0x1020]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0x20]
call fcn.00409f80
mov edi, dword [esp + 0x1c]
xor esi, esi
lea esp, [esp]
mov eax, dword [esi + 0x43a69c]
push eax
push edi
call ebx
add esp, 8
test eax, eax
je 0x41afeb
add esi, 4
cmp esi, 0x14
jb 0x41afa0
lea eax, [edi - 0xc]
cmp eax, dword [0x4444f0]
je 0x41afdb
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41afdb
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
inc ebp
cmp ebp, dword [esp + 0x18]
jae 0x41b015
mov esi, dword [esp + 0x14]
jmp 0x41af50
lea ecx, [edi - 0xc]
mov dword [esp + 0x10], 1
cmp ecx, dword [0x4444f0]
je 0x41b015
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b015
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
jmp 0x41b02d
mov eax, 1
mov ecx, dword [esp + 0x1220]
pop esi
pop ebp
xor ecx, esp
call fcn.00434fc4
add esp, 0x121c
ret 4
Function at 0x41b270
Capabilities:
Check for time delay via gettickcount
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4370db
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x238], eax
push ebp
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
test byte [0x45393c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
jne 0x41b2c9
or dword [0x45393c], 1
call edi
mov dword [0x453938], eax
call edi
sub eax, dword [0x453938]
cmp eax, 0x2710
jae 0x41b2df
xor eax, eax
jmp 0x41b3cf
call edi
mov dword [0x453938], eax
mov eax, dword [esi + 4]
cmp dword [eax - 8], 0
je 0x41b2d8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41b2d8
push 0x22c
lea ecx, [esp + 0x20]
push 0
push ecx
mov byte [esp + 0x1f], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41b3c3
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esp, [esp]
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00409f80
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
push ecx
mov dword [esp + 0x25c], 0
mov dword [esp + 0x20], esp
mov ecx, esp
jl 0x41b376
mov dword [ecx], eax
add eax, 0xfffffff4
push eax
call ebp
jmp 0x41b387
mov edx, dword [0x4444f4]
mov dword [ecx], edx
mov eax, dword [esi + 4]
push eax
call fcn.00409560
mov ecx, esi
mov dword [esp + 0x25c], 0xffffffff
call fcn.0041b050
test eax, eax
je 0x41b3ad
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041aeb0
test eax, eax
jne 0x41b3be
lea edx, [esp + 0x1c]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41b340
jmp 0x41b3c3
mov byte [esp + 0x13], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00434fc4
add esp, 0x248
ret
add ecx, 0x1bc
jmp 0x41b270
Function at 0x41b4a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x13c]
sub esp, 0x13c
push 0xffffffffffffffff
push 0x437110
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x453358]
xor eax, ebp
mov dword [ebp + 0x138], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x144]
mov ebx, dword [ebp + 0x148]
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], ebx
mov dword [esi + 0xa0], 0
test edi, edi
je 0x41b67d
test ebx, ebx
je 0x41b67d
mov eax, dword [esi + 8]
call eax
push 0x138
lea ecx, [ebp]
push 0
push ecx
mov dword [esi + 0x70], eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push edi
mov dword [ebp + 8], 1
mov dword [ebp + 0x130], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41b54c
xor edi, edi
mov dword [ebp + 4], edi
jmp 0x41b56d
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00435250
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.0041b400
mov ebx, dword [ebp - 0x18]
mov dword [ebp + 4], eax
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41b581
mov dword [ebp], edi
jmp 0x41b59f
lea edi, [eax + eax]
mov eax, edi
call fcn.00435250
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0041b400
mov dword [ebp], eax
xor edi, edi
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x14]
push edi
lea edx, [ebp]
push edx
push eax
mov dword [ebp + 0x2c], edi
mov dword [ebp + 0x18], edi
call ecx
add esp, 0xc
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp + 0x14c]
mov dword [ebp - 0x1c], eax
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x74], 1
je 0x41b627
cmp ebx, 0xffffffff
je 0x41b5f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
cmp eax, ebx
ja 0x41b65d
mov ecx, dword [esi + 0x70]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [esi + 0x24]
lea eax, [ebp - 0x24]
push eax
push ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
call edx
add esp, 0xc
cmp eax, 4
jne 0x41b5d0
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x34]
lea eax, [ebp - 0x18]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x41b627
mov byte [ebp - 0x11], 1
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], edi
jne 0x41b63c
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x18]
push eax
call ecx
add esp, 4
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x1c]
push edx
call eax
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0xc]
add esp, 4
push ecx
call edx
movzx eax, byte [ebp - 0x11]
add esp, 4
mov dword [esi + 0x70], edi
jmp 0x41b67f
mov dword [esi + 0xa0], 1
jmp 0x41b627
xor eax, eax
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x138]
xor ecx, ebp
call fcn.00434fc4
add ebp, 0x13c
mov esp, ebp
pop ebp
ret 0xc