joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426390
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push str.A7AC626F_0C9F_45e7_A8C5_005C30A30389
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4526e4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42647c
lea edi, [eax + 0x11]
lea eax, [ebp - 4]
push 0x43d484
push eax
call fcn.0042aaf0
mov eax, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
add esp, 8
push 0
push eax
call ebx
lea ecx, [ebp - 4]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test esi, esi
jne 0x42642a
test edi, edi
jle 0x426426
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 8]
push str.IDS_QPUpdate_DialogTitle
push ecx
call fcn.0042aaf0
mov eax, dword [eax]
add esp, 8
push eax
push 0
call ebx
lea ecx, [ebp - 8]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
sub edi, 0x64
test esi, esi
je 0x4263ee
jmp 0x42642a
test esi, esi
je 0x42645f
push 0
push 0x64
push 2
push 0
push 0
push 0x47f
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x42645f
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42645f
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4526e4]
cmp eax, 0xffffffff
je 0x426470
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426cc0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4511a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.00417e46
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x426d31
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x426d31
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x426d31
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417d0e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00417d0e
mov esp, ebp
pop ebp
ret
Function at 0x427220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434037
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4511a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x220]
push eax
push 0x1a
push 0
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea eax, [ebp - 0x218]
push eax
push str._sTencentQQPlayer_
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x21c], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417d0e
mov esp, ebp
pop ebp
ret

Function at 0x4277b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4347b6
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4511a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
push str.3.7.892.400
mov ecx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x22c], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov eax, 1
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x220], edi
mov word [ebp - 0x218], di
call fcn.00417e46
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x21c]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push 0x4408f8
push connect
mov dword [ebp - 0x230], 0x104
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x427920
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x224]
push edx
push edi
push str.DebugMode
push esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x42790f
cmp dword [ebp - 0x224], 4
jne 0x42790f
cmp dword [ebp - 0x220], 1
jne 0x42790f
cmp esi, edi
je 0x4278c9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], edi
push SysStringLen
mov edx, str.SOFTWARETencentQQPlayer
lea esi, [ebp - 0x21c]
call fcn.004024b0
test eax, eax
jne 0x42790f
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x218]
push ecx
push str.Version
mov ecx, esi
call fcn.00402590
test eax, eax
jne 0x42790f
lea edx, [ebp - 0x218]
push edx
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x427920
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
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.00417d0e
mov esp, ebp
pop ebp
ret
Function at 0x427be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareTencentQQPlayerOption
push connect
mov dword [ebp - 4], 0
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427c54
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.LastPartUpdateTime
mov edi, 4
push esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427c40
cmp dword [ebp - 0x10], edi
je 0x427c47
mov dword [ebp - 4], 0
test esi, esi
je 0x427c54
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
test esi, esi
mov edi, dword [ebp - 4]
je 0x427c62
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x427c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareTencentQQPlayerOption
push connect
mov dword [ebp - 4], 0x15180
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x427ce7
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.PartUpdatePeriod
mov edi, 4
push esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427cd7
cmp dword [ebp - 0x10], edi
je 0x427cde
mov dword [ebp - 4], 0x15180
test esi, esi
je 0x427ce7
push esi
call ebx
xor esi, esi
test esi, esi
mov edi, dword [ebp - 4]
je 0x427cf1
push esi
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareTencentQQPlayerOption
push connect
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427d87
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push eax
push str.LastPartUpdateTime
push esi
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x427d86
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427d90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareTencentQQPlayerOption
push connect
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427de7
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push eax
push str.PartUpdateRunPriority
push esi
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x427de6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x428aa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435904
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4511a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x2c0], edi
jne 0x428b24
cmp dword [ebx + 0x2ac], 1
jne 0x428c06
lea eax, [esp + 0x14]
push 0x440a18
push eax
call fcn.0042aaf0
add esp, 8
push edi
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
push edi
push ecx
call sub.MFC80U.DLL_Ordinal_1118
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2ac]
cmp eax, edi
jne 0x428b43
mov edx, dword [ebx + 0x318]
mov eax, dword [edx + 0x18]
lea ecx, [ebx + 0x318]
push 1
call eax
jmp 0x428b5a
cmp eax, 1
jne 0x428b5a
mov ecx, dword [ebx + 0x2b4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00427f30
mov ecx, ebx
call fcn.00428010
mov ecx, dword [0x452afc]
cmp ecx, edi
je 0x428b7a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x452afc], edi
mov ecx, dword [ebx + 0x2f4]
mov edx, dword [ecx + 4]
lea esi, [ebx + 0x2f0]
push edx
mov ecx, esi
call fcn.004038e0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov edi, dword [ebx + 0x304]
cmp dword [ebx + 0x300], edi
lea esi, [ebx + 0x2fc]
jbe 0x428bbf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x14], eax
jbe 0x428bd5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
push edi
push esi
push eax
push esi
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004033f0
lea edi, [ebx + 0x30c]
call fcn.00403170
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, ebx
call sub.MFC80U.DLL_Ordinal_1894
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43483d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x4511a0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call sub.MFC80U.DLL_Ordinal_2366
push eax
lea ecx, [esp + 0x30]
call sub.MFC80U.DLL_Ordinal_330
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call sub.MFC80U.DLL_Ordinal_2366
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_5609
cmp dword [esi + 0x188], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x42c3c1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x184]
call sub.MFC80U.DLL_Ordinal_1270
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x194]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_1271
test edi, edi
je 0x42c37b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x188]
push edi
push eax
call sub.MFC80U.DLL_Ordinal_5633
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x19c], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x188]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x184]
test edx, edx
je 0x42c3de
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC80U.DLL_Ordinal_589
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x42cde0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x258
mov eax, dword [0x4511a0]
xor eax, esp
mov dword [esp + 0x254], eax
cmp dword [0x452db0], 0
jne 0x42cebd
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push connect
mov dword [0x452db0], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42cebd
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ceb3
push esi
push edi
mov ecx, 0xb
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x42ceb1
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi*2 + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42ceb1
mov dword [0x452dac], 1
pop edi
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x254]
mov eax, dword [0x452dac]
xor ecx, esp
call fcn.00417d0e
add esp, 0x258
ret

Function at 0x42d7a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push 2
push 0xffff
call sub.MFC80U.DLL_Ordinal_1058
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 2
mov edi, eax
push 0xffff
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x42d7df
push 2
push 0xffff
xor edi, edi
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x42d7df
pop edi
pop esi
xor eax, eax
pop ebx
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42d7d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x42d7d9
call fcn.0042cf00
cmp ax, 0x10
jne 0x42d7d9
push 0
push esi
push edi
call sub.MFC80U.DLL_Ordinal_1113
pop edi
pop esi
pop ebx
ret
Function at 0x42f730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x434e0c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4511a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CBrush.0
mov dword [esp + 0x30], 0
cmp dword [0x452b08], 7
jne 0x42f7a3
call fcn.0042cde0
test eax, eax
jne 0x42f7a3
push 0xf
jmp 0x42f7a5
push 4
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
call edi
cmp dword [esp + 0x38], 0
jne 0x42f7ca
fld qword [0x446910]
sub esp, 8
mov ecx, eax
fstp qword [esp]
call fcn.0042d380
add esp, 8
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC80U.DLL_Ordinal_1271
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC80U.DLL_Ordinal_1925
cmp dword [0x452b08], 2
jl 0x42f814
mov edx, dword [esi + 4]
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawEdge]
push 7
call edi
cmp dword [esp + 0x3c], 0
jne 0x42f833
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
add edi, 4
add edx, 4
mov ecx, eax
call fcn.0042e5f0
jmp 0x42f846
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
add ecx, 4
push ecx
add ebx, 5
mov ecx, eax
call fcn.0042e770
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CBrush.0
call fcn.00401d30
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0x416213
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00416292
jae 0x41621f
xor ecx, ecx
call fcn.00416292
jae 0x416249
xor eax, eax
call fcn.00416292
jae 0x41625a
mov al, 0x10
call fcn.00416292
adc al, al
jae 0x41623b
jne 0x416287
stosb byte es:[edi], al
jmp 0x416220
call fcn.0041629e
dec ecx
loop 0x416266
mov eax, ebp
call fcn.0041629c
jmp 0x416288
lodsb al, byte [esi]
shr eax, 1
je 0x4162ae
adc ecx, 2
mov ebp, eax
jmp 0x416288
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0041629c
cmp eax, 0x7d00
jae 0x416286
cmp eax, 0x500
jae 0x416287
cmp eax, 0x7f
ja 0x416288
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416220
pop ebp
ret 8
Function at 0x103c0108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x103c0258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x103c012e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103c011a
add dl, dl
jne 0x103c0139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103c018c
xor eax, eax
add dl, dl
jne 0x103c0146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103c022d
add dl, dl
jne 0x103c0155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103c0160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103c016b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103c0176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x103c0182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x103c0125
mov eax, 1
add dl, dl
jne 0x103c019a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103c01a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103c0191
sub eax, ebx
mov ebx, 1
jne 0x103c01d8
mov ecx, 1
add dl, dl
jne 0x103c01be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103c01c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103c01b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103c0125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x103c01ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103c01fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103c01e6
cmp eax, 0x7d00
jae 0x103c021d
cmp eax, 0x500
jb 0x103c0218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103c0125
cmp eax, 0x7f
ja 0x103c0220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103c0125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x103c024e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x103c0125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x446800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x446846
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x446846
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x44684f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x446871
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
xor edi, edi
test eax, eax
je 0x446899
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 4]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4468e0
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x4468de
lea eax, [ebp - 8]
mov dword [edi], 0x6eab20
push eax
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
jmp 0x4468e0
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4468f4
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret