joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b250
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cecc8
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esi + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
test ecx, ecx
mov ebx, edx
je 0x42b2aa
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x42b2a6
cmp dword [eax + 8], edi
je 0x42b2a0
mov eax, dword [eax]
test eax, eax
jne 0x42b293
jmp 0x42b2a6
test eax, eax
mov edi, eax
jne 0x42b2f7
test ecx, ecx
jne 0x42b2d6
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 8], ebp
mov ecx, esi
call fcn.0042b9f0
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx*4]
mov dword [edi], edx
mov eax, dword [esi + 4]
mov dword [eax + ebx*4], edi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], edx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 0x18]
call sub.MFC42.DLL_CString::operator_3
lea edx, [esp + 0x34]
lea ecx, [edi + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18
Function at 0x42bea0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cee50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x14], edi
jne 0x42bee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [edi + 0xc]
add eax, 8
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::operator_3
push 0x5f
push 0x5b
mov ecx, esi
call sub.MFC42.DLL_CString::Replace_1
push 0x5f
push 0x5d
mov ecx, esi
call sub.MFC42.DLL_CString::Replace_1
jmp 0x42bf16
mov eax, dword [0x557488]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x42bf66
mov dword [0x557484], edi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov esi, dword [eax + 0x20]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42bf66
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 8]
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push edi
push 0x42bf80
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x557488], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42de10
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cf20b
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.004559c0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.uservar.ini
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x14]
mov dword [esp + 0x102c], ebx
push eax
call fcn.00456770
mov ecx, eax
call fcn.00456f90
push eax
lea ecx, [esp + 0x1c]
push 0x557058
push ecx
mov dword [esp + 0x1034], 2
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x1038]
lea edx, [esp + 0x24]
push 0x1000
push edx
push str.blank_value
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0xc]
push str.blank_value
push edx
mov dword [esp + 0x1030], 3
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42df0b
lea eax, [esi + 8]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x1038]
mov edi, 1
cmp eax, ebx
jne 0x42df55
cmp dword [esi + 0x14], edi
jne 0x42df55
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esi + 0x34]
add esp, 4
cmp eax, ecx
jb 0x42df45
push 0x555f50
lea ecx, [esp + 0x10]
call fcn.00454d4e
jmp 0x42df55
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0xc]
lea eax, [edx + eax*4]
push eax
call sub.MFC42.DLL_CString::operator_3
mov esi, dword [esp + 0x1030]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x1028], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1020]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1020
ret 0xc
Function at 0x42e0a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cf2ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0x4c]
push 0x400
mov ecx, ebp
mov byte [esp + 0x24], 4
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CMemFile::CMemFile
push 0xa
lea ecx, [ebp + 0x28]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CPtrList::CPtrList
mov dword [ebp], 0x4d96fc
lea ebp, [esi + 0x90]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], edi
lea ecx, [ebp + 8]
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp], 0x4dab4c
mov dword [esi + 0x9c], edi
lea ecx, [esi + 0xa4]
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], 0xa
mov dword [esi + 0xa8], 0x4dab38
push 0x555f50
mov ecx, ebx
mov byte [esp + 0x24], 0xb
mov dword [esi], 0x4d9780
call fcn.00454d4e
push 0x555f50
lea ecx, [esi + 8]
call fcn.00454d4e
push 0x555f50
lea ecx, [esi + 0xc]
call fcn.00454d4e
push 0x555f50
lea ecx, [esi + 0x10]
call fcn.00454d4e
mov ebp, 2
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x20], edi
mov ebx, 1
push 0x555f50
lea ecx, [esi + 0x48]
mov dword [esi + 0x30], ebx
call fcn.00454d4e
mov dword [esi + 0x38], ebx
mov word [esi + 0x34], di
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
push 0x555f50
lea ecx, [esi + 0xa4]
mov dword [esi + 0xa0], ebp
call fcn.00454d4e
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42e6e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x555f50
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.00454d4e
push 0x555f50
lea ecx, [esi + 8]
call fcn.00454d4e
push 0x555f50
lea ecx, [esi + 0xc]
call fcn.00454d4e
push 0x555f50
lea ecx, [esi + 0x10]
call fcn.00454d4e
push 0x555f50
lea ecx, [esi + 0x48]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.00454d4e
mov dword [esi + 0x38], 1
mov word [esi + 0x34], bx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov edi, dword [esi + 0x94]
cmp edi, ebx
je 0x42e7ff
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e7f9
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x42e7f9
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov byte [ebp - 4], 2
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x555f50
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x11]
test al, al
je 0x42e7c6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
mov dword [esi + 0x94], ebx
mov edi, dword [esi + 0x9c]
cmp edi, ebx
je 0x42e89b
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e895
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x42e895
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 4
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x555f50
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne byte [ebp - 0x11]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x11]
test al, al
je 0x42e862
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
mov dword [esi + 0x9c], ebx
push 0x555f50
lea ecx, [esi + 0xa4]
mov dword [esi + 0xa0], 2
call fcn.00454d4e
mov eax, dword [esi + 0xc4]
cmp eax, ebx
je 0x42e8ce
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0xc4], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433e10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4cf8c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push esi
mov esi, dword [ebx]
test esi, esi
push edi
mov dword [esp + 0x10], ebx
je 0x433eda
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x433ed4
test esi, esi
mov dword [esp + 0x18], esi
je 0x433ed4
mov edx, dword [esi + 4]
lea edi, [esi + 4]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
mov dword [esp + 0x28], 1
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x555f50
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x433e9a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CFile::CFile
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [ebx], 0
push 0x18
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x24], 2
je 0x433f61
mov eax, dword [esp + 0x2c]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::CString_1
lea esi, [edi + 4]
mov byte [esp + 0x24], 3
mov ecx, esi
call sub.MFC42.DLL_CFile::CFile_1
mov edx, dword [esi]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x28], 4
mov dword [edi + 0x14], 1
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x555f50
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x433f59
mov eax, dword [edi]
mov edx, dword [esi]
push 0
push 0x8010
push eax
mov ecx, esi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
jmp 0x433f65
xor eax, eax
mov dword [ebx], eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x434080
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004559c0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [edx + 8]
mov dword [esp + 0xc], 0
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
call fcn.0041bbf0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
call esi
test eax, eax
lea ecx, [esp + 0xc]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x434108
lea edx, [esp + 0xc]
push edx
call fcn.0041bbf0
mov edx, dword [eax]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x555f50
push edx
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x1014]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1004
ret 4
Function at 0x434130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cf8e8
push eax
mov eax, 0x8005c
mov dword fs:[0], esp
call fcn.004559c0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call dword [eax]
mov ebx, dword [eax]
mov byte [ebp - 4], 1
cmp ebx, edi
je 0x4341a6
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004559c0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [eax]
push 0x10
push 0
push edi
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x434298
lea edx, [ebp + 0xc]
lea ecx, [esi + 8]
push edx
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00434080
mov ecx, dword [ebp - 0x14]
push 0x535adc
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43428c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
xor esi, esi
mov ecx, 0x20000
xor eax, eax
lea edi, [ebp - 0x80068]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x80068]
mov edx, dword [eax]
push 0x80000
push ecx
push eax
call dword [edx + 0xc]
mov edx, dword [ebp - 0x20]
push ebx
push edx
lea eax, [ebp - 0x80068]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ecx, dword [ebp - 0x60]
add esp, 0x10
inc esi
shr ecx, 0x13
cmp esi, ecx
jbe 0x434219
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x14]
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [edx + 4]
call fcn.00433e10
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x80074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438670
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4cfcde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebp
push esi
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
push eax
push ecx
mov dword [esp + 0x148], 2
call fcn.0047cb10
mov ebp, eax
xor esi, esi
add esp, 8
cmp ebp, esi
je 0x438872
push ebx
push edi
lea ecx, [esp + 0x154]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x154]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x154]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x555f50
push edx
call ebx
add esp, 8
test eax, eax
je 0x438782
mov eax, dword [esp + 0x154]
push 0x536ea4
push eax
call ebx
add esp, 8
test eax, eax
je 0x438782
push 0x5c
lea ecx, [esp + 0x158]
call sub.MFC42.DLL_CString::TrimLeft_2
push 0x3a
lea ecx, [esp + 0x158]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jg 0x438769
lea ecx, [esp + 0x154]
lea edx, [esp + 0x10]
push ecx
push 0x557058
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x14c], 3
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x154]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x154]
push ecx
jmp 0x438789
mov edx, dword [0x557058]
push edx
push ebp
call fcn.0047cc70
add esp, 8
lea ecx, [esp + 0x158]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push ebp
call fcn.0047cb50
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov edi, eax
jle 0x438853
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
call fcn.0047cb50
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 4
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x158]
push 0x555f50
push eax
call ebx
add esp, 8
test eax, eax
je 0x43882a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x158]
push ecx
push edx
call fcn.0041c8b0
add esp, 8
test eax, eax
je 0x438839
lea eax, [esp + 0x18]
push eax
push esi
push ebp
call fcn.0047cc30
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 2
call sub.MFC42.DLL_CString::CString
inc esi
cmp esi, edi
jl 0x4387cd
push ebp
call fcn.0047cd30
add esp, 4
test al, al
pop edi
pop ebx
push ebp
je 0x43886a
call fcn.0047ccb0
jmp 0x43886f
call fcn.00478220
add esp, 4
lea ecx, [esp + 0x148]
mov byte [esp + 0x140], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14c]
mov byte [esp + 0x140], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x150]
mov dword [esp + 0x140], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x138]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x13c
ret

Function at 0x438b70
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [eax + 0x4dacb0]
xor cl, 0x7d
mov byte [eax + 0x5585d0], cl
inc eax
cmp eax, 0x25e6
jb 0x438b72
mov eax, 0x5585d0
ret
Function at 0x43c0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d03b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
mov eax, dword [esi + 0x30c8]
mov ecx, dword [esi + 0x30cc]
mov dx, word [esi + 0x30d0]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30d4]
mov dword [esp + 8], ecx
mov cx, word [esi + 0x30d8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x30dc]
mov word [esp + 0xc], dx
mov dx, word [esi + 0x30da]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0x30e0]
mov dword [esp + 0x18], eax
mov word [esp + 0x16], dx
mov edx, dword [esi + 0x30e4]
lea eax, [esi + 0x30e8]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esi + 0x30ec]
mov edx, dword [esi + 0x30f4]
mov eax, dword [esi + 0x30f0]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x30fc]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x3100]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esi + 0x3124]
xor edx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
and al, 0xef
cmp ecx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], eax
je 0x43c191
mov eax, dword [esi + 0x30e0]
cmp eax, edx
je 0x43c18b
mov dword [esp + 0x1c], eax
jmp 0x43c195
mov dword [esp + 0x1c], esi
jmp 0x43c195
mov dword [esp + 0x1c], edx
lea edx, [esp + 4]
push edx
call fcn.00439310
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x43f630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d0968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x43f673
mov eax, dword [esi]
jmp 0x43f675
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x43f691
push 0x537230
push edi
push eax
call fcn.00455dde
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x43f6f1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43f6f1
mov eax, dword [esi]
test eax, eax
je 0x43f6d8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x43f6e8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x43f7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d09a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x43f7f3
mov eax, dword [esi]
jmp 0x43f7f5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x43f816
push 0x537230
push edi
push eax
call fcn.00455dde
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x43f876
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43f876
mov eax, dword [esi]
test eax, eax
je 0x43f85d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x43f86d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc