joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cbb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 8
jb 0x41cbc3
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x41cc92
push 1
push ebx
call fcn.004d6e4e
mov edi, eax
add esp, 8
test edi, edi
je 0x41cc92
push edi
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41cc89
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x41cc89
cmp dword [ebp - 4], 0
je 0x41cc89
push 0x14
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 2]
movzx ecx, word [ecx]
mov dword [esi], vtable.FileVersionInfo.0
mov dword [esi + 4], 0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x41cc67
push eax
call fcn.004da5c6
add esp, 4
mov dword [esi + 4], edi
lea ecx, [ebp - 0x10]
mov dword [esi + 0x10], 0
push ecx
lea eax, [esi + 0x10]
push eax
push str.SMDB
push dword [esi + 4]
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004da5c6
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cee0
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb17b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x254], eax
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
movzx eax, word [ecx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x24], ax
movzx eax, word [ecx + 0xc]
mov word [ebp - 0x22], ax
call esi
mov ecx, dword [ebp - 0x24c]
mov word [ebp - 0x20], ax
movzx eax, word [ecx + 0xc]
mov word [ebp - 0x1e], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x1c], ax
mov eax, 0x4e4
mov word [ebp - 0x1a], ax
call esi
mov word [ebp - 0x18], ax
xor ecx, ecx
mov eax, 0x4e4
mov word [ebp - 0x16], ax
nop word [eax + eax]
push dword [ebp - 0x254]
movzx eax, word [ebp + ecx*2 - 0x22]
lea esi, [ecx + 2]
push eax
movzx eax, word [ebp + ecx*2 - 0x24]
push eax
push 0x51b484
push 0x104
lea eax, [ebp - 0x230]
push 0x104
push eax
call fcn.0040d2a0
add esp, 0x1c
mov dword [ebp - 0x250], 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x24c]
push dword [eax + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41d01f
mov edx, dword [ebp - 0x250]
test edx, edx
jne 0x41d073
mov ecx, esi
cmp esi, 8
jb 0x41cfb0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x513480
mov word [edi], ax
call fcn.00405110
lea ecx, [ebp - 0x248]
call fcn.00405080
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d170a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov eax, edx
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d080
sub eax, esi
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
push edx
call fcn.00405110
movups xmm0, xmmword [ebp - 0x248]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x248], ax
movq xmm0, qword [ebp - 0x238]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
jmp 0x41d046
Function at 0x41d320
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x16c]
mov ebx, edx
push 0
push eax
mov esi, ecx
call fcn.004d43f0
push esi
push 0x51a848
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x1d0], 0
push 0x104
push eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], 0x67452301
mov dword [ebp - 0x1c8], 0xefcdab89
mov dword [ebp - 0x1c4], 0x98badcfe
mov dword [ebp - 0x1c0], 0x10325476
call fcn.0041d1e0
lea ecx, [ebp - 0x16c]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d3b0
sub ecx, edx
lea edx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.0042c520
lea ecx, [ebp - 0x1d4]
call fcn.0042c5e0
lea ecx, [ebp - 0x1d4]
call fcn.0042c5e0
movups xmm0, xmmword [ebp - 0x17c]
push 0x40
lea eax, [ebp - 0x64]
push 0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.004d43f0
add esp, 0x10
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0x20]
xorps xmm0, xmm0
push eax
push str._02x
lea eax, [ebp - 0x10]
movlpd qword [ebp - 0x10], xmm0
push 8
push eax
call fcn.0041d1e0
lea eax, [ebp - 0x64]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d427
sub eax, edx
lea ecx, [ebp - 0x10]
mov edx, 0x40
lea edi, [ecx + 1]
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d440
sub ecx, edi
lea eax, [ebp - 0x10]
cmp ecx, edx
cmovl edx, ecx
push edx
push eax
lea eax, [ebp - 0x64]
push 0x40
push eax
call fcn.004e15cf
inc esi
add esp, 0x10
cmp esi, 0x10
jl 0x41d400
test ebx, ebx
je 0x41d49a
push 0x104
push 0
push ebx
call fcn.004d43f0
lea eax, [ebp - 0x64]
push eax
push 0x51a848
push 0x103
push ebx
call fcn.0041d1e0
push 0x104
push ebx
call fcn.004e1748
add esp, 0x24
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d170a
mov esp, ebp
pop ebp
ret
Function at 0x41e090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x41e0ac
mov dword [ebp - 0x20], ecx
jmp 0x41e0bc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e0b0
sub ecx, edx
mov dword [ebp - 0x20], ecx
push 0
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0041bf80
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
add esp, 4
cmp dword [ebp - 8], 8
cmovae ecx, dword [ebp - 0x1c]
add eax, eax
push eax
push ecx
push 1
push 0x513a14
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallExTab
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x1c]
call fcn.00405080
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d170a
mov esp, ebp
pop ebp
ret
Function at 0x421070
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
cmp dword [0x543fdc], 1
push ebx
push esi
push edi
mov esi, ecx
jne 0x4210df
mov eax, dword [esi]
call dword [eax + 0x14]
lea edx, [eax + 1]
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
sar eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
cmp eax, edx
je 0x4210df
push str.ranges_.size____bucket_count__1
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.0040e570
add esp, 4
test eax, eax
je 0x4210df
push eax
push 3
push 0x27e
push str.f:my_lab_tabexplorerextab_masterlibrary_basemetrichistogram.cpp
lea ecx, [esp + 0x28]
call fcn.0040ec90
lea ecx, [esp + 0x18]
call fcn.0040f1c0
mov ebx, dword [esi + 0x34]
mov ecx, esi
mov eax, dword [esi]
xor edi, edi
sub ebx, dword [esi + 0x30]
sar ebx, 2
call dword [eax + 0x14]
test eax, eax
je 0x42115b
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x10]
movzx edx, bl
inc edi
movzx ecx, al
xor edx, ecx
shr ebx, 8
mov ecx, eax
shr ecx, 8
xor ebx, dword [edx*4 + 0x5140f0]
movzx edx, cl
movzx ecx, bl
xor edx, ecx
shr ebx, 8
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
xor ebx, dword [edx*4 + 0x5140f0]
movzx edx, cl
movzx ecx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [edx*4 + 0x5140f0]
movzx ecx, bl
xor eax, ecx
shr ebx, 8
mov ecx, esi
xor ebx, dword [eax*4 + 0x5140f0]
mov eax, dword [esi]
call dword [eax + 0x14]
cmp edi, eax
jb 0x4210f5
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423e60
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov dword [esp + 4], 0xffffffff
cmp eax, 0xffffffff
jne 0x423eb5
push str.slot_____DWORD_0xFFFFFFFF_
lea edx, [esp + 8]
mov ecx, esi
call fcn.0040e570
add esp, 4
test eax, eax
je 0x423eb5
push eax
push 0x11
push str.f:my_lab_tabexplorerextab_masterlibrary_base_threading_thread_local.cpp
lea ecx, [esp + 0x14]
call fcn.0040eb80
lea ecx, [esp + 8]
call fcn.0040f1c0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423f60
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb6df
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push edx
mov dword [ebp - 0x10], 0
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x424011
sub esp, 8
mov dword [ebp - 0xc0], 4
lea ecx, [ebp - 0xb8]
call fcn.00406290
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], str.f:my_lab_tabexplorerextab_masterlibrary_base_threading_thread_local.cpp
mov dword [ebp - 0x18], 0x28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x28
push str.f:my_lab_tabexplorerextab_masterlibrary_base_threading_thread_local.cpp
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.0040ee30
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xb8]
mov edx, str.Failed_to_TlsSetValue__.
mov dword [ebp - 0x10], 1
call fcn.00405a30
lea ecx, [ebp - 0xc0]
call fcn.0040f1c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4249b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb828
mov eax, dword fs:[0]
push eax
sub esp, 0x188
push ebx
push esi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
mov al, byte [eax + 0xc8]
test al, al
lea eax, [ebp - 0x30]
je 0x424a30
push 0xf
push 0xf
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x424a2c
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x424a2c
xor al, al
jmp 0x424a42
mov al, 1
jmp 0x424a42
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne al
cmp dword [0x543fdc], 1
mov byte [ebp - 0xd], al
jne 0x424a96
test al, al
je 0x424a96
cmp dword [ebp - 0x2c], 0x401
jne 0x424a96
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x30]
jne 0x424a96
push 3
push 0x1a6
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0xe0]
call fcn.0040eda0
mov dword [ebp - 4], 0
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:__have_message__kMsgHaveWork_msg.message__msg.hwnd_message_hwnd_.
mov dword [ebp - 0x14], ebx
call fcn.00405a30
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x424ab0
lea ecx, [ebp - 0xe0]
and ebx, 0xfffffffe
call fcn.0040f1c0
xor ecx, ecx
lea eax, [esi + 0x28]
xchg dword [eax], ecx
cmp dword [0x543fdc], 1
jne 0x424af5
test ecx, ecx
jne 0x424af5
push 3
push 0x1aa
push str.f:my_lab_tabexplorerextab_masterlibrary_basemessage_pump_win.cpp
lea ecx, [ebp - 0x190]
call fcn.0040eda0
or ebx, 2
mov dword [ebp - 4], 1
lea ecx, [eax + 8]
mov dword [ebp - 0x14], ebx
mov edx, str.Check_failed:_old_have_work.
call fcn.00405a30
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x424b0c
lea ecx, [ebp - 0x190]
call fcn.0040f1c0
cmp byte [ebp - 0xd], 0
jne 0x424b25
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00424840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425e10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fba98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 8]
xor bl, bl
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x20], 0
je 0x425e8e
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x10], ecx
cmp eax, ecx
je 0x425e8e
push 8
call fcn.004d1720
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.DeleteTask_class_base::MessageLoopProxyImpl_.0
push eax
mov dword [eax + 4], edi
call fcn.00412f20
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x425ea2
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a330
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
mov dword [esi], vtable.CQhHttpTransfer.0
je 0x42a399
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edi, edi
push 0x1f4
push dword [esi + 4]
call ebx
cmp eax, 0x102
jne 0x42a36f
inc edi
cmp edi, 2
jl 0x42a356
jmp 0x42a374
cmp edi, 2
jl 0x42a388
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0xfffffffffffffff6
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
pop ebx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x42a3a9
push eax
call fcn.004d171b
add esp, 4
xorps xmm0, xmm0
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x42a3cf
push eax
call fcn.004d171b
add esp, 4
mov dword [esi + 0x34], 0
mov ecx, dword [esi + 0x84]
cmp ecx, 0x10
jb 0x42a406
mov eax, dword [esi + 0x70]
inc ecx
cmp ecx, 0x1000
jb 0x42a3fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a4b4
mov eax, edx
push ecx
push eax
call fcn.004d1750
add esp, 8
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0xf
mov byte [esi + 0x70], 0
mov ecx, dword [esi + 0x6c]
cmp ecx, 0x10
jb 0x42a44e
mov eax, dword [esi + 0x58]
inc ecx
cmp ecx, 0x1000
jb 0x42a444
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a4b4
mov eax, edx
push ecx
push eax
call fcn.004d1750
add esp, 8
mov dword [esi + 0x68], 0
lea ecx, [esi + 0x50]
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], 0
mov eax, dword [esi + 0x50]
push eax
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.0042b310
push 0x40
push dword [esi + 0x50]
call fcn.004d1750
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
add esp, 8
push eax
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.0042b4f0
push 0x28
push dword [esi + 0x48]
call fcn.004d1750
add esp, 8
lea ecx, [esi + 0x3c]
call fcn.0041e3c0
lea ecx, [esi + 0x10]
call fcn.00405080
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004da89d
int3
Function at 0x42e0e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb20c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [0x543fdc], 1
jne 0x42e150
test esi, esi
jne 0x42e150
push 3
push 0x12c
push str.f:my_lab_tabexplorerextab_masterlibraryui_gfxicon_util.cpp
lea ecx, [ebp - 0xc4]
call fcn.0040eda0
mov dword [ebp - 4], ebx
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_header.
mov dword [ebp - 0x14], ebx
call fcn.00405a30
test bl, 1
je 0x42e160
lea ecx, [ebp - 0xc4]
call fcn.0040f1c0
push 0x7c
push 0
push esi
call fcn.004d43f0
mov eax, dword [ebp + 8]
add esp, 0xc
neg eax
mov dword [esi], 0x7c
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x200001
mov dword [esi + 0x28], 0xff0000
mov dword [esi + 0x2c], 0xff00
mov dword [esi + 0x30], 0xff
mov dword [esi + 0x34], 0xff000000
mov dword [esi + 0x38], 0x57696e20
mov dword [esi + 0x6c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f1c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, edx
mov ebx, ecx
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42f1ea
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42f202
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42f1f7
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x42f233
cmp esi, ecx
jae 0x42f1f7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x42f221
cmp esi, ecx
jae 0x42f1f7
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436bb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd03a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.view::FocusTraversable.0
mov dword [edi], vtable.view::Widget.1.0
mov dword [edi + 4], vtable.view::Widget.0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
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 + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 5
lea esi, [edi + 0x48]
mov dword [edi + 0x44], 0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004d1720
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea ecx, [edi + 0x80]
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 1
mov dword [edi + 0x64], 0
mov word [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push 0x64
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
call fcn.0042d150
mov dword [edi + 0x84], 0x64
mov eax, edi
mov byte [edi + 0x88], 1
mov dword [edi + 0x8c], 0
mov word [edi + 0x90], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43ae00
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd5ec
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp byte [eax], bl
je 0x43ae97
cmp dword [0x543fdc], 1
jne 0x43ae71
push 3
push 0x100
push str.f:my_lab_tabexplorerextab_masterlibraryui_baseclipboardclipboard.cpp
lea ecx, [ebp - 0xc4]
call fcn.0040eda0
mov dword [ebp - 4], ebx
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_false.
mov dword [ebp - 0x10], ebx
call fcn.00405a30
test bl, 1
je 0x43ae81
lea ecx, [ebp - 0xc4]
call fcn.0040f1c0
xor al, al
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
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x43aeaa
push 5
call edi
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43aed1
inc esi
cmp esi, 5
jl 0x43aea2
xor al, al
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
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
mov al, 1
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 0x43af30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
mov esi, ecx
mov byte [esi + 4], 0
call fcn.00414650
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 4], 1
jne 0x43af97
push 0x30
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004d43f0
add esp, 0xc
mov dword [esp + 8], 0x30
mov dword [esp + 0x10], 0x43b8d0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x34], str.ClipboardOwnerWindowClass
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov byte [esi + 4], 1
mov eax, esi
mov dword [esi], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b4d0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push esi
mov eax, dword [0x53f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [0x543fdc], 1
jne 0x43b53b
cmp dword [ecx], ebx
jne 0x43b53b
push 3
push 0x231
push str.f:my_lab_tabexplorerextab_masterlibraryui_baseclipboardclipboard.cpp
lea ecx, [ebp - 0xc0]
call fcn.0040eda0
mov dword [ebp - 4], ebx
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_clipboard_owner_.
mov dword [ebp - 0x10], ebx
call fcn.00405a30
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x43b555
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffffe
call fcn.0040f1c0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b5eb
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x43b5eb
cmp dword [0x543fdc], 1
jne 0x43b5b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x58a
jne 0x43b5b5
push 3
push 0x234
push str.f:my_lab_tabexplorerextab_masterlibraryui_baseclipboardclipboard.cpp
lea ecx, [ebp - 0x170]
call fcn.0040eda0
or ebx, 2
mov dword [ebp - 4], 1
lea ecx, [eax + 8]
mov dword [ebp - 0x10], ebx
mov edx, str.Check_failed:_ERROR_CLIPBOARD_NOT_OPEN___GetLastError__.
call fcn.00405a30
test bl, 2
je 0x43b5c5
lea ecx, [ebp - 0x170]
call fcn.0040f1c0
cmp dword [ebp + 8], 2
push esi
jne 0x43b5e5
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8