joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bfda
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x4e05ac]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x48c000
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
jmp 0x48c004
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], esi
jne 0x48c018
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x48c045
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0x10], eax
je 0x48c045
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x48c045
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x20], 1
push dword [esp + 0x10]
mov ebx, edi
mov dword [edi + 0x320], esi
call fcn.0048c412
mov edx, eax
cmp edx, esi
mov dword [esp + 0x18], edx
jne 0x48c073
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x48c160
call fcn.00407b88
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
lea ebx, [edi + 4]
push ebx
call fcn.00407a3b
cmp dword [edi + 0x314], esi
je 0x48c103
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x48c0e3
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x48c103
push esi
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.00404288
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx]
mov dword [edi + 0x320], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x20], esi
je 0x48c14c
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x10], esi
je 0x48c14c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x48c14c
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x24]
call fcn.00407b88
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48ccd2
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x48cd19
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x48cd12
cmp dword [esp + 4], 0x1b
jne 0x48ccf9
push 0
push 2
jmp 0x48cd04
cmp dword [esp + 4], 0xd
jne 0x48cd12
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x324], 0
ret 4
Function at 0x494100
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x494107
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.00494110
Function at 0x494110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x494142
lea esp, [esp]
test cl, 3
je 0x494142
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4abc40]
add ecx, 1
sub esi, 1
jne 0x494120
cmp esi, 0x20
push ebx
push edi
jb 0x49432c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4ac040]
xor edx, dword [ebx*4 + 0x4ac440]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4abc40]
add ecx, 4
xor edx, dword [eax*4 + 0x4ac840]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ac040]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ac440]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4abc40]
add ecx, 4
xor eax, dword [edx*4 + 0x4ac840]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4ac040]
xor edx, dword [ebx*4 + 0x4ac440]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4abc40]
xor edx, dword [eax*4 + 0x4ac840]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ac040]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ac440]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4abc40]
xor eax, dword [edx*4 + 0x4ac840]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4ac040]
xor edx, dword [ebx*4 + 0x4ac440]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4abc40]
xor edx, dword [eax*4 + 0x4ac840]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ac040]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ac440]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4abc40]
and edx, 0xff
xor eax, dword [edx*4 + 0x4ac840]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4ac040]
xor edx, dword [ebx*4 + 0x4ac440]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4abc40]
add ecx, 4
xor edx, dword [eax*4 + 0x4ac840]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ac040]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ac440]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4abc40]
and edx, 0xff
xor eax, dword [edx*4 + 0x4ac840]
sub edi, 1
jne 0x494152
cmp esi, 4
jb 0x494379
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4ac040]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4ac440]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4abc40]
and eax, 0xff
xor edi, dword [eax*4 + 0x4ac840]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x494336
test esi, esi
pop edi
pop ebx
je 0x49439d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4abc40]
add ecx, 1
sub esi, 1
jne 0x494380
not eax
pop esi
ret
Function at 0x4948c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
movzx ecx, di
shr edi, 0x10
test esi, esi
mov ebx, eax
jne 0x4948da
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
ret
test ebx, ebx
jbe 0x4949dc
push ebp
cmp ebx, 0x15b0
mov eax, ebx
jb 0x4948f2
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x49499b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x494910
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x494910
test eax, eax
je 0x4949af
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x4949a0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x4948e3
pop ebp
mov eax, edi
pop edi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
ret

Function at 0x495077
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00494fb6
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4950c6
cmp dword [ebp - 0x1c], 5
jb 0x4950de
jmp 0x4950da
cmp dword [ebp - 0x10], 1
jne 0x4950de
cmp dword [ebp - 0x1c], 4
ja 0x4950da
jne 0x4950de
cmp dword [ebp - 0x18], 0
jbe 0x4950de
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4aadfc
call fcn.0041a5de
test eax, eax
jge 0x4950ff
mov byte [0x4e0614], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00495616
add ebp, 0x78
leave
ret
Function at 0x495547
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4dffb0], 0
push esi
jne 0x4954ba
call fcn.004953e5
test eax, eax
je 0x4954fd
mov eax, dword [0x4dffb0]
cmp eax, 1
jne 0x4954db
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4954fd
pop esi
ret
push eax
call dword [0x4dffb8]
test eax, eax
jne 0x495545
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x495501
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4dffb0]
call dword [0x4dffb8]
mov edi, eax
test edi, edi
je 0x495528
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x495544
lea edi, [esi + 0xff0]
push esi
push dword [0x4dffb0]
call dword [0x4dffb4]
add esi, 0x10
cmp esi, edi
jb 0x49552e
mov eax, esi
pop edi
pop esi
ret
jmp 0x4954a7

Function at 0x495616
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4db020]
jne 0x495620
repz ret
jmp fcn.00495c3c

Function at 0x49bfc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d717
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4db020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], vtable.Json::StyledWriter.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x4c], 0x4a
mov dword [esi + 0x50], 3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40102c
Capabilities:
Check mutex on windows
Write file on windows

Disassembly:
mov eax, 0x43a088
call fcn.00432e40
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, ecx
mov eax, dword [esi + 0xc]
cmp eax, edi
jle 0x4011c8
push str.DA8335C5_8EE2_4814_90DF_FBD1A4E802AA_DNS
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x18]
mov dword [ebp - 4], edi
push edi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push dword [ebp - 0x18]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x4011bc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40109e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4011bc
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
mov byte [ebp - 0xd], 0x23
call fcn.004012e3
push 0x4530ac
mov byte [ebp - 4], 1
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov edi, eax
pop ecx
call dword [sym.imp.MSVCRT.dll_tmpfile]
test edi, edi
mov dword [ebp - 0x1c], eax
je 0x4011b0
test eax, eax
je 0x4011b0
mov esi, dword [esi + 4]
test esi, esi
je 0x4010f1
mov eax, esi
mov esi, dword [esi]
lea ecx, [eax + 8]
call sub.MFC42.DLL_CString::MakeLower
jmp 0x4010df
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x14]
push eax
push edi
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00401250
test eax, eax
je 0x401184
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebx
call fcn.004011d9
test eax, eax
je 0x401152
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
cmp al, byte [ebp - 0xd]
je 0x401152
push 1
pop eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
push eax
push eax
lea eax, [ebp - 0xd]
push eax
call esi
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov eax, dword [ecx - 8]
push eax
push 1
push ecx
call esi
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push edi
call fcn.00401250
test eax, eax
jne 0x401117
cmp dword [ebp - 0x28], eax
je 0x401184
push edi
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.004013b0
call dword [sym.imp.MSVCRT.dll__rmtmp]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4012e3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x43a0c7
call fcn.00432e40
sub esp, 0x110
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
lea ecx, [ebp - 0x10]
sbb esi, esi
neg esi
call sub.MFC42.DLL_CString::CString_2
and byte [ebp - 0x11c], 0
push 1
pop ebx
xor eax, eax
push 0x41
lea edi, [ebp - 0x11b]
pop ecx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x11c]
push 0x104
test esi, esi
push eax
je 0x40134f
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x11c]
push eax
push str._sdriversetchosts
jmp 0x401375
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp + eax - 0x11c], 0x5c
lea eax, [ebp + eax - 0x11c]
jne 0x401369
and byte [eax], 0
lea eax, [ebp - 0x11c]
push eax
push str._shosts
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4013b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_ftell]
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
push ebx
push ebx
push dword [ebp + 0xc]
call esi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
mov byte [ebp - 0x100], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.MSVCRT.dll_fread]
stosb byte es:[edi], al
mov edi, 0x100
lea eax, [ebp - 0x100]
push edi
push 1
push eax
call esi
add esp, 0x2c
cmp eax, ebx
je 0x401439
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x100]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push edi
push 1
push eax
call esi
add esp, 0x20
jmp 0x40140e
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402edd
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x43a403
call fcn.00432e40
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
mov edi, 0x457968
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004326b6
push edi
lea ecx, [esi + 0x24]
mov dword [esi + 0x1c], ebx
mov word [esi + 0x20], bx
call fcn.004326b6
push edi
lea ecx, [esi + 0x28]
call fcn.004326b6
push edi
lea ecx, [esi + 0x2c]
call fcn.004326b6
push edi
lea ecx, [esi + 0x30]
call fcn.004326b6
push 0x10
lea eax, [esi + 8]
push ebx
push eax
mov dword [esi + 0x34], ebx
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4037e4
Capabilities:
Delete file

Disassembly:
mov eax, 0x43a50c
call fcn.00432e40
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x48]
call fcn.0042deb0
xor ebx, ebx
lea ecx, [ebp - 0x48]
push ebx
mov dword [ebp - 4], ebx
call fcn.0042e0d0
test eax, eax
je 0x403830
add esi, 0xe0
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.0042e430
test eax, eax
je 0x403830
push ebx
lea ecx, [ebp - 0x48]
call fcn.0042dfa0
test eax, eax
jne 0x403890
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00432030
mov dword [esp], 0x440d04
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push 0x453c68
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x403885
push dword [ebp - 0x10]
call fcn.00431640
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0042df40
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403cc5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43a72e
call fcn.00432e40
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
mov edi, 0x457968
mov ecx, esi
push edi
mov byte [ebp - 4], 2
call fcn.004326b6
push edi
lea ecx, [esi + 4]
call fcn.004326b6
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 8], ebx
mov word [esi + 0xc], bx
mov dword [esi + 0x10], ebx
mov word [esi + 0x14], bx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.004326b6
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x403d4a
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
mov eax, 0x43a76f
call fcn.00432e40
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
mov edi, 0x457968
lea ecx, [esi + 4]
push edi
mov byte [ebp - 4], 4
mov dword [esi], ebx
call fcn.004326b6
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], ebx
mov word [esi + 0xc], bx
call fcn.004326b6
push edi
lea ecx, [esi + 0x14]
call fcn.004326b6
push edi
lea ecx, [esi + 0x18]
call fcn.004326b6
push edi
lea ecx, [esi + 0x1c]
call fcn.004326b6
push 0x10
lea eax, [esi + 0x20]
push ebx
push eax
mov dword [esi + 0x30], ebx
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4050c7
Capabilities:
Delete file

Disassembly:
mov eax, 0x43ab4c
call fcn.00432e40
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.0041c468
xor ebx, ebx
push 1
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
pop edi
je 0x40512c
cmp dword [ebp + 8], edi
je 0x40512c
push dword [ebp + 8]
push 0x65
call fcn.00402620
mov ecx, eax
call fcn.004026a6
push 2
push 0x45
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
mov ecx, esi
call fcn.0040503d
push edi
mov ecx, esi
call fcn.004049fd
jmp 0x4052bd
push ebx
push 0x65
call fcn.00402620
mov ecx, eax
call fcn.004026a6
push edi
push 0x45
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.004071ba
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x3e8]
push eax
mov byte [ebp - 4], 1
call fcn.0042bb60
mov ecx, esi
call fcn.00405a8c
test eax, eax
jne 0x4051b2
push edi
push 0x65
call fcn.00402620
mov ecx, eax
call fcn.004026a6
mov ecx, esi
call fcn.0040503d
push edi
mov ecx, esi
call fcn.004049fd
jmp 0x4052b2
mov ecx, esi
call fcn.00405944
test eax, eax
je 0x40520a
push 2
push 0x46
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
mov ecx, esi
call fcn.004042f2
test eax, eax
mov ecx, esi
je 0x4051e5
call fcn.00405502
jmp 0x4051a5
call fcn.004042eb
test eax, eax
mov ecx, esi
je 0x4051f7
call fcn.00405478
jmp 0x4051a5
call fcn.004042f9
test eax, eax
jne 0x4051a5
mov ecx, esi
call fcn.004053ee
push ebx
jmp 0x4051a6
push edi
push 0x46
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
mov ecx, esi
call fcn.004042f2
test eax, eax
mov ecx, esi
je 0x405237
call fcn.0040634b
test eax, eax
mov ecx, esi
je 0x4051de
jmp 0x405287
call fcn.004042eb
test eax, eax
mov ecx, esi
je 0x405256
call fcn.004062e8
mov ecx, esi
call fcn.00405944
test eax, eax
mov ecx, esi
je 0x4052ad
jmp 0x4051f0
call fcn.004042f9
test eax, eax
je 0x4052ab
cmp dword [esi + 0x3b8], ebx
je 0x40526a
push ebx
jmp 0x405276
mov eax, dword [esi + 0x284]
cmp eax, 2
jne 0x40528e
push edi
mov ecx, esi
call fcn.0040639f
test eax, eax
je 0x4051a5
mov ecx, esi
call fcn.0040649a
jmp 0x4052b2
cmp eax, ebx
jne 0x4052a2
push edi
mov ecx, esi
call fcn.0040639f
test eax, eax
je 0x4051a5
mov ecx, esi
call fcn.00405364
jmp 0x4052b2
mov ecx, esi
call fcn.004052da
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0041c541
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8