joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cb50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, ecx
mov eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ecx
mov dword [ecx], 0
push edi
test esi, esi
je 0x1000cd8e
test eax, eax
je 0x1000cd8e
cmp eax, 0xe
jb 0x1000cd8e
movzx eax, byte [esi + 0xd]
cdq
mov edi, eax
mov ecx, edx
movzx eax, byte [esi + 0xc]
shld ecx, edi, 8
cdq
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0xb]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0xa]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 9]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 8]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 7]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 6]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
mov eax, edi
adc ecx, edx
or eax, ecx
je 0x1000cd8e
push 0x10266544
push edi
call fcn.101b37b0
mov esi, eax
add esp, 8
test esi, esi
je 0x1000cd8e
push edi
push 0
push esi
call fcn.101b5530
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov cl, byte [eax]
mov byte [esp + 0xf], cl
cmp cl, 1
ja 0x1000cd85
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff2
mov dword [esp + 0x14], ecx
cmp ecx, 5
jb 0x1000cd85
lea edx, [eax + 1]
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0
call fcn.10097a30
test eax, eax
jne 0x1000cd85
push ecx
mov edx, ecx
lea ecx, [esp + 0x3c]
call fcn.10097a90
add esp, 4
test eax, eax
jne 0x1000cd85
movups xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov edx, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x54], esi
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
add eax, 0xe
mov dword [esp + 0x6c], edi
push eax
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 1
call fcn.100977a0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1000cd25
cmp dword [esp + 0x18], 3
mov eax, 6
cmove edi, eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x60]
push 0x1025fe90
mov dword [esp + 0x18], eax
call dword [0x1025fe94]
add esp, 8
test edi, edi
jne 0x1000cd85
cmp byte [esp + 0xf], 1
mov edi, dword [esp + 0x10]
jne 0x1000cd69
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ecx
mov edx, edi
mov ecx, esi
call fcn.10096180
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret
push esi
call fcn.101b3133
add esp, 4
mov ecx, dword [esp + 0xac]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret
Function at 0x1000d8e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db822
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14c], 0
push 1
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x14], 0
call fcn.101b37dc
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x144]
push eax
call fcn.101b5530
add esp, 0x10
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000d981
cmp dword [ebp - 0x144], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.1008da40
test al, al
je 0x1000dabf
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x1000dabf
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008db00
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne 0x1000d9cc
xor bl, bl
jmp 0x1000da6f
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x16c]
push 0
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
call fcn.1008bfc0
add esp, 8
mov dword [ebp - 0x14c], 1
mov ecx, esi
push eax
call fcn.1000db00
mov eax, 1
mov dword [ebp - 0x14c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x158]
cmp edx, 0x10
jb 0x1000da52
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000da48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000daed
push edx
push ecx
call fcn.101b37a2
add esp, 8
mov dword [ebp - 0x15c], 0
mov bl, 1
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1000daa9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000da9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000daf2
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x1000dac1
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1008cba0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b3122
mov esp, ebp
pop ebp
ret
call fcn.101b7ad8
call fcn.101b7ad8
int3
Function at 0x10010430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc179
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1025f074]
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
lea ecx, [edi + 0x24]
call fcn.100118f0
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x30]
mov eax, dword [ebp + 8]
mov dword [edi], vtable.RC::RCMiniUISimpleWindow.0
mov dword [edi + 0x24], vtable.RC::RCMiniUISimpleWindow.1.0
mov dword [ecx + 0x14], eax
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 4

Function at 0x10011440
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, dword [esp + 0x128]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.101b5530
push 0x110
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0x114
push 0
push eax
call fcn.101b5530
add esp, 0x18
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100114a0
cmp dword [esp + 0xc], 6
mov eax, 0x30
jae 0x100114a5
mov eax, 0x2c
push edi
mov dword [esi], eax
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov dword [esi + 8], eax
mov eax, esi
mov dword [esi + 0xc], edi
mov ecx, dword [0x102664f8]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x134]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x11c]
pop edi
mov dword [esi + 0x28], 0
pop esi
xor ecx, esp
call fcn.101b3122
add esp, 0x118
ret 0x18
Function at 0x100118f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc692
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x14
mov dword [eax], vtable.RC::RCMiniUIWindow.0
call fcn.101b37dc
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea esi, [edi + 4]
mov dword [edi], 1
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000f540
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0xc]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10018e70
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [ebp - 4], 7
mov edi, eax
push 0x78
mov dword [edi], vtable.RC::RCMiniUIDialogView.0
lea esi, [edi + 0x4c]
mov dword [edi + 0x10], 0xae
mov dword [edi + 0x14], 0xaf
mov dword [edi + 0x1c], edi
mov dword [edi + 0x24], edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], vtable.RC::RCMiniUIBounceWndHandler.0
mov dword [edi + 0x48], edi
call fcn.101b37dc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
movaps xmm0, xmmword [0x102269a0]
movsd xmm1, qword [0x102262b0]
mov byte [eax], 0
movups xmmword [eax + 8], xmm0
movaps xmm0, xmmword [0x10226970]
movsd qword [eax + 0x18], xmm1
movups xmmword [eax + 0x20], xmm0
movsd qword [eax + 0x30], xmm1
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 0
mov byte [ebp - 4], 9
mov dword [eax + 0x4c], 0
mov byte [ebp - 4], 0xa
mov dword [eax + 0x50], 0
mov byte [ebp - 4], 0xb
mov dword [eax + 0x54], 0
mov byte [ebp - 4], 0xc
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
xorps xmm0, xmm0
mov dword [eax + 0x64], 0
movsd qword [eax + 0x68], xmm0
mov dword [eax + 0x70], 1
mov dword [eax + 0x38], SysReAllocStringLen
mov dword [eax + 0x3c], SysReAllocStringLen
mov byte [ebp - 4], 7
mov dword [edi + 0x44], eax
mov byte [ebp - 4], 0xd
push 0x60
mov byte [esi], 0
mov byte [edi + 0x4d], 0xff
call fcn.101b37dc
add esp, 8
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.10011590
mov byte [ebp - 4], 0xd
mov dword [edi + 0xc], eax
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 0x10015e20
Capabilities:
Access peb ldr_data
Get number of processors

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 0x101dcc1b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.RC::RCMiniUIObject.0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [esi], vtable.RC::RCMiniUIView.0
mov dword [esi + 4], vtable.RC::RCMiniUIView.1.0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
call fcn.1005c790
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x64
mov word [esi + 0x80], 0
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 1
mov word [esi + 0xa0], 0x101
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov word [esi + 0xac], 0
mov byte [esi + 0xae], 0
mov dword [esi + 0xb0], 0x3e8
mov word [esi + 0xb4], 0
mov byte [esi + 0xb6], 1
movups xmmword [esi + 0x90], xmm0
call fcn.101b37dc
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x44]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov byte [edi + 0x40], 0
mov dword [edi + 0xc], 0xf
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000f540
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x4c]
sub esp, 8
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10018df0
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 0x54]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10018e70
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x84], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100178e0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x25c
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0x258], eax
test byte [esp + 0x260], 2
push esi
mov esi, ecx
je 0x1001790e
cmp byte [esi + 0x80], 0
je 0x10017afe
cmp dword [esi + 8], 0xffffffff
jne 0x10017955
mov eax, esi
cmp byte [eax + 0x81], 0
jne 0x10017929
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x10017916
push 0
push 0x10261934
push 0x102618f0
push 0
push eax
call fcn.101d7e22
add esp, 0x14
test eax, eax
je 0x10017955
mov eax, dword [eax + 0xb8]
xor edx, edx
cmp byte [eax + 0x34], dl
setne dl
mov dword [esi + 8], edx
cmp dword [esi + 8], 1
jne 0x10017afe
cmp byte [esp + 0x26c], 0
jne 0x10017afe
mov ecx, esi
call fcn.10016b50
test eax, eax
je 0x10017afe
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 4]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10017ae3
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x1040000
cmp eax, 0x1040000
jne 0x10017ad0
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.101b5530
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10017ac9
cmp dword [esp + 0xc], 6
ja 0x100179f5
jne 0x10017a80
cmp dword [esp + 0x10], 2
jb 0x10017a80
push 0x1021b3b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x10017a80
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10017a80
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10017a80
movups xmm0, xmmword [0x1021cad4]
push eax
movups xmmword [esp + 0x244], xmm0
movups xmm0, xmmword [0x1021cae4]
movups xmmword [esp + 0x254], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10017a80
lea eax, [esp + 0x240]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10017a80
cmp word [esi + 2], ax
jbe 0x10017a80
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
push 0x1021651c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10017ac9
push 0x118
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.101b5530
add esp, 0xc
mov dword [esp + 0x124], 0x11c
lea eax, [esp + 0x124]
push eax
call esi
cmp dword [esp + 0xc], 6
jb 0x10017ae3
push 0
push 0xf012
push 0x112
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.101b3122
add esp, 0x25c
ret 0xc
mov ecx, dword [esp + 0x25c]
xor al, al
pop esi
xor ecx, esp
call fcn.101b3122
add esp, 0x25c
ret 0xc
Function at 0x10019a70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
push 0x12
mov ebp, ecx
mov dword [eax], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [ebp + 4]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10019ade
mov eax, dword [ecx]
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x10019ade
mov eax, dword [esp + 0x20]
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x10019af0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push 0x12
mov dword [esp + 0x14], ecx
mov dword [ebp], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [esp + 0x10]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x10019b5e
mov eax, dword [ecx]
push esi
push edi
push ebx
mov eax, dword [eax + 0x84]
call eax
test al, al
jne 0x10019b79
cmp dword [ebp], 0
jne 0x10019b80
mov eax, dword [esp + 0x10]
push esi
push edi
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x10019b80
mov dword [ebp], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x1001e8b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd9f7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1025f074]
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 edi, dword [0x10267450]
cmp dword [edi + 4], 0
jne 0x1001ea2e
push 0xc
call fcn.101b37dc
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push edi
push ecx
movq qword [eax], xmm0
mov ecx, eax
mov dword [eax + 8], 0
call fcn.10090990
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [edi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp esi, ebx
je 0x1001e95e
test ebx, ebx
je 0x1001e941
push 1
lea eax, [ebx + 4]
push eax
call ecx
mov esi, dword [edi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test esi, esi
je 0x1001e959
push 0xffffffffffffffff
lea eax, [esi + 4]
push eax
call ecx
sub eax, 1
jne 0x1001e959
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi + 4], ebx
mov esi, ebx
mov edi, dword [esi + 8]
test edi, edi
je 0x1001ea2e
add edi, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], edi
je 0x1001e985
mov eax, dword [edi]
test eax, eax
je 0x1001e985
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x1001ea0f
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [esi + 4]
push 1
push eax
call ebx
mov eax, dword [esi + 8]
add eax, 0xc
push eax
push 4
push esi
push 0x10090790
push 0
push 0
call fcn.101c1427
mov ecx, dword [esi + 8]
add esp, 0x18
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x1001e9f3
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1001e9e5
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1001ea0f
push 0xffffffffffffffff
lea eax, [esi + 4]
push eax
call ebx
sub eax, 1
jne 0x1001ea07
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
call fcn.10090950
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1001ea2e
mov eax, dword [edi]
test eax, eax
je 0x1001ea27
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
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.101b3122
mov esp, ebp
pop ebp
ret
Function at 0x10022ed0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101de2f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10029650
mov dword [ebp - 4], 0
push 0x38
mov dword [esi], vtable.RC::RCMiniUIIconBtn.1.0
mov dword [esi + 4], vtable.RC::RCMiniUIIconBtn.0
call fcn.101b37dc
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 7
mov word [eax + 0x20], cx
mov byte [ebp - 4], cl
mov dword [esi + 0xf8], eax
mov dword [eax], ecx
mov eax, dword [esi + 0xf8]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xf8]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xf8]
mov dword [eax + 0xc], ecx
mov dword [esi + 8], ecx
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
Function at 0x10026770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100267b8
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100267b8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x100267b8
mov al, 1
jmp 0x100267ba
xor al, al
test al, al
je 0x10026945
mov esi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x1002683f
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x100267c4
mov eax, edi
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x10026831
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100267e0
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1002686c
mov eax, dword [esi]
push 5
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1002686c
push dword [esi + 0x24]
push 1
jmp 0x1002685e
test eax, eax
je 0x100267f3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100267f5
mov eax, dword [esp + 0xc]
push 0
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1002686c
push 0
push 0
push 0xc9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x9c]
sub ecx, dword [edi + 0x94]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [esp + 0x14]
push eax
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
add eax, dword [edi + 0x90]
add ecx, dword [edi + 0x94]
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x100268c0
mov esi, dword [esp + 0x30]
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx]
mov eax, edx
mov dword [esp + 0x2c], edx
sub eax, ecx
add dword [esp + 0x34], eax
mov eax, edi
sub eax, esi
add dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x10026945
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10026945
mov edi, dword [edi + 0x28]
push 0x10
call fcn.101b37dc
add esp, 4
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0xc9b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.101b3122
mov esp, ebp
pop ebp
ret