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

Disassembly:
push 0xffffffffffffffff
push 0x52e4df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CWnd::CWnd
lea edi, [esi + 0x40]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x53c0ec
lea ecx, [esi + 0x80]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_3
mov byte [esi + 0x84], bl
mov dword [esi + 0x88], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x5c], 3
mov dword [esi + 0x8c], 0xffffffff
mov dword [esi], 0x53c028
call sub.MFC42.DLL_AfxRegisterWndClass
push eax
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateEx
mov eax, dword [edi]
push 0x4d2
lea ecx, [esp + 0x14]
push esi
push ecx
push 0x40000004
push 0x20
mov ecx, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [eax + 0xc4]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4d7650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
lea eax, [esp + 0xc]
push esi
mov ebx, ecx
push eax
call fcn.004d7380
add esp, 4
push ebx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
test eax, eax
je 0x4d76d6
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4d76d6
test esi, esi
je 0x4d76d6
mov eax, dword [esi]
test eax, eax
je 0x4d76bd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4d76cd
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x10], ecx
call fcn.004d7420
add esp, 4
mov ecx, dword [ebx]
mov dword [esp + 0x20], 1
dec ecx
je 0x4d7793
dec ecx
jne 0x4d77a1
mov dword [esp + 8], 0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004de6f0
test eax, eax
je 0x4d7765
mov eax, dword [esp + 8]
test eax, eax
je 0x4d775a
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
push edi
mov edi, eax
test ecx, ecx
jne 0x4d7755
mov edx, dword [eax]
push edx
call fcn.004c7eee
test eax, eax
mov dword [esi], eax
jne 0x4d7755
cmp dword [edi], 0
je 0x4d7755
push 0x8007000e
call fcn.004c7dcc
mov esi, dword [esi]
pop edi
jmp 0x4d775c
xor esi, esi
push esi
lea ecx, [ebx + 8]
call fcn.004cb880
mov eax, dword [esp + 8]
test eax, eax
je 0x4d77a1
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4d77a1
test esi, esi
je 0x4d77a1
mov ecx, esi
call fcn.0040d600
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4d77a1
add ebx, 4
lea ecx, [esp + 0xc]
push ebx
push eax
call fcn.004de6b0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4d77e1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4d77e1
test esi, esi
je 0x4d77e1
mov eax, dword [esi]
test eax, eax
je 0x4d77c8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4d77d8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4d8290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e8a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
mov ecx, edi
call fcn.004d8100
mov ebp, eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
push edx
push ebp
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.004d8130
test eax, eax
je 0x4d8338
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x30]
push eax
call fcn.004d8930
test eax, eax
je 0x4d8321
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004d7fa0
lea edx, [esp + 0x10]
push edx
push eax
call ebx
test eax, eax
jge 0x4d8321
push eax
call fcn.004c7dcc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.004d8130
test eax, eax
jne 0x4d82f1
pop ebx
push ebp
mov ecx, edi
call fcn.004d8120
lea edx, [esp + 0xc]
mov byte [esp + 0x24], 0
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4d835a
push eax
call fcn.004c7dcc
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4d839a
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4d839a
test esi, esi
je 0x4d839a
mov eax, dword [esi]
test eax, eax
je 0x4d8381
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4d8391
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]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x4da950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52eb48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, dword [ebx + 0xc]
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
add eax, edx
mov dword [esp + 0x1c], esi
cmp esi, eax
je 0x4daa4f
mov ecx, esi
mov edi, esi
shr ecx, 9
mov edx, ecx
mov eax, edx
shl eax, 9
sub edi, eax
mov eax, dword [ebx + 8]
cmp eax, edx
ja 0x4da9a4
sub edx, eax
mov ebp, ecx
shl ebp, 9
sub esi, ebp
cmp eax, ecx
ja 0x4da9b1
sub ecx, eax
mov eax, dword [ebx + 4]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + esi*8 + 4]
lea eax, [eax + esi*8 + 4]
lea edx, [edx + edi*8]
mov dword [esp + 0x14], ecx
xor edi, edi
mov eax, dword [edx]
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4da9df
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
add ecx, 8
mov dword [esp + 0x3c], edi
call fcn.004db4c0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
cmp esi, edi
je 0x4daa45
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4daa41
cmp esi, edi
je 0x4daa41
mov eax, dword [esi]
cmp eax, edi
je 0x4daa28
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4daa38
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x1c]
inc esi
jmp 0x4da977
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x4df650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52f328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 8]
xor ebp, ebp
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [esp + 0xc], ebp
call dword [eax + 0xc]
test eax, eax
je 0x4df800
mov ecx, dword [esp + 8]
mov edx, dword [edi]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x10]
cmp eax, ebp
je 0x4df7dc
push ebx
push esi
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push ebp
push ecx
mov ecx, edi
call dword [edx + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jbe 0x4df7c1
xor edx, edx
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x24]
test eax, eax
je 0x4df7b4
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
lea eax, [esp + 0x38]
mov dword [esp + 0x30], ebp
push eax
push ecx
mov ecx, edi
call dword [edx + 0x1c]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x4df74f
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
cmp ecx, ebp
mov ebx, eax
jne 0x4df74b
mov edx, dword [eax]
push edx
call fcn.004c7eee
cmp eax, ebp
mov dword [esi], eax
jne 0x4df74b
cmp dword [ebx], ebp
je 0x4df74b
push 0x8007000e
call fcn.004c7dcc
mov esi, dword [esi]
jmp 0x4df751
xor esi, esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004df450
mov ebx, eax
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov dword [esp + 0x30], 0xffffffff
je 0x4df7b0
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4df7ac
cmp esi, ebp
je 0x4df7ac
mov eax, dword [esi]
cmp eax, ebp
je 0x4df793
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4df7a3
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x38], ebp
cmp ebx, ebp
jne 0x4df7c1
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x14]
test eax, eax
jne 0x4df6a7
pop esi
pop ebx
mov eax, dword [esp + 8]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x18]
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4e0d40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cfe8
push 0x4c7a62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc34
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x418], bl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x417]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [ebp + 8]
push esi
push 0x562430
push 0x400
lea eax, [ebp - 0x418]
push eax
call fcn.00431100
add esp, 0x10
push 5
push ebx
lea ecx, [ebp - 0x418]
push ecx
push 0x56c0fc
push 0x56f01c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x4e0dd6
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], ebx
mov dword [ebp - 0x41c], ebx
lea edx, [ebp - 0x41c]
push edx
push 0x53b81c
push 5
push ebx
push 0x53b7ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4e0f15
mov eax, dword [ebp - 0x41c]
cmp eax, ebx
je 0x4e0eef
mov dword [ebp - 0x430], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x430]
push edx
push eax
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x430]
cmp eax, ebx
je 0x4e0e45
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e0ee3
mov ecx, 0x200
lea edi, [ebp - 0xc44]
rep stosd dword es:[edi], eax
push 0x3ff
lea ecx, [ebp - 0xc44]
push ecx
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [ebp - 0x42c], bx
mov word [ebp - 0x440], 8
lea edx, [ebp - 0xc44]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x440]
push edx
push eax
call dword [ecx + 0xd0]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e4320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52f948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.004e4000
add esp, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4e4393
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4393
test edi, edi
je 0x4e4393
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call fcn.004e40a0
add esp, 4
lea edx, [esi + 8]
lea ecx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 1
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e43e2
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e43e2
test edi, edi
je 0x4e43e2
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.004e4140
add esp, 4
lea ecx, [esi + 4]
mov dword [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e4431
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4431
test edi, edi
je 0x4e4431
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.004e41e0
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 3
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x4e4498
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4498
test edi, edi
je 0x4e4498
mov eax, dword [edi]
test eax, eax
je 0x4e447f
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x4e448f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.004e4280
add esp, 4
add esi, 0x10
lea ecx, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x28], 4
call fcn.004de6b0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4e44f3
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x4e44f3
test esi, esi
je 0x4e44f3
mov eax, dword [esi]
test eax, eax
je 0x4e44da
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4e44ea
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4e4c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52fac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.004e4840
add esp, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.004de6f0
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4e4cbc
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4cbc
test edi, edi
je 0x4e4cbc
push 1
mov ecx, edi
call fcn.00429ee0
lea ecx, [esp + 0x10]
push ecx
call fcn.004e48e0
add esp, 4
lea edx, [esi + 4]
lea ecx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 1
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e4d0b
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4d0b
test edi, edi
je 0x4e4d0b
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.004e4980
add esp, 4
lea ecx, [esi + 8]
mov dword [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e4d5a
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4d5a
test edi, edi
je 0x4e4d5a
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.004e4a20
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 3
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e4da9
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4da9
test edi, edi
je 0x4e4da9
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.004e4ac0
add esp, 4
lea ecx, [esi + 0x10]
mov dword [esp + 0x20], 4
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e4df8
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4df8
test edi, edi
je 0x4e4df8
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.004e4b60
add esp, 4
add esi, 0x14
lea ecx, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x28], 5
call fcn.004de6b0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e4e43
mov esi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e4e43
test esi, esi
je 0x4e4e43
mov ecx, esi
call fcn.0040d600
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4e5b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52fd98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.004e55f0
add esp, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.004de6f0
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4e5bd3
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e5bd3
test edi, edi
je 0x4e5bd3
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call fcn.004e5690
add esp, 4
lea edx, [esi + 4]
lea ecx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 1
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e5c22
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e5c22
test edi, edi
je 0x4e5c22
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.004e5730
add esp, 4
lea ecx, [esi + 8]
mov dword [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4e5c71
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e5c71
test edi, edi
je 0x4e5c71
mov ecx, edi
call fcn.0040d600
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.004e57d0
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 3
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004de6b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x4e5cd8
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4e5cd8
test edi, edi
je 0x4e5cd8
mov eax, dword [edi]
test eax, eax
je 0x4e5cbf
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x4e5ccf
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.004e5870
add esp, 4
add esi, 0x10
lea ecx, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x28], 4
call fcn.004de6b0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4e5d33
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x4e5d33
test esi, esi
je 0x4e5d33
mov eax, dword [esi]
test eax, eax
je 0x4e5d1a
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4e5d2a
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4eb430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x530953
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004c72cc
lea edi, [esi + 0x10]
mov dword [esp + 0x28], 0
mov dword [edi + 4], 0
mov dword [edi], 0x53bdb8
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x28], 1
test ebx, ebx
mov dword [esi], 0x53de18
jne 0x4eb485
xor eax, eax
jmp 0x4eb488
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x18]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, dword [eax]
push ecx
push edx
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x4eb4ef
mov edi, dword [edi + 4]
mov eax, dword [esi + 4]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8