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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x458c89
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x28]
push esi
push edi
push ebx
mov edi, ecx
call sub.MFC71U.DLL_CListCtrl::GetItemData
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x42c3c9
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42c3b4
cmp ecx, 5
jne 0x42c3c9
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x42c394
lea eax, [edi + 0x68]
jmp 0x42c3a2
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinResourceManager____cdecl_CSkinResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.SkinControl.dll_public:_class_CFont____thiscall_CSkinResourceManager::GetDefaultFont_void_]
test eax, eax
je 0x42c3ed
mov eax, dword [eax + 4]
test eax, eax
je 0x42c3ed
mov ecx, dword [esi + 4]
push eax
push ecx
jmp 0x42c3e7
lea eax, [edi + 0x68]
test eax, eax
je 0x42c3ed
mov eax, dword [eax + 4]
test eax, eax
je 0x42c3ed
mov edx, dword [esi + 4]
push eax
push edx
jmp 0x42c3e7
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinResourceManager____cdecl_CSkinResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.SkinControl.dll_public:_class_CFont____thiscall_CSkinResourceManager::GetDefaultFont_void_]
test eax, eax
je 0x42c3ed
mov eax, dword [eax + 4]
test eax, eax
je 0x42c3ed
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
mov ecx, esi
call sub.MFC71U.DLL_CListCtrl::SetBkImage
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x38]
add dword [esp + 0x28], 5
push ebx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call sub.MFC71U.DLL_CListCtrl::GetItemText
mov edi, dword [esi]
push 0x24
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [edi + 0x70]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x431180
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
mov eax, dword [0x4781d0]
push ebx
push esi
push edi
mov dword [esp + 0x54c], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x138], si
mov ecx, 0x81
lea edi, [esp + 0x13a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x348], si
mov esi, dword [sym.imp.MSVCR71.dll__snwprintf]
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x34a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x140]
push ecx
push str._sPhraseInfo.ini
lea edx, [esp + 0x350]
push 0x104
push edx
stosw word es:[edi], ax
call esi
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x32], ecx
mov dword [esp + 0x36], ecx
mov dword [esp + 0x3a], ecx
mov dword [esp + 0x3e], ecx
mov dword [esp + 0x42], ecx
mov dword [esp + 0x46], ecx
mov dword [esp + 0x4a], ecx
xor eax, eax
mov word [esp + 0x4e], cx
mov word [esp + 0x50], ax
mov word [esp + 0x30], ax
mov ecx, 0x3f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
add esp, 0x18
push edx
lea ecx, [esp + 0x18]
mov bl, 1
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
mov dword [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
movzx eax, bl
push eax
push str.Phrase_d
lea ecx, [esp + 0x20]
push 0x10
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x340]
push edx
push 0x80
lea eax, [esp + 0x40]
push eax
push 0x45c1cc
lea ecx, [esp + 0x28]
push ecx
push str.ServerChatShort
call edi
cmp word [esp + 0x38], 0
je 0x431339
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
mov byte [esp + 0x55c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
lea ecx, [esp + 0x10]
je 0x431368
inc bl
mov byte [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp word [esp + 0x38], 0
je 0x431339
cmp bl, 0x10
jb 0x431290
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54c]
call fcn.0044247b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, bl
jmp 0x431345
Function at 0x439ff0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x4781d0]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
push edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
push 0x40
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x45c1cc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x43a0b3
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00439f80
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00439f80
mov dword [edi + 4], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00439f80
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 8], eax
call fcn.00439f80
mov dword [edi + 0xc], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0044247b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0044247b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43a0d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x4781d0]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
push 0x40
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x45c1cc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x43a16f
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00439f80
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00439f80
mov dword [edi + 4], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0044247b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0044247b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43a190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x4781d0]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0x40
lea ecx, [esp + 0x18]
push ecx
push 0x45c1cc
push edx
push eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x43a245
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
call fcn.00439f80
xor ebx, ebx
mov bh, al
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00439f80
mov bl, al
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
shl ebx, 8
call fcn.00439f80
movzx edx, al
or ebx, edx
mov dword [edi], ebx
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0044247b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0044247b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x441270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x459c4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC71U.DLL_CWnd::CWnd
xor ebx, ebx
mov dword [esi], 0x468398
mov dword [esp + 0x60], ebx
mov dword [esi + 0x94], 0x468390
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
push ebx
push ebx
mov eax, 0xffff
push ebx
mov word [esi + 0x56], ax
mov word [esi + 0x58], ax
mov word [esi + 0x5a], ax
push ebx
lea eax, [esi + 0x80]
push eax
mov byte [esi + 0x54], bl
mov dword [esi + 0x90], ebx
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [0x47e400], ebx
jne 0x4412fd
mov dword [0x47e400], esi
lea ecx, [esp + 0x28]
call fcn.00406fa0
mov byte [esp + 0x60], 2
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x2000
push ebx
push ebx
push ebx
push 0xbb
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
call fcn.004046b0
mov ecx, dword [esp + 0x34]
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x38]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
mov edx, dword [esi + 0x7c]
mov edi, eax
lea eax, [edx + edx - 1]
push eax
push 2
lea ecx, [esp + 0x30]
call fcn.00440d70
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [sym.imp.SkinControl.dll_public:_struct_COLORHSB___thiscall_CSkinRenderManager::RGBToHSB_unsigned_long_int_]
mov ecx, dword [eax]
lea edx, [esi + 0x60]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x28]
mov dword [edx + 0x14], eax
call fcn.004078c0
mov ecx, dword [esp + 0x58]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x4421f2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4684f0
call fcn.004427a0
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x442232
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x442232
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44224a
cmp eax, 0x20b
je 0x442237
mov dword [ebp - 0x1c], edi
jmp 0x44225e
cmp dword [ecx + 0x84], 0xe
jbe 0x442232
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x442258
cmp dword [ecx + 0x74], 0xe
jbe 0x442232
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x47e5c0], 0xffffffff
or dword [0x47e5c4], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x47e418]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x47e414]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x47e5bc], eax
call fcn.004427f8
call fcn.00442898
cmp dword [0x4781f0], edi
jne 0x4422be
push fcn.00442898
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00442886
push 0x47808c
push 0x478088
call sub.MSVCR71.dll__initterm
push 0x44283c
call fcn.00442432
mov eax, dword [0x47e410]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x47e40c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x442312
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x478084
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x44233c
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x4423f6
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x4423ab
cmp ax, di
je 0x442352
cmp dword [ebp - 0x20], edi
jne 0x4423ab
mov ax, word [esi]
cmp ax, di
je 0x442367
cmp ax, 0x20
ja 0x442367
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x442352
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x442383
movzx eax, word [ebp - 0x54]
jmp 0x442386
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.004558f8
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x4423a3
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4423f0
cmp ax, 0x22
jne 0x4423bc
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x44233c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004427db
ret
Function at 0x442b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0x4685d4
push eax
push esi
mov byte [esp + 0x10], 0x89
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], 0x4e
mov byte [esp + 0x13], 0x47
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x442b32
pop esi
pop ecx
ret
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x442b45
pop ebx
pop esi
pop ecx
ret
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, 4
lea edi, [esp + 0x10]
mov esi, eax
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x442b64
sbb ebp, ebp
sbb ebp, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
xor eax, eax
test ebp, ebp
pop ebp
pop ebx
sete al
pop esi
pop ecx
ret

Function at 0x442b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x442bb0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x442bb0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x442bb4
xor eax, eax
pop esi
ret
xor ecx, ecx
cmp word [eax + 0xe], 0x20
push edi
sete cl
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret
Function at 0x4435a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x459c98
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4435e4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x4435f7
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x443617
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push ebx
mov ebx, dword [ebp + 8]
imul ebx, dword [ebp + 4]
shl ebx, 2
cmp word [ebp + 0xe], 0x20
mov dword [esp + 0x14], 0
jne 0x44371b
mov ecx, dword [esp + 0x40]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea edx, [ebx + 0x28]
cmp eax, edx
jb 0x44371b
lea ecx, [esp + 0x20]
call fcn.00441f4c
push 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.MFC71U.DLL_CAsyncSocket::Attach
push 0x34
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jne 0x4436a8
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC71U.DLL_CDBVariant::CDBVariant
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push 0
mov edi, eax
push 0
mov ecx, 0xa
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [eax + 0x14], ebx
mov edx, dword [esp + 0x34]
push eax
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
je 0x4436f8
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4436f8
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC71U.DLL_CDBVariant::CDBVariant
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop ebx
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x444520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x459d08
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
push esi
mov dword [ebp + 8], 0
call sub.MFC71U.DLL_CListBox::DeleteItem
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x444565
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
push ebx
push edi
mov edi, dword [esp + 0x48]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4445dc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4445dc
cmp ebx, 0xa
jb 0x4445dc
push 0
push ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC71U.DLL_CMemFile::CMemFile
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x44], 0
call fcn.00444430
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
call sub.MFC71U.DLL_CMapWordToPtr::CMapWordToPtr
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
mov ecx, dword [esp + 0x38]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x44a9d0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401c76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401588
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor eax, eax
mov edx, 0x40fae4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
call esi
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
push ecx
call fcn.00462b80
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ecx, dword [0x46c1f8]
mov edx, 0x40fb20
call esi
mov eax, dword [0x46c1f8]
mov edx, 0x40fb4c
lea ecx, [eax + 8]
call esi
mov ecx, dword [0x46c1f8]
mov edx, 0x40fb64
add ecx, 0x10
call esi
mov eax, dword [0x46c1f8]
mov edx, 0x40fb7c
lea ecx, [eax + 0x18]
call esi
mov ecx, dword [0x46c1f8]
mov edx, 0x40f990
add ecx, 0x20
call esi
mov eax, dword [0x46c1f8]
mov edx, 0x40f9a8
lea ecx, [eax + 0x28]
call esi
mov ecx, dword [0x46c1f8]
mov edx, 0x40fb94
add ecx, 0x30
call esi
mov eax, dword [0x46c1f8]
mov edx, 0x40fbac
lea ecx, [eax + 0x38]
call esi
mov ecx, dword [0x46c1f8]
mov edx, 0x40fbd8
add ecx, 0x40
call esi
mov eax, dword [0x46c1f8]
mov edx, 0x40fbf8
lea ecx, [eax + 0x48]
call esi
push 0x44aad1
jmp 0x44aad0
ret
Function at 0x86694a
Capabilities:
Execute anti-debugging instructions

Disassembly:
cld
jmp 0x866a33
rdtsc
mov eax, dword [esp]
mov eax, 0xe1dbc864
dec ebp
cpuid
std
jmp 0x8669b2
mov ebp, edi
lea eax, [ecx + ecx]
setns cl
lea ecx, reloc.KERNEL32.dll_SetLastError
rdtsc
xchg bl, al
jmp 0x866972
clc
not ecx
xchg ch, bh
mov bh, 0xb6
not ax
jmp 0x8669c3
mov ax, sp
push di
mov cx, bx
rdtsc
xchg byte [esp], dh
neg cl
jmp 0x86699c
lea edi, [edi*4]
mov dh, byte [esp + 1]
add edi, 0x9004d68e
push word [esp]
jmp 0x866a05
cld
xchg ecx, edx
mov ah, ch
xchg bx, ax
or ax, bx
bt bx, sp
jmp 0x866988
lea esi, [edi - 0xb4]
mov byte [esp], bl
mov dh, 0x4c
pushal
mov eax, ecx
jmp 0x866a98
add esp, 3
lea esp, [esp]
lea eax, [eax*4]
neg ecx
lea ebx, reloc.KERNEL32.dll_SetLastError
mov bl, 0xd1
jmp 0x8669ef
mov dword [esp], ecx
cld
pushal
lea esp, [esp + 0x24]
pushal
mov bp, word [esp]
jmp 0x8669df
mov ecx, dword [esp + 0x11]
xchg dword [esp + 8], edx
call fcn.00866a59
pushfd
pushal
popal
mov ebp, edi
pushfd
mov ch, ah
jmp 0x866b94
pop eax
lea esi, [ebp + 0xbb]
bsf di, dx
xchg cl, ch
jmp 0x866b17
xchg dx, si
cmc
rcl cx, cl
sub esp, 0x18
not di
pop word [esp]
jmp 0x866ad8
mov word [esp + 8], bp
add esp, 4
dec dx
mov byte [esp + 3], al
pop ax
jmp 0x866b6d
lea edi, reloc.KERNEL32.dll_SetLastError
mov word [esp + 0x17], bx
xchg esi, eax
popal
lea eax, [edx - 0xd6]
rdtsc
jmp 0x866b01
lea esp, [esp + 6]
mov word [esp + 0x18], dx
rdtsc
mov edx, dword [esp + 1]
lea edx, [edi*4]
lea ecx, [edi*4]
jmp 0x866aee
stc
xchg di, si
bswap ebp
xchg word [esp], ax
xchg dword [esp], ecx
mov bl, 0xda
jmp 0x866bf0
cpuid
dec cl
mov di, 0xef08
pop ecx
mov dword [esp], ecx
pop word [esp + 1]
jmp 0x866b57
pop si
not ebp
pop dword [esp]
xchg dword [esp], edi
bsr ebp, ebx
sub esp, 0x1f
jmp 0x866b38
dec eax
mov bx, 0x9359
mov bp, 0x996d
neg eax
mov di, word [esp]
pushfd
jmp 0x866bd0
btr esi, ebx
bswap ebx
bsr bx, dx
bts eax, ebp
mov dx, di
bsf edx, esi
jmp 0x866ba6
bswap edi
mov dh, 0x5e
mov cl, 0x4d
lea ebx, [eax + edi]
mov di, word [esp + 1]
push dword [esp]
jmp 0x866c74
mov dl, 0x30
xchg word [esp + 1], cx
xchg dword [esp], ebp
lea esi, [eax + ebp]
pop ebp
cpuid
jmp 0x866bbc
xchg dword [esp + 4], eax
call fcn.00866c02
pop word [esp + 7]
xchg bl, ch
mov byte [esp + 8], ah
mov byte [esp + 0xb], dl
jmp 0x866c4f
pop word [esp + 1]
mov ah, 0x3b
sub esp, 0x1f
mov byte [esp + 0x10], ah
mov byte [esp + 7], bh
std
jmp 0x866ca5
mov ecx, 0xb97646c
bsf ax, dx
lea ebx, [edx*4]
mov bx, si
push dword [esp + 5]
bswap ebp
jmp 0x866c18
xchg byte [esp + 9], bh
bsf edi, esi
sbb ah, 0xb8
xchg dh, ah
call 0x866d0f
jne 0x866d06
xchg edi, eax
dec cl
mov edx, ecx
popal
cld
mov dh, byte [esp + 0xd]
lea esp, [esp + 5]
not dx
jmp 0x866c8f
cmp dh, byte [edx + 0x66b24720]
xor ebp, dword [edx]
inc ebp
cmc
sub esp, 0x16
jmp 0x866cef