joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b6757
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x24], 0
call sub.MFC42u.DLL_CTime::GetTickCount
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call sub.MFC42u.DLL_CTime::GetLocalTm
mov edi, dword [eax]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 4]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 8]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CTime::GetLocalTm
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
call sub.MFC42u.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x14]
inc esi
call sub.MFC42u.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
push edi
push ebp
push ebx
add eax, 0x76c
push ecx
push esi
push eax
lea edx, [esp + 0x30]
push str.__04d_02d_02d_02d_02d_02d_
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0x20
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
mov edi, dword [esp + 0x38]
mov ebx, 2
xor esi, esi
mov byte [esp + 0x2c], bl
mov eax, dword [edi + 8]
test eax, eax
jle 0x4316e7
mov ebp, dword [esp + 0x44]
cmp esi, 1
jne 0x43165a
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.004b0394
jmp 0x4316cd
mov al, byte [esp + 0x3c]
test al, al
je 0x4316a4
cmp esi, ebx
jne 0x4316a4
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [esp + 0x40]
push ebp
push ecx
lea edx, [esp + 0x40]
push str._I64d
push edx
mov byte [esp + 0x3c], 3
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
call fcn.004b0394
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x38]
jmp 0x4316c8
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, edi
call fcn.00401460
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.004b0394
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
push 0x4d00d8
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x431645
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x4355d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b6d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea eax, [esp + 0x14]
add ecx, 0x24
push eax
push ecx
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
push ecx
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x435867
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x52f1c8
call 0x435850
mov ecx, 0x52ed40
jmp 0x435850
push 0xffffffffffffffff
push 0x4b6ddf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004af250
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], ebx
call sub.MFC42u.DLL_CObArray::CObArray
lea edi, [esi + 0x48]
mov byte [esp + 0x18], 1
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x50]
mov byte [esp + 0x18], 3
call fcn.004b0208
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 4
call sub.MFC42u.DLL_CFile::CFile
push str.Ready
mov ecx, edi
mov byte [esp + 0x1c], 5
mov dword [esi], 0x4bc98c
mov dword [esi + 0x484], ebx
mov byte [esi + 0x30], bl
call fcn.004b03dc
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x31], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x436000
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
cmp ebx, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], edi
mov word [ebx + 0x3e], 0x4e4
je 0x43603b
lea edi, [ebx + 4]
mov esi, dword [ebp + 8]
mov ecx, 0xd
xor eax, eax
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
je 0x4361bb
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x436092
test esi, esi
je 0x436092
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x22c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
ja 0x4360c5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x22c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
ja 0x4360f7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call sub.MFC42u.DLL_operatornew
add esp, 4
lea ecx, [ebp - 0x22c]
mov dword [ebx + 0x38], eax
push eax
push esi
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x436133
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x38]
lea edx, [ebp - 0x14]
lea eax, [ebp + 8]
push edx
push eax
push 0x4cf2c0
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x436169
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test ebx, ebx
je 0x436172
lea edi, [ebx + 4]
jmp 0x436174
xor edi, edi
mov esi, dword [ebp + 8]
mov ecx, 0xd
lea edx, [ebp - 0x14]
lea eax, [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x38]
push edx
push eax
push str.VarFileInfoTranslation
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4361a6
cmp dword [ebp - 0x14], 4
jb 0x4361a6
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4361bb
mov ecx, dword [ebx + 4]
xor eax, eax
cmp ecx, 0xfeef04bd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
sete al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437820
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b70b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
lea ecx, [esp]
push eax
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp]
lea edx, [esp + 8]
push ecx
push str._s__
push edx
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_operator_3
push 0x4cfaa0
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x1c], 2
push eax
call sub.MFC42u.DLL_operator_4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 4]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
push str.regedit.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x437a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b7134
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.004b068e
xor ebx, ebx
lea ecx, [esi + 0x4c]
mov dword [esp + 0x24], ebx
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x50]
mov byte [esp + 0x24], 1
call sub.MFC42u.DLL_CString::CString_1
lea edi, [esi + 0x5c]
mov byte [esp + 0x24], 2
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_1
lea ebp, [esi + 0x74]
mov byte [esp + 0x24], 3
mov ecx, ebp
call sub.MFC42u.DLL_CString::CString_1
push ebx
push 0x4379a0
push ebx
push ebx
mov byte [esp + 0x34], 4
mov dword [esi], 0x4bc9bc
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], 0x20
mov dword [esi + 0x20], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 0x4d05f8
lea ecx, [esp + 0x14]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov bl, 5
push 0x1404c10
push ecx
mov byte [esp + 0x30], bl
call sub.MFC42u.DLL_operator
push eax
mov ecx, edi
mov byte [esp + 0x28], 6
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call sub.MFC42u.DLL_CString::CString
push 0x4e2868
mov ecx, ebp
call fcn.004b03dc
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x438640
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4b7291
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], edi
call sub.MFC42u.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov dword [esp + 0x49c], 1
push eax
call sub.MFC42u.DLL_CTime::GetTickCount
mov eax, dword [ebp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x28]
push ecx
push 0x4d1f40
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call sub.MFC42u.DLL_CString::CString_1
cmp esi, 0xffffffff
mov byte [esp + 0x49c], 2
je 0x438798
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
test byte [esp + 0x2c], 0x12
jne 0x43877c
lea edx, [esp + 0x58]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
mov byte [esp + 0x4a0], 3
push eax
call ebx
add esp, 4
sub eax, 4
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a4], 4
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x4a0], 3
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
mov esi, eax
add esp, 4
cmp esi, edi
jge 0x438750
test esi, esi
jle 0x438750
lea eax, [esp + 0x58]
lea ecx, [esp + 0x18]
push eax
mov edi, esi
call fcn.004b0454
mov dword [ebp + 0x6c], esi
test edi, edi
jne 0x438767
lea ecx, [esp + 0x58]
mov edi, esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.004b0454
mov dword [ebp + 0x6c], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a0], 2
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4386c5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x5c]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x4d072c
push edx
mov byte [esp + 0x4ac], 5
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0x278]
push eax
push ecx
call sub.MFC42u.DLL_CFile::GetStatus
test eax, eax
je 0x4387e4
mov edx, dword [esp + 0x278]
mov dword [ebp + 0x64], edx
mov esi, dword [esp + 0x4a4]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x49c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x49c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x49c], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x494]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x494
ret 4
Function at 0x438b10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b735f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
xor ebx, ebx
mov ebp, ecx
push eax
mov dword [esp + 0x1c], ebx
call fcn.00438850
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString
push ecx
lea edi, [ebp + 0x74]
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x14]
push ecx
call fcn.00425dc0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], 1
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
sub eax, 4
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
mov dword [esp + 0x18], ebx
add esp, 4
mov esi, eax
lea ebx, [ebp + 0x5c]
inc esi
lea edx, [esp + 0x10]
push esi
push str._d.jpg
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push ebx
push edx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x438c65
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x64
mov dword [esp + 0x14], eax
jl 0x438bbd
mov esi, dword [esp + 0x30]
mov ecx, ebp
push esi
call fcn.00438640
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x18], 1
jmp 0x438c40
Function at 0x438c80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b739f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push ecx
lea edi, [ebp + 0x74]
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], 0
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x14]
push eax
call fcn.00425dc0
mov ecx, dword [esp + 0x18]
mov ebx, 1
push ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
sub eax, 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push edx
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov esi, eax
mov dword [esp + 0x14], 0
add ebp, 0x5c
dec esi
lea ecx, [esp + 0x10]
push esi
push str._d.jpg
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call sub.MFC42u.DLL_CString::operator_2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ebp
push ecx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x438dc9
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x64
mov dword [esp + 0x14], eax
jl 0x438d24
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push esi
call fcn.00438850
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x18], ebx
jmp 0x438da4
Function at 0x438df6
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov ecx, 0x52f650
jmp 0x438de0
push 0xffffffffffffffff
push 0x4b7413
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004ad090
lea edi, [esi + 0x14]
mov dword [esp + 0x14], 0
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 3
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 4
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 5
call sub.MFC42u.DLL_CFile::CFile
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 6
call sub.MFC42u.DLL_CFile::CFile
lea ecx, [esi + 0x45c]
mov byte [esp + 0x14], 7
call fcn.004b0208
push str.C:_tmp_download_
mov ecx, edi
mov byte [esp + 0x18], 8
mov dword [esi], 0x4bca04
mov dword [esi + 0x470], 0
call fcn.004b03dc
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x474], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x438ee0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4b7475
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x4bca04
lea ecx, [esi + 0x45c]
mov dword [esp + 0x10], 7
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.004b0436
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.004b0436
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004ad0d0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43b010
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b7660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString_1
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x10]
push str._s____d
push ecx
mov byte [esp + 0x24], 1
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esi + 0x10]
add esp, 0x10
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [esp + 0x1c]
lea ecx, [esi + 4]
push eax
mov byte [esi + 0xd], 1
mov dword [esi + 8], edi
call sub.MFC42u.DLL_CString::operator_2
mov al, byte [esp + 0x24]
test al, al
mov byte [esi + 0x14], al
je 0x43b0d3
push str.camera.jpg
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push 0x1404c10
push edx
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 4
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString
push 0
push 0
push 0
push 0
push esi
push 0x43bc50
call sub.MFC42u.DLL_AfxBeginThread
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x43c600
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b77b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov al, byte [esp + 0x24]
mov dword [esp + 0x14], 0
test al, al
mov byte [esi + 0x14], al
je 0x43c67c
push str.camera.jpg
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x24]
lea ecx, [esp + 4]
push eax
push 0x1404c10
push ecx
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 3
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov al, byte [esi + 0xd]
test al, al
je 0x43c6a8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor al, al
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_1
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x14]
push str._s____d
push ecx
mov byte [esp + 0x28], 4
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esi + 0x10]
add esp, 0x10
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [esp + 0x20]
lea ecx, [esi + 4]
push eax
mov dword [esi + 8], edi
call sub.MFC42u.DLL_CString::operator_2
push 0
push 0
push 0
push 0
push esi
push 0x43d3a0
call sub.MFC42u.DLL_AfxBeginThread
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc