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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x411b57
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x411b88
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x411b84
cmp esi, eax
jae 0x411b88
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x411b74
cmp esi, eax
jb 0x411b8e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x411e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.Desktop
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411e7e
mov eax, dword [esp + 8]
cmp eax, 1
je 0x411e4f
cmp eax, 2
jne 0x411e6a
test esi, esi
mov eax, dword [esp]
je 0x411e78
test eax, eax
je 0x411e73
test al, 1
jne 0x411e6a
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x411e78
mov eax, 0xd
pop ecx
ret 4
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4

Function at 0x412060
Capabilities:
Check if file exists

Disassembly:
push ebx
xor ebx, ebx
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x412071
mov eax, dword [esi]
jmp 0x412073
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412099
cmp dword [edi + 0x18], 8
jb 0x412086
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
neg eax
sbb eax, eax
neg eax
pop esi
add eax, 1
pop ebx
ret
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x412360
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c5e11
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x519b14]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x84], edi
mov ebp, dword [esp + 0x8c]
push 0xffffffffffffffff
mov ebx, ecx
mov dword [esp + 0x20], edi
push edi
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], edi
push ebx
mov ecx, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebx
mov word [ebp + 4], di
call fcn.00405dc0
mov dword [esp + 0x84], edi
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
lea ecx, [ecx]
cmp dword [ebp + 0x18], 8
lea esi, [ebp + 4]
jb 0x4123ed
mov eax, dword [esi]
jmp 0x4123ef
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41252b
cmp dword [ebp + 0x18], 8
jb 0x412408
mov eax, dword [esi]
jmp 0x41240a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov eax, dword [esp + 0x14]
push eax
lea esi, [esp + 0x44]
call fcn.00412f70
mov dword [esp + 0x88], 1
push eax
lea ecx, [esp + 0x2c]
push 0x4e6d54
push ecx
call fcn.00409030
mov byte [esp + 0x94], 2
push 0x4e7290
push eax
lea edx, [esp + 0x74]
push edx
call fcn.00408f50
add esp, 0x1c
mov byte [esp + 0x84], 4
cmp dword [esp + 0x3c], 8
jb 0x412471
mov eax, dword [esp + 0x28]
push eax
call fcn.0048c112
add esp, 4
mov esi, 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
mov byte [esp + 0x84], 5
cmp dword [esp + 0x58], 8
jb 0x41249f
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0048c112
add esp, 4
push 1
push 0x4e7288
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
call fcn.0040d050
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push edx
mov ecx, ebp
mov esi, eax
call fcn.00405dc0
cmp esi, 0xffffffff
je 0x4124e0
lea eax, [esp + 0x5c]
mov edi, esi
push eax
mov esi, ebp
call fcn.00412560
jmp 0x4124ef
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call fcn.004097e0
add dword [esp + 0x14], 1
mov byte [esp + 0x84], bl
cmp dword [esp + 0x74], 8
jb 0x41250f
mov edx, dword [esp + 0x60]
push edx
call fcn.0048c112
add esp, 4
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x74], 7
xor edi, edi
jmp 0x4123e0
mov eax, ebp
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0048cb7d
add esp, 0x74
ret
Function at 0x4139a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c4c72
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x519b14]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x23c]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ebx, dword [eax]
cmp ebx, ebp
mov dword [esp + 0x1c], esi
mov edi, ecx
jne 0x413a10
push ebp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
push 0x4e5fd8
mov ecx, esi
mov word [esi + 4], bp
call fcn.00405350
jmp 0x413a75
push 0x206
lea eax, [esp + 0x26]
push ebp
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x206
mov word [esp + 0x2c], bp
call fcn.0048d180
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x413a43
mov edi, dword [edi + 4]
jmp 0x413a46
add edi, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413a69
lea ecx, [esp + 0x20]
push ecx
jmp 0x413a6e
push 0x4e5fd8
mov ecx, esi
call fcn.00405260
mov dword [esp + 0x234], ebp
mov dword [esp + 0x10], 1
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0048cb7d
add esp, 0x228
ret 4
Function at 0x4143a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4c7099
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
push edi
call fcn.00414510
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [edi + 8], vtable.CMicroKernelLoader.0
mov byte [edi + 0xc], bl
lea eax, [edi + 0x10]
mov byte [esp + 0x28], 1
push eax
mov dword [edi], vtable.CArchitectImpl.0
mov dword [edi + 8], vtable.CArchitectImpl.1.0
call fcn.00414580
mov byte [esp + 0x28], 2
mov dword [edi + 0x94], ebx
lea eax, [edi + 0x98]
mov byte [esp + 0x28], 3
lea esi, [eax + 4]
mov dword [esp + 0x18], eax
mov dword [eax], vtable.CPreHandleMasterImpl.0
mov dword [esp + 0x1c], esi
call fcn.004159d0
mov dword [esi + 4], eax
mov byte [eax + 0x1d], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov byte [esp + 0x28], 6
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xb0], vtable.CDataManager.0
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov edx, dword [esp + 0x30]
mov eax, 7
mov byte [esp + 0x28], al
lea ecx, [edi + 0xc0]
mov dword [ecx + 0x18], eax
mov eax, edx
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], bx
lea esi, [eax + 2]
mov edi, edi
mov bp, word [eax]
add eax, 2
cmp bp, bx
jne 0x414490
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.00405350
lea ecx, [edi + 0xdc]
push ecx
mov byte [esp + 0x2c], 8
call fcn.00414730
lea edx, [edi + 0x108]
mov byte [esp + 0x28], 9
push edx
mov dword [edi + 0x104], ebx
call fcn.0042b020
mov dword [esp + 0x28], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x419d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4a00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x1d
xor ebx, ebx
push str.call_to_empty_boost::function
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.0040c0e0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.0040a110
mov byte [esp + 0x34], 2
cmp dword [esp + 0x28], 0x10
jb 0x419de6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0048c112
add esp, 4
mov dword [esi], vtable.boost::bad_function_call.0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x41b260
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c49a2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b2b0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00405350
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x84], ebx
call fcn.0041bac0
lea edx, [esi + 0x28]
mov byte [esp + 0x78], 1
cmp dword [edx + 0x10], ebx
push eax
je 0x41b301
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.00422470
jmp 0x41b30f
lea eax, [esp + 0x24]
push eax
mov ebx, edx
call fcn.00422580
xor ebx, ebx
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x7c], bl
call fcn.00417630
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x41b339
mov edx, dword [esp + 0x30]
push edx
call fcn.0048c112
add esp, 4
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41dc90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
push edi
mov ecx, ebp
call fcn.0041ea60
lea esi, [edi + 0xc]
lea ebx, [ebp + 0xc]
mov dword [esp + 0x60], 0
push esi
mov ecx, ebx
mov dword [esp + 0x1c], esi
call fcn.0041ee10
mov byte [esp + 0x60], 2
mov al, byte [ebp + 0x18]
mov byte [edi + 0x18], al
mov eax, dword [esi + 4]
mov ebp, dword [eax]
mov edi, dword [edi + 4]
mov eax, dword [ebx + 4]
mov ecx, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov edi, ebx
mov esi, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
test edi, edi
mov edx, dword [ebx + 4]
mov dword [esp + 0x4c], edx
je 0x41dd22
cmp edi, ebx
je 0x41dd27
call fcn.0048e49d
cmp esi, dword [esp + 0x4c]
je 0x41de69
cmp dword [esp + 0x20], 0
jne 0x41dd3d
call fcn.0048e49d
mov eax, dword [esp + 0x20]
cmp ebp, dword [eax + 4]
jne 0x41dd4b
call fcn.0048e49d
test edi, edi
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
mov ebp, dword [ebx + 4]
je 0x41dd64
cmp edi, ebx
je 0x41dd69
call fcn.0048e49d
cmp esi, ebp
jne 0x41dd7e
mov ebp, dword [esp + 0x6c]
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
jmp 0x41dda3
test edi, edi
jne 0x41dd87
call fcn.0048e49d
cmp esi, dword [edi + 4]
jne 0x41dd91
call fcn.0048e49d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x28]
mov dword [esp + 0x28], edi
call fcn.00420050
mov esi, dword [esp + 0x28]
test esi, esi
mov edx, dword [ebx + 4]
mov dword [esp + 0x54], edx
je 0x41ddc7
cmp esi, ebx
je 0x41ddcc
call fcn.0048e49d
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x54]
jne 0x41dddb
mov eax, dword [ebp + 4]
jmp 0x41ddf4
test esi, esi
jne 0x41dde4
call fcn.0048e49d
cmp edi, dword [esi + 4]
jne 0x41ddee
call fcn.0048e49d
mov ebp, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x41de04
cmp esi, ebp
je 0x41de09
call fcn.0048e49d
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x44]
je 0x41de46
test esi, esi
jne 0x41de1c
call fcn.0048e49d
cmp edi, dword [esi + 4]
jne 0x41de26
call fcn.0048e49d
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
cmp esi, dword [edx + 4]
mov ecx, dword [edi]
mov dword [esp + 0x1c], ecx
jne 0x41de3e
call fcn.0048e49d
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
jmp 0x41ddf8
lea esi, [esp + 0x30]
call fcn.00420050
lea esi, [esp + 0x20]
call fcn.00420050
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
jmp 0x41dd13
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8
Function at 0x426240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4778
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040a400
mov dword [esi], vtable.boost::bad_function_call.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42628a
add edi, 0x28
jmp 0x42628c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4262a4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x42a390
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3418
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x10]
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 4
lea ebx, [ebp + 8]
lea eax, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0042a7e0
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
je 0x42a3f6
cmp ebx, esi
je 0x42a3fb
call fcn.0048e49d
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x20]
je 0x42a441
test ebx, ebx
jne 0x42a40e
call fcn.0048e49d
cmp esi, dword [ebx + 4]
jne 0x42a418
call fcn.0048e49d
mov esi, dword [esi + 0x10]
push edi
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b2b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c58e2
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, ebx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42b300
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x34]
call fcn.00405350
lea eax, [esp + 0x18]
add esi, 0x8c
push eax
lea eax, [esp + 0x30]
mov ebx, esi
mov dword [esp + 0x5c], edi
call fcn.0042b820
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x42b350
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0048c112
add esp, 4
mov ebx, dword [esp + 0x18]
cmp ebx, edi
mov edx, dword [esi + 4]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
mov dword [esp + 0x24], edx
je 0x42b374
cmp ebx, esi
je 0x42b379
call fcn.0048e49d
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
je 0x42b3b6
cmp ebx, edi
jne 0x42b38c
call fcn.0048e49d
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebx + 4]
jne 0x42b39a
call fcn.0048e49d
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x2c]
call edx
mov ecx, eax
call dword [sym.imp.libUI.dll_public:_class_ICtrlBase____thiscall_SkinEngine::FindControl_wchar_t_const__]
mov edi, eax
test edi, edi
je 0x42b418
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x2c]
push ecx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
call fcn.0042d6e0
lea edx, [esp + 0x20]
push edx
push esi
lea eax, [esp + 0x34]
mov dword [esp + 0x60], 1
call fcn.0042b6f0
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x5c], 0xffffffff
call fcn.0042b430
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42db50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5750
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esi + 0x10]
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov dword [esp + 0x40], edx
mov eax, ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edx
mov word [esp + 0x1c], dx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, dx
jne 0x42dba7
sub eax, edi
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00405350
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
mov ebx, esi
mov byte [esp + 0x44], 1
call fcn.0042e2f0
mov byte [esp + 0x40], 0
cmp dword [esp + 0x30], 8
jb 0x42dbef
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0048c112
add esp, 4
mov edi, dword [esp + 0x10]
mov ebx, dword [esi + 4]
xor eax, eax
cmp esi, edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
je 0x42dc12
call fcn.0048e49d
cmp ebx, dword [esp + 0x14]
je 0x42dc8e
test edi, edi
jne 0x42dc21
call fcn.0048e49d
mov edx, dword [esp + 0x14]
cmp edx, dword [edi + 4]
jne 0x42dc2f
call fcn.0048e49d
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x28]
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
mov ecx, ebx
call eax
test eax, eax
je 0x42dc4c
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x18]
push edx
push esi
call fcn.0042df90
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4360f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9478
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00435c20
mov eax, dword [esp + 0x20]
xor edi, edi
push 0xffffffffffffffff
lea ecx, [esi + 8]
mov dword [esi], vtable.CViewInfo_class_CMainViewDisp_.0
push edi
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov dword [esp + 0x24], edi
mov word [ecx + 4], di
call fcn.00405dc0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x437b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b957e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CViewInfo_class_CMainViewDisp_.0
mov ecx, dword [esi + 0x30]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x18], 2
je 0x437b6a
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esi + 0x30], ebx
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
mov byte [esp + 0x18], 1
je 0x437b80
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esi + 0x2c], ebx
cmp dword [esi + 0x20], 8
jb 0x437b92
mov eax, dword [esi + 0xc]
push eax
call fcn.0048c112
add esp, 4
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], ebx
mov word [esi + 0xc], bx
mov eax, dword [esi + 4]
mov dword [esi], vtable.CViewInfoBase.0
mov ecx, dword [eax + 4]
test ecx, ecx
mov byte [eax], 1
jne 0x437bc7
mov edx, dword [eax + 8]
test edx, edx
jne 0x437bc7
cmp byte [eax], bl
je 0x437bc7
push eax
call fcn.0048c112
add esp, 4
mov dword [esi], vtable.RefObject.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x438010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b95d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x519b14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00435c20
mov eax, dword [esp + 0x20]
xor edi, edi
push 0xffffffffffffffff
lea ecx, [esi + 8]
mov dword [esi], vtable.CViewInfo_class_CPlayListViewDisp_.0
push edi
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov dword [esp + 0x24], edi
mov word [ecx + 4], di
call fcn.00405dc0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc