joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
push 0x404
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004afbb4
add esp, 0xc
mov dword [ebp - 0x420], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x428], esi
test esi, esi
jne 0x489e82
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x428], eax
test esi, esi
jne 0x489e82
call fcn.00414750
mov edi, eax
jmp 0x489f73
push dword [ebp - 0x424]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x489ea0
call fcn.00414750
jmp 0x489f66
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x489ebe
call fcn.00414750
jmp 0x489f66
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x430], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x489edf
mov edi, 0x8007000e
jmp 0x489f68
mov byte [ebp - 4], 2
lfence
push eax
lea ecx, [ebp - 0x420]
call fcn.00487250
mov dword [ebp - 4], 1
jmp 0x489f1a
mov eax, dword [ebp - 0x420]
test eax, eax
jne 0x489f2b
mov edi, 0x8007000e
jmp 0x489f68
lfence
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x489f49
call fcn.00414750
jmp 0x489f66
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x420]
lea ecx, [ebp - 0x1c]
call fcn.00489c10
mov edi, eax
test esi, esi
je 0x489f73
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x489f90
lea ecx, [ebp - 0x420]
call fcn.004876d0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48c780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1413
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x532804]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], eax
je 0x48c7d9
lea ecx, [ebx + 0xa8]
mov dword [ebx + 0x5c], 0x4eed00
call dword [0x4d96cc]
mov dword [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x10], eax
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 2
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 0x20], eax
mov dword [ebp - 4], 5
mov dword [ebx], vtable.wui::control::Subclassed_class_wui::control::CueEdit__class_WTL::CEditT_class_ATL::CWindow___class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebx + 0x24], 0
mov dword [ebp - 4], 6
xor eax, eax
mov dword [ebx], vtable.wui::control::CueEdit.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 7
mov word [ebx + 0x28], ax
mov byte [ebp - 4], 7
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], 7
mov word [ebx + 0x40], ax
mov dword [ebp - 4], 9
lea ecx, [ebx + 0x58]
push eax
call dword [0x4da4f0]
mov byte [ebp - 4], 0xa
lea edi, [ebx + 0x60]
mov dword [ebx], vtable.wui::control::DirtyEdit.0
lea ecx, [edi + 0x10]
mov dword [ebx + 0x58], vtable.wui::control::DirtyEdit.1.0
mov dword [ebp - 0x1c], edi
mov dword [edi + 4], 0x4eecc0
mov dword [edi + 0x14], 0x4eecd0
mov dword [edi + 0x30], 0x4eecd8
call dword [0x4d96cc]
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x14]
or dword [ebp - 0x10], 2
push 0
call dword [0x4d9860]
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x10]
or eax, 4
mov dword [ebp - 0x10], eax
mov dword [edi + 0x2c], vtable.cui::PropertyTypeHelper_enum_wui::control::DirtyEdit::DirtyState_.0
mov dword [ebp - 4], 0xd
or eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi], vtable.cui::Property_enum_wui::control::DirtyEdit::DirtyState_.0
mov eax, dword [eax + 0xc]
mov dword [eax + edi + 4], vtable.cui::Property_enum_wui::control::DirtyEdit::DirtyState_.1.0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0x28]
mov dword [ecx + edi], eax
mov byte [edi + 8], 1
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0xe
lea ecx, [ebx + 0x94]
call dword [0x4d96f0]
mov byte [ebp - 4], 0xf
lea ecx, [ebx + 0x98]
mov dword [ebp - 0x20], ecx
call dword [0x4d96ac]
mov byte [ebp - 4], 0x12
lea ecx, [ebx + 0xa0]
mov dword [ebp - 0x24], ecx
call dword [0x4d96ac]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48e9e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b94
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x532804]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x48eacc
lea ecx, [esi + 0x44]
mov dword [esi + 0x20], 0x4ef758
mov dword [esi + 0x4c], 0x4ef770
mov dword [esi + 0x88], 0x4ef778
mov dword [esi + 0x9c], 0x4ef784
mov dword [esi + 0xa4], 0x4ef794
call dword [0x4d96cc]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x48]
push 0
mov dword [ebp - 0x10], 1
call dword [0x4d9894]
mov dword [ebp - 4], 1
lea ecx, [esi + 0x84]
push 0
mov dword [ebp - 0x10], 3
call dword [0x4d989c]
mov dword [ebp - 4], 2
lea ecx, [esi + 0x98]
push 0
mov dword [ebp - 0x10], 7
call dword [0x4da4e8]
mov dword [ebp - 4], 3
lea ecx, [esi + 0xa0]
push 0
mov dword [ebp - 0x10], 0xf
call dword [0x4da4f0]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0x1f
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 9
mov eax, dword [esi + 0x20]
mov dword [esi], vtable.wui::DialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__.0
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__.1.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xc]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__.2.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x10]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__.3.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x14]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::VMRCWelcomePage__class_ATL::CWindow__.4.0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0x64]
mov dword [ecx + esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x10]
lea eax, [ecx - 0x78]
mov dword [ecx + esi + 0x1c], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov word [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x40]
call dword [0x4d96cc]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48ee90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1dde
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x532804]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x48ef87
lea ecx, [ebx + 0x7a8]
mov dword [ebx + 0x20], 0x4efadc
mov dword [ebx + 0x7b0], 0x4efaf4
mov dword [ebx + 0x7ec], 0x4efafc
mov dword [ebx + 0x800], 0x4efb08
mov dword [ebx + 0x808], 0x4efb18
call dword [0x4d96cc]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x7ac]
push 0
mov dword [ebp - 0x10], 1
call dword [0x4d9894]
mov dword [ebp - 4], 1
lea ecx, [ebx + 0x7e8]
push 0
mov dword [ebp - 0x10], 3
call dword [0x4d989c]
mov dword [ebp - 4], 2
lea ecx, [ebx + 0x7fc]
push 0
mov dword [ebp - 0x10], 7
call dword [0x4da4e8]
mov dword [ebp - 4], 3
lea ecx, [ebx + 0x804]
push 0
mov dword [ebp - 0x10], 0xf
call dword [0x4da4f0]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0x1f
push 0
push 0x6000000
push 1
push 0
mov ecx, ebx
call fcn.0048ebb0
mov dword [ebp - 4], 5
mov eax, dword [ebx + 0x20]
mov dword [ebx], vtable.player::VMRCWelcomePage.0
mov dword [ebx + 0x44], vtable.player::VMRCWelcomePage.1.0
mov eax, dword [eax + 8]
mov dword [eax + ebx + 0x20], vtable.player::VMRCWelcomePage.2.0
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0xc]
mov dword [eax + ebx + 0x20], vtable.player::VMRCWelcomePage.3.0
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x10]
mov dword [eax + ebx + 0x20], vtable.player::VMRCWelcomePage.4.0
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x14]
mov dword [eax + ebx + 0x20], vtable.player::VMRCWelcomePage.5.0
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0x7c8]
mov dword [ecx + ebx + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x10]
lea eax, [ecx - 0x7dc]
mov dword [ecx + ebx + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x124]
call fcn.00409d80
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x1e8]
call fcn.004a4060
mov byte [ebp - 4], 8
lea ecx, [ebx + 0x2bc]
call fcn.004a43b0
mov byte [ebp - 4], 9
lea edi, [ebx + 0x388]
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.0040a4a0
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x28]
call fcn.004066b0
mov byte [ebp - 4], 0xb
mov dword [edi], vtable.dal::CText.0
mov dword [edi + 0x28], vtable.dal::CText.1.0
mov dword [edi + 0x2c], vtable.dal::CText.2.0
mov dword [edi + 0x30], vtable.dal::CText.3.0
mov byte [ebp - 4], 0xc
lea ecx, [ebx + 0x48c]
call fcn.004a3e80
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 0x558]
call fcn.0048ee00
mov byte [ebp - 4], 0xe
lea ecx, [ebx + 0x678]
call fcn.0048ee00
mov byte [ebp - 4], 0xf
mov dword [ebx + 0x798], 0
mov dword [ebx + 0x79c], 0
mov dword [ebx + 0x7a0], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4928d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b94
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x532804]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x4929bc
lea ecx, [esi + 0x44]
mov dword [esi + 0x20], 0x4f0040
mov dword [esi + 0x4c], 0x4f0058
mov dword [esi + 0x88], 0x4f0060
mov dword [esi + 0x9c], 0x4f006c
mov dword [esi + 0xa4], 0x4f007c
call dword [0x4d96cc]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x48]
push 0
mov dword [ebp - 0x10], 1
call dword [0x4d9894]
mov dword [ebp - 4], 1
lea ecx, [esi + 0x84]
push 0
mov dword [ebp - 0x10], 3
call dword [0x4d989c]
mov dword [ebp - 4], 2
lea ecx, [esi + 0x98]
push 0
mov dword [ebp - 0x10], 7
call dword [0x4da4e8]
mov dword [ebp - 4], 3
lea ecx, [esi + 0xa0]
push 0
mov dword [ebp - 0x10], 0xf
call dword [0x4da4f0]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0x1f
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 9
mov eax, dword [esi + 0x20]
mov dword [esi], vtable.wui::DialogImpl_class_player::WelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::WelcomePage__class_ATL::CWindow__.0
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::WelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::WelcomePage__class_ATL::CWindow__.1.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xc]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::WelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::WelcomePage__class_ATL::CWindow__.2.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x10]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::WelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::WelcomePage__class_ATL::CWindow__.3.0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x14]
mov dword [eax + esi + 0x20], vtable.wui::DialogImpl_class_player::WelcomePage__class_ATL::CWindow__class_ATL::CDialogImpl_class_player::WelcomePage__class_ATL::CWindow__.4.0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0x64]
mov dword [ecx + esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x10]
lea eax, [ecx - 0x78]
mov dword [ecx + esi + 0x1c], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov word [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x40]
call dword [0x4d96cc]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4a1cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
push ebx
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x4a1d7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x4a1d58
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.004a2200
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Failed_to_find_resource__name:__S__type:__S__error:_0x_08X__n
call fcn.004b02bf
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x4a1ddd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x4a1dba
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.004a2200
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Unable_to_find_resource_size__name:__S__type:__S__error:_0x_08X__n
call fcn.004b02bf
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x88]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4a1e3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x4a1e1b
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.004a2200
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Failed_to_load_resource__name:__S__type:__S__error:_0x_08X__n
call fcn.004b02bf
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4a1e99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x4a1e76
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.004a2200
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Failed_to_lock_resource__name:__S__type:__S__error:_0x_08X__n
call fcn.004b02bf
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x90]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
Function at 0x4a3f30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d705e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x532804]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x48], 0
mov al, byte [edi + 0x58]
and al, 0xe1
mov dword [edi + 0x4c], 0xff0000
or al, 1
mov dword [edi + 0x50], 0x800080
mov byte [edi + 0x58], al
lea eax, [edi + 0x38]
push eax
mov dword [edi + 0x54], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [ebp - 4], 5
mov dword [edi], vtable.wui::control::CHyperLink.0
mov dword [edi + 0x5c], 0
mov dword [ebp - 4], 6
lea ecx, [edi + 0x60]
call fcn.004a3690
mov byte [ebp - 4], 7
mov dword [edi], vtable.dal::CHyperLink.0
mov dword [edi + 0x60], vtable.dal::CHyperLink.1.0
mov dword [edi + 0x64], vtable.dal::CHyperLink.2.0
mov dword [edi + 0x68], vtable.dal::CHyperLink.3.0
mov dword [edi + 0x7c], 0x50010000
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a75b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7580
mov eax, dword fs:[0]
push eax
sub esp, 0xc18
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc24], esi
push dword [esi + 4]
lea eax, [ebp - 0xc1c]
mov dword [ebp - 0xc14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0xc1c], xmm0
call fcn.004a9920
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc18]
mov eax, edx
mov ecx, dword [ebp - 0xc1c]
sub eax, ecx
mov byte [ebp - 0xc20], 0
push dword [ebp - 0xc20]
sar eax, 1
push eax
push edx
push ecx
call fcn.004a3460
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004afbb4
mov eax, dword [ebp - 0xc18]
add esp, 0x1c
mov edi, dword [ebp - 0xc1c]
xor edx, edx
sub eax, edi
sar eax, 1
dec eax
mov dword [ebp - 0xc20], eax
test eax, eax
jle 0x4a76b9
nop dword [eax + eax]
movzx esi, word [edi + edx*2]
movzx eax, word [edi + edx*2 + 2]
cmp si, ax
jne 0x4a76aa
lea eax, [ebp - 0x410]
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a7687
sub eax, ebx
sar eax, 1
je 0x4a76a2
cmp word [ebp + eax*2 - 0x412], si
je 0x4a76aa
mov word [ebp + eax*2 - 0x410], si
inc edx
cmp edx, dword [ebp - 0xc20]
jl 0x4a7670
mov esi, dword [ebp - 0xc24]
lea ebx, [ebp - 0x410]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4a76c2
push dword [esi + 4]
sub ebx, ecx
mov ecx, esi
call fcn.004a9d20
sar ebx, 1
mov esi, eax
mov dword [ebp - 0xc20], esi
jne 0x4a76ed
test esi, esi
je 0x4a77cc
push 0x800
lea eax, [ebp - 0xc10]
push 0
push eax
call fcn.004afbb4
add esp, 0xc
mov eax, str.Mnemonics_found_on_OK__Cancel_and_or_Help_buttons.
test esi, esi
mov edx, 0x4de014
cmove eax, edx
test ebx, ebx
je 0x4a771f
mov ecx, 0x4f2758
test esi, esi
jne 0x4a7724
mov ecx, 0x4de014
push eax
push ecx
test ebx, ebx
lea eax, [ebp - 0x410]
cmove eax, edx
push eax
mov eax, 0x4f275c
cmove eax, edx
push eax
push str._s_s_s_s
lea eax, [ebp - 0xc10]
push 0x400
push eax
call fcn.004ae820
add esp, 0x1c
cmp dword [ebp + 8], 0
je 0x4a77ac
mov edi, dword [ebp - 0xc24]
push 0x4e5750
mov edi, dword [edi + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov edi, eax
lea eax, [ebp - 0xc10]
push 0x30
push str.Warning
push eax
mov ecx, dword [edi]
push 1
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0xc20]
lea eax, [ebp - 0xc10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4f2758
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebx, ebx
jne 0x4a77d0
test esi, esi
jne 0x4a77d0
xor esi, esi
jmp 0x4a77d5
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc1c]
call fcn.0042d370
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret 4
Function at 0x4a7ba0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d75fd
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x58], 8
je 0x4a7bdf
push dword [esi + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [esi + 0x58], 0xf7
mov edi, dword [esi + 0x34]
mov dword [ebp - 0x70], 0
test edi, edi
jne 0x4a7bf7
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push 0x5c
push 0
push eax
call fcn.004afbb4
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esi + 0x54]
mov eax, ecx
and eax, 0x30
cmp al, 0x30
jne 0x4a7c33
mov dword [ebp - 0x5c], 0x2bc
jmp 0x4a7c45
movzx eax, byte [ebp - 0x57]
test cl, 1
mov ecx, 1
cmove eax, ecx
mov byte [ebp - 0x57], al
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret

Function at 0x4a8220
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x4e5750
mov eax, dword [edi]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
mov edi, eax
push 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4da544]
mov ecx, edi
call esi
push 0x400
mov esi, eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.004afbb4
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x404]
push eax
call fcn.004a82b0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.004aeb30
mov esp, ebp
pop ebp
ret