joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424630
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x457194]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x264], eax
mov eax, dword [esi + 0x6c]
xor ebp, ebp
cmp eax, ebp
jne 0x424668
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x25c]
call fcn.0043bb6f
add esp, 0x260
ret 4
cmp dword [esi + 0x20], ebp
jne 0x4246a8
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call sub.MFC71U.DLL_AfxGetStringManager
cmp eax, ebp
je 0x42468f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x424691
xor eax, eax
mov edx, dword [esi]
push ebp
push 0x64
push eax
lea eax, [esp + 0x14]
push eax
push 0x40000000
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x5c]
cmp dword [esi + 0x2ac], ebp
push ebx
push edi
jne 0x4246fe
lea ecx, [esi + 0x74]
call fcn.00423880
test al, al
je 0x4247cf
mov edi, dword [esi + 0x2ac]
mov edx, dword [esi + 0x54]
mov ebx, dword [edi]
lea ecx, [esi + 0x54]
push 0x6010100
push 0x449a64
call dword [edx + 4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
test al, al
je 0x4247cf
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x4247cf
mov eax, dword [esi + 0x5c]
cmp eax, ebp
lea ebx, [esi + 0x5c]
je 0x42474b
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42474b
mov eax, dword [esi + 0x70]
cmp eax, ebp
je 0x4247e5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4247e5
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push 1
call dword [edx + 0x10]
push 0x65
push 2
mov ecx, esi
call fcn.00423d30
jmp 0x4247e5
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, dword [esp + 0x274]
mov eax, edi
cdq
push edx
push eax
push ecx
push 0x449c68
lea edx, [esp + 0x74]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x18
push ebx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x4000000
push ebp
push ebp
push ebp
lea ecx, [esp + 0x84]
push ecx
push ebp
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 3
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4247d3
xor edx, edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
xor al, al
jmp 0x4247e7
mov eax, dword [esi + 0x20]
push ebp
push 0x4e20
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x26c]
pop edi
pop ebx
pop esi
pop ebp
call fcn.0043bb6f
add esp, 0x260
ret 4
Function at 0x426670
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43f149
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 0x4266e9
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4266d4
cmp ecx, 5
jne 0x4266e9
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4266b4
lea eax, [edi + 0x68]
jmp 0x4266c2
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 0x42670d
mov eax, dword [eax + 4]
test eax, eax
je 0x42670d
mov ecx, dword [esi + 4]
push eax
push ecx
jmp 0x426707
lea eax, [edi + 0x68]
test eax, eax
je 0x42670d
mov eax, dword [eax + 4]
test eax, eax
je 0x42670d
mov edx, dword [esi + 4]
push eax
push edx
jmp 0x426707
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 0x42670d
mov eax, dword [eax + 4]
test eax, eax
je 0x42670d
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]
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 0x429660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
cmp word [ebp + 0xc], 0x14a
mov eax, dword [0x457194]
push ebx
push esi
mov dword [esp + 0x160], eax
push edi
mov esi, ecx
je 0x42969c
xor al, al
mov ecx, dword [esp + 0x164]
call fcn.0043bb6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x12
jne 0x4296c0
mov edx, dword [ebx + 6]
mov eax, dword [esi + 0x522c]
push edx
lea edx, [ebx + 0x4a]
push edx
lea ecx, [esi + 0x522c]
lea edx, [ebx + 0xa]
push edx
call dword [eax + 0x44]
cmp word [ebx], 0x13
jne 0x4296e1
mov edx, dword [ebx + 6]
mov eax, dword [esi + 0x522c]
push edx
lea edx, [ebx + 0x4a]
push edx
lea ecx, [esi + 0x522c]
lea edx, [ebx + 0xa]
push edx
call dword [eax + 0x48]
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [ebx + 2], eax
jne 0x42971f
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp word [ebx], 0x12
jne 0x429705
dec word [eax]
cmp word [ebx], 0x13
jne 0x42970f
dec word [eax + 2]
mov ecx, dword [esi + 0x1ee0]
test ecx, ecx
je 0x42971f
call dword [sym.imp.GameProperty.dll_public:_void___thiscall_CDlgTrumpetItem::UpdateControlSurface_void_]
lea ecx, [esi + 0x1ad4]
mov dword [esp + 0xc], ecx
call fcn.00423860
test al, al
je 0x42977b
mov eax, dword [ebx + 2]
mov cx, word [ebx]
mov edx, dword [ebx + 6]
mov word [esp + 0x10], cx
mov dword [esp + 0x14], eax
push 0x14c
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x14]
lea esi, [ebx + 0xa]
mov ecx, 0x10
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push eax
lea esi, [ebx + 0x4a]
mov ecx, 0x40
lea edi, [esp + 0x64]
push 0x68
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push 5
call fcn.00423d60
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov cl, byte [eax + 0x1a]
test cl, cl
je 0x429806
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov esi, dword [eax + 8]
call dword [sym.imp.GameEngine.dll_public:_static_class_CD3DSound____cdecl_CD3DSound::GetInstance_void_]
test eax, eax
je 0x4297bf
cmp word [ebx], 0x12
mov ecx, str.BUGLE
je 0x4297aa
mov ecx, 0x44a7e8
push 0
push 0x44871c
push ecx
push esi
mov ecx, eax
call dword [sym.imp.GameEngine.dll_public:_bool___thiscall_CD3DSound::PlaySoundW_struct_HINSTANCE_____wchar_t_const___wchar_t_const___bool_]
test al, al
jne 0x429806
cmp word [ebx], 0x12
mov eax, str.BUGLE
je 0x4297cf
mov eax, 0x44a7e8
push 0x44871c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x429806
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4297ff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 7
push esi
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x164]
mov al, 1
call fcn.0043bb6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42aab0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
mov eax, dword [0x457194]
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]
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 0x4420cc
lea ecx, [esp + 0x28]
push ecx
push str.ServerChatShort
call edi
cmp word [esp + 0x38], 0
je 0x42ac69
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
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 0x42ac98
inc bl
mov byte [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp word [esp + 0x38], 0
je 0x42ac69
cmp bl, 0x10
jb 0x42abc0
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.0043bb6f
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 0x42ac75
Function at 0x42ccf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43f7e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x37f8]
lea ebp, [esi + 0x37f8]
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
mov dword [esp + 8], eax
call dword [edx + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc8]
shr eax, 4
test al, 1
je 0x42cd72
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
cmp ax, 0x64
jb 0x42cd72
mov eax, dword [esp + 0x28]
pop esi
mov word [eax + 8], 0
mov word [eax + 0xa], 0x64
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [ebp]
push ebx
xor esi, esi
push edi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
test ax, ax
mov edi, dword [esp + 0x30]
jbe 0x42ce87
nop
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
movzx ecx, ax
movzx eax, word [edi + 6]
movzx edx, si
add eax, edx
cdq
idiv ecx
cmp word [esp + 0x18], dx
mov word [edi + 8], dx
je 0x42ce6d
mov eax, dword [ebp]
push edx
mov ecx, ebp
call dword [eax + 0x40]
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
cmp al, 1
je 0x42ce6d
cmp byte [edi + 4], 1
jne 0x42cde5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp al, 1
je 0x42ce6d
mov edx, dword [esi]
lea ebx, [edi + 0xa]
push ebx
mov ecx, esi
call dword [edx + 8]
mov esi, eax
test si, si
jbe 0x42ce6d
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
xor ecx, ecx
mov cx, word [ebx]
xor edx, edx
mov dx, word [edi + 8]
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x30], 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.0042a2f0
test al, al
je 0x42ce5b
cmp byte [edi], 1
jne 0x42ce35
cmp si, 1
je 0x42cea9
cmp byte [edi + 1], 1
jne 0x42ce41
cmp si, 2
je 0x42cea9
cmp byte [edi + 3], 1
jne 0x42ce4e
cmp si, word [esp + 0x10]
jb 0x42cea9
cmp byte [edi + 2], 1
jne 0x42ce5b
cmp si, word [esp + 0x10]
je 0x42cea9
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
inc esi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
cmp si, ax
jb 0x42cd90
mov eax, 0xffff
mov word [edi + 8], ax
mov word [edi + 0xa], ax
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4335e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x457194]
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 0x4420cc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x4336a3
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00433570
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00433570
mov dword [edi + 4], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00433570
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 8], eax
call fcn.00433570
mov dword [edi + 0xc], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0043bb6f
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0043bb6f
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4336c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x457194]
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 0x4420cc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x43375f
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00433570
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00433570
mov dword [edi + 4], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0043bb6f
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0043bb6f
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433780
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x457194]
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 0x4420cc
push edx
push eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x433835
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
call fcn.00433570
xor ebx, ebx
mov bh, al
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00433570
mov bl, al
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
shl ebx, 8
call fcn.00433570
movzx edx, al
or ebx, edx
mov dword [edi], ebx
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0043bb6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0043bb6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433ff0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43fbe7
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 edi, dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
lea ecx, [esi + 0x138c]
mov dword [esp + 0x14], esi
mov dword [esi], 0x44bd18
call edi
mov ebp, dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::constructor_void_]
xor ebx, ebx
lea ecx, [esi + 0x1394]
mov dword [esp + 0x20], ebx
call ebp
lea ecx, [esi + 0x13c4]
mov byte [esp + 0x20], 1
call ebp
lea ecx, [esi + 0x13f4]
mov byte [esp + 0x20], 2
call ebp
lea ecx, [esi + 0x1424]
mov byte [esp + 0x20], 3
call edi
lea ecx, [esi + 0x142c]
mov byte [esp + 0x20], 4
call edi
lea ecx, [esi + 0x1434]
mov byte [esp + 0x20], 5
call edi
lea ecx, [esi + 0x143c]
mov byte [esp + 0x20], 6
call edi
lea ecx, [esi + 0x1444]
mov byte [esp + 0x20], 7
call edi
mov byte [esi + 0x1c], 1
mov byte [esi + 0x1e], 1
mov byte [esi + 0x1f], 1
mov byte [esi + 0x20], 1
mov byte [esi + 0x1d], bl
mov byte [esi + 0x21], bl
mov byte [esi + 0x22], 1
mov byte [esi + 0x23], 1
mov word [esi + 0x24], bx
mov word [esi + 0x26], bx
mov word [esi + 0x28], bx
mov word [esi + 0x2a], bx
mov word [esi + 0x2c], bx
mov dword [esi + 0xfe8], ebx
mov dword [esi + 0xfec], ebx
mov dword [esi + 0xff0], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x20], 8
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
lea ebp, [esi + 0x9a8]
lea edi, [esi + 0x48]
mov dword [esp + 0x10], 0x64
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x640]
push eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.USER32.dll_SetRect]
push ebx
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x10]
add edi, 8
add ebp, 0x10
dec eax
mov dword [esp + 0x10], eax
jne 0x434113
xor eax, eax
mov ecx, 0x64
lea edi, [esi + 0xff4]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x1184]
rep stosd dword es:[edi], eax
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_struct_HINSTANCE_____wchar_t_const__]
push str.TABLE_READY
push eax
lea ecx, [esi + 0x142c]
call edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push str.TABLE_LOCKER
push eax
lea ecx, [esi + 0x1434]
call edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x44bcc4
push eax
lea ecx, [esi + 0x1444]
call edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x44bca4
push eax
lea ecx, [esi + 0x143c]
call edi
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x434da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov di, word [esi + 0x62]
test di, di
je 0x434e69
mov ebp, dword [esi + 0x9c]
test ebp, ebp
jle 0x434e69
mov ebx, dword [esi + 0xa0]
test ebx, ebx
jle 0x434e69
mov eax, dword [esp + 0x38]
cmp ebp, eax
mov dword [esp + 0x10], ebp
jg 0x434de2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov dword [esp + 0x14], ebx
jg 0x434df2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cdq
idiv ebp
mov ecx, eax
movzx eax, di
lea eax, [eax + ecx - 1]
cdq
idiv ecx
mov dword [esi + 0x78], ecx
mov edi, eax
mov eax, dword [esp + 0x14]
cdq
idiv ebx
cmp word [esi + 0x62], 1
mov dword [esi + 0x7c], edi
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x88], ebx
jne 0x434e55
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
cmp ebx, edi
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x70], eax
jl 0x434e4e
imul edi, dword [esi + 0xa0]
mov eax, ebx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x74], eax
jmp 0x434e6d
xor eax, eax
mov dword [esi + 0x74], eax
jmp 0x434e6d
imul ecx, ebp
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], eax
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x88]
imul eax, ecx
imul edx, ecx
mov ecx, eax
sub ecx, edx
mov edx, dword [esi + 0x80]
cmp edx, ecx
mov dword [esi + 0x84], eax
mov edi, edx
jl 0x434e9a
mov edi, ecx
test edi, edi
jge 0x434ea2
xor ecx, ecx
jmp 0x434ea8
cmp edx, ecx
jge 0x434ea8
mov ecx, edx
test byte [esi + 0x6c], 4
mov dword [esi + 0x80], ecx
push 0
jne 0x434ef2
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], ecx
push 1
mov ecx, esi
mov dword [esp + 0x24], 0x1c
mov dword [esp + 0x28], 7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], ebx
call sub.MFC71U.DLL_CDockState::SetScreenSize
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [esi + 0x20]
push 3
push ecx
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov eax, dword [esi + 0x163c]
test eax, eax
je 0x434f2b
mov eax, dword [esi + 0x1584]
mov edx, dword [esp + 0x38]
push 0x114
sub ebx, eax
push ebx
push edx
push eax
push 0
push 0
lea ecx, [esi + 0x161c]
call sub.MFC71U.DLL_COleControlSite::SetWindowPos
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8