joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b810
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4bbbbe
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.0048bd80
mov ebp, eax
xor esi, esi
add esp, 8
cmp ebp, esi
je 0x43ba12
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 0x53e720
push edx
call ebx
add esp, 8
test eax, eax
je 0x43b922
mov eax, dword [esp + 0x154]
push 0x5341c0
push eax
call ebx
add esp, 8
test eax, eax
je 0x43b922
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 0x43b909
lea ecx, [esp + 0x154]
lea edx, [esp + 0x10]
push ecx
push 0x53f828
push edx
call sub.MFC42.DLL_operator_4
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 0x43b929
mov edx, dword [0x53f828]
push edx
push ebp
call fcn.0048bee0
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.0048bdc0
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov edi, eax
jle 0x43b9f3
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
call fcn.0048bdc0
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 0x53e720
push eax
call ebx
add esp, 8
test eax, eax
je 0x43b9ca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x158]
push ecx
push edx
call fcn.0041c8d0
add esp, 8
test eax, eax
je 0x43b9d9
lea eax, [esp + 0x18]
push eax
push esi
push ebp
call fcn.0048bea0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 2
call sub.MFC42.DLL_CString::CString
inc esi
cmp esi, edi
jl 0x43b96d
push ebp
call fcn.0048bfa0
add esp, 4
test al, al
pop edi
pop ebx
push ebp
je 0x43ba0a
call fcn.0048bf20
jmp 0x43ba0f
call fcn.00487490
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 0x43c200
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [eax + 0x4d3e48]
xor cl, 0x7d
mov byte [eax + 0x54b9f8], cl
inc eax
cmp eax, 0x262c
jb 0x43c202
mov eax, 0x54b9f8
ret
Function at 0x43f230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4bc25a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
push 0xe8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x5c], ebx
je 0x43f275
push ebx
push edi
mov ecx, eax
call fcn.0045f470
mov esi, eax
jmp 0x43f277
xor esi, esi
mov al, 0x6f
mov dl, 0x66
mov byte [esp + 0x32], al
mov byte [esp + 0x36], al
mov al, 0x53
mov cl, 0x20
mov byte [esp + 0x3e], al
mov byte [esp + 0x48], al
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
cmp eax, ebx
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 0x56
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x10
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], 2
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 8
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x4d
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x69
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x63
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 0x72
mov byte [esp + 0x31], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x74
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0x61
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x6e
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 0x73
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], cl
mov byte [esp + 0x47], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x65
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x69
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], dl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
jne 0x43f3b6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push ebx
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDialog::CreateIndirect
test eax, eax
jne 0x43f3f1
cmp esi, ebx
je 0x43f3db
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x54
ret 8
mov eax, dword [esp + 0x64]
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi]
add edi, 0x31a4
push edi
mov ecx, esi
call dword [edx + 0xd8]
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 8
Function at 0x43f430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CStringArray::CStringArray
xor ebx, ebx
push 0xffffffffffffffff
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
call sub.MFC42.DLL_CStringArray::SetSize
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 0x2e
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.0041b750
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
lea ecx, [esi + 0x30c4]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CMapStringToPtr::Lookup
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x43f4c9
xor eax, eax
jmp 0x43f4cc
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43f4db
mov dword [esp + 8], ebx
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00462b6e
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4

Function at 0x440040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
mov eax, dword [esi + 0x3100]
mov ecx, dword [esi + 0x3104]
mov dx, word [esi + 0x3108]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x310c]
mov dword [esp + 8], ecx
mov cx, word [esi + 0x3110]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3114]
mov word [esp + 0xc], dx
mov dx, word [esi + 0x3112]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0x3118]
mov dword [esp + 0x18], eax
mov word [esp + 0x16], dx
mov edx, dword [esi + 0x311c]
lea eax, [esi + 0x3120]
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 + 0x3124]
mov edx, dword [esi + 0x312c]
mov eax, dword [esi + 0x3128]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x3134]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x3138]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esi + 0x315c]
xor edx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
or al, 0xf0
cmp ecx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], eax
je 0x440131
mov eax, dword [esi + 0x3118]
cmp eax, edx
je 0x44012b
mov dword [esp + 0x1c], eax
jmp 0x440135
mov dword [esp + 0x1c], esi
jmp 0x440135
mov dword [esp + 0x1c], edx
lea edx, [esp + 4]
push edx
call fcn.0043c980
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 0x440fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x2c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x24], 2
mov word [esp + 0xc], 0
call sub.MFC42.DLL_COleVariant::operator_1
mov ecx, dword [esp + 0x30]
push 0x53e720
push ecx
mov byte [esp + 0x28], 3
xor esi, esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x441023
push esi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, dword [eax]
lea edx, [esp + 8]
lea ecx, [esp + 0x28]
push edx
push esi
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, edi
call fcn.00440ee0
lea eax, [esp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x441090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc53f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x38]
push 0x53e720
push eax
mov dword [esp + 0x30], 2
xor esi, esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4410e1
push esi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, dword [eax]
xor ecx, ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x12], ecx
push edx
mov dword [esp + 0x1a], ecx
push esi
mov dword [esp + 0x22], ecx
mov word [esp + 0x18], 0
mov word [esp + 0x26], cx
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, edi
call fcn.00440f30
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
cmp word [esp + 0x10], 8
mov byte [esp + 0x28], 3
jne 0x441137
mov eax, dword [esp + 0x18]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc

Function at 0x441370
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [eax + 0x4d6550]
xor cl, 0x7d
mov byte [eax + 0x54e07c], cl
inc eax
cmp eax, 0x6db1
jb 0x441372
mov eax, 0x54e07c
ret
Function at 0x4413e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bc589
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0x28]
mov cl, byte [esp + 0x28]
mov byte [esi + 0xc], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
lea ebx, [edi + 0x3c]
push 0xa
mov ecx, ebx
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CMapStringToOb::CMapStringToOb
lea ebp, [edi + 0x58]
push 0xa
mov ecx, ebp
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CMapStringToString::CMapStringToString
mov edx, dword [esp + 0x28]
push 0x53fc08
push edx
mov ecx, esi
mov byte [esp + 0x28], 3
mov dword [edi], 0x4dd304
call fcn.00427fd0
push 1
push 0x1000
mov ecx, ebx
call sub.MFC42.DLL_CMapStringToOb::InitHashTable
push 1
push 0x1000
mov ecx, ebp
call sub.MFC42.DLL_CMapStringToString::InitHashTable
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x53e720
call sub.MFC42.DLL_CString::CString_1
push esi
mov ecx, edi
call fcn.004417b0
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x444240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bcad8
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 0x444283
mov eax, dword [esi]
jmp 0x444285
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 0x4442a1
push 0x534228
push edi
push eax
call fcn.0046378e
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 0x444301
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x444301
mov eax, dword [esi]
test eax, eax
je 0x4442e8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4442f8
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 0x4443c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bcb18
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 0x444403
mov eax, dword [esi]
jmp 0x444405
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 0x444426
push 0x534228
push edi
push eax
call fcn.0046378e
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 0x444486
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x444486
mov eax, dword [esi]
test eax, eax
je 0x44446d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x44447d
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
Function at 0x4451f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4bcdf4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_4
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_4
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [edi + 0x10]
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov byte [esp + 0x2c], 3
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea edx, [edi + 0x18]
mov ecx, ebx
push edx
mov byte [esp + 0x30], 4
mov dword [ebx], 0x4c68e0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4c68e0
call fcn.00462b6e
lea ebx, [esi + 0x2c]
mov byte [esp + 0x2c], 5
mov ecx, ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
add edi, 0x2c
mov ecx, ebx
push edi
mov byte [esp + 0x30], 6
mov dword [ebx], 0x4c68e0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4c68e0
call fcn.00462b6e
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x44af00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bd0db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0044b060
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x53e720
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x44afab
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44afa2
cmp al, 0xff
je 0x44afa2
dec al
mov byte [ecx], al
jmp 0x44afab
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004b0cd0
mov eax, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x44aff7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44afee
cmp al, 0xff
je 0x44afee
dec al
mov byte [ecx], al
jmp 0x44aff7
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_public_virtual:_void___thiscall_exception::destructor_void_]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4588e0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4be256
push eax
mov eax, 0x2308
mov dword fs:[0], esp
call fcn.004633a0
mov eax, dword [0x53fc8c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2324]
lea ecx, [esp + 0x18]
push edi
mov edi, dword [esp + 0x232c]
push ecx
mov ecx, dword [esp + 0x2334]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call fcn.0045b670
xor ebx, ebx
xor eax, eax
mov dl, byte [eax + 0x4df7a0]
xor dl, 0x7d
mov byte [esp + eax + 0xc44], dl
inc eax
cmp eax, 0x16d1
jb 0x458937
lea eax, [esp + 0xc44]
mov ecx, esi
push eax
mov byte [esp + 0x2319], bl
call fcn.00442ae0
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test al, al
jne 0x458988
cmp dword [edi + 0x40], ebx
je 0x458988
mov ecx, esi
call fcn.00442440
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
xor eax, eax
mov dl, byte [eax + 0x4e0e74]
xor dl, 0x7d
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0xc18
jb 0x45898a
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov byte [esp + 0xc44], bl
call fcn.00442ae0
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x4589d6
cmp dword [edi + 0x40], ebx
je 0x4589d6
mov ecx, esi
call fcn.00442440
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push str.On_Error_Resume_Next:QMEngine.SetRunTimeParam__u:QMRoutine.SetRunTimeParam__u:On_Error_Goto_0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2324], ebx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push edx
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x2330], 1
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push eax
call fcn.00442d00
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x458a48
cmp dword [edi + 0x40], ebx
je 0x458a48
mov ecx, esi
call fcn.00442440
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0x4c9
push ecx
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x2320], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2320], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2318]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2314
ret

Function at 0x45b4f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4be4a8
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 sub.MFC42.DLL_CCmdTarget::CCmdTarget
xor edi, edi
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esi], 0x4e1f38
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret