joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10105470
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10346c80
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x10105679
mov eax, dword [ebp + 4]
test eax, eax
je 0x10105679
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x10105679
cmp dword [eax], 0
je 0x10105679
mov ecx, dword [ebp]
test ecx, ecx
je 0x10105679
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
je 0x10105679
cmp dword [ebx + 0x18], 0
je 0x10105679
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10105679
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10105520
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
test al, al
jne 0x10105637
mov dword [esp + 0x1c], 0
mov dword [esp + 0x88], 0
mov ecx, dword [ebx + 0xc]
cmp dword [ecx], 0
setg al
mov byte [esp + 0x1b], al
test al, al
je 0x10105562
push ecx
call fcn.101c7e20
mov edi, dword [sym.imp.MSVCR120.dll_free]
mov esi, eax
push 0
call edi
add esp, 4
mov dword [esp + 0x1c], esi
jmp 0x101055df
lea ecx, [esp + 0x24]
call fcn.10104920
mov byte [esp + 0x88], 1
xor esi, esi
mov eax, dword [ebp + 4]
mov ebp, dword [eax + 0x4c]
cmp dword [ebp], esi
jbe 0x101055ac
xor edi, edi
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 8]
add eax, edi
push eax
push dword [edi + ecx]
mov ecx, ebx
call fcn.101c19b0
test eax, eax
je 0x101055a3
push eax
lea ecx, [esp + 0x28]
call fcn.10105f30
inc esi
add edi, 0x28
cmp esi, dword [ebp]
jb 0x10105582
push 0
lea ecx, [esp + 0x28]
call fcn.10104a10
mov edi, dword [sym.imp.MSVCR120.dll_free]
mov esi, eax
push 0
call edi
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x88], 0
lea ecx, [esp + 0x24]
call fcn.10104980
mov ebp, dword [esp + 0x20]
test esi, esi
je 0x101055f1
xor eax, eax
cmp ax, word [esi]
je 0x101055f1
mov ecx, esi
call fcn.101c8b40
cmp byte [esp + 0x1b], 0
je 0x10105626
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 0x88], 0xffffffff
push esi
call edi
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x88], 0xffffffff
push esi
call edi
add esp, 4
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10105673
movss xmm2, dword [ebx + 0x60]
lea eax, [ecx + 8]
push 0
push 2
push eax
push dword [ebx + 0x68]
push dword [ecx]
mov ecx, dword [ebx + 0x18]
call fcn.101c64e0
mov esi, eax
test esi, esi
je 0x10105673
mov ecx, dword [esi]
call fcn.101c8ba0
push ecx
mov ecx, esi
call fcn.101019a0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101088d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10346faf
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [esp + 0xc], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x18], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esp + 0x18], 4
mov dword [esi + 0x20], vtable.RC::RCPrintProgressCallBack.0
mov byte [esp + 0x18], 5
mov eax, dword [esp + 0x20]
mov dword [esi], vtable.RC::RCPdfPrintProgressBarDlg.1.0
mov dword [esi + 0x20], vtable.RC::RCPdfPrintProgressBarDlg.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov byte [esp + 0x18], 6
push 0x18
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esi + 0x38], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x18], 7
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x44], 0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4

Function at 0x10108ff0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1033ffb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x44], 0
jne 0x10109102
mov ebx, dword [esp + 0x40]
xor edi, edi
mov eax, ebx
or eax, dword [esp + 0x44]
je 0x10109063
push edi
push 0x64
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1033e270
push dword [esp + 0x44]
push ebx
push edx
push eax
call fcn.1033e300
mov edi, eax
mov eax, 0x64
cmp edi, eax
cmovg edi, eax
push 0
push edi
push 0x402
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push edi
push ebx
push dword [esp + 0x50]
push str.ck_WSbpS
push eax
call fcn.1014db00
add esp, 0x14
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x14]
push eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x101090eb
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1033d458
add esp, 0x2c
ret 0x10
Function at 0x1010ae70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x1034755e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
movaps xmm0, xmm2
movss dword [esp + 0xc], xmm0
mov esi, ecx
movsd xmm1, qword [0x105888f8]
cvtss2sd xmm0, xmm0
subsd xmm0, qword [0x10588b18]
andpd xmm0, xmmword [0x105890c0]
comisd xmm1, xmm0
ja 0x1010af84
mov eax, dword [0x105e8550]
test al, 1
jne 0x1010aef1
or eax, 1
mov dword [0x105e8550], eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x105e8554], eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x40], 3
jle 0x1010af0a
mov ecx, eax
sub ecx, dword [0x105e8554]
cmp ecx, 0x64
jb 0x1010af84
movss xmm2, dword [esp + 0xc]
movsd xmm1, qword [0x10588b18]
movsd xmm3, qword [0x105888f8]
cvtps2pd xmm2, xmm2
mov dword [0x105e8554], eax
movapd xmm0, xmm2
subsd xmm0, xmm1
andpd xmm0, xmmword [0x105890c0]
comisd xmm3, xmm0
ja 0x1010af5c
comisd xmm1, xmm2
ja 0x1010af5c
mov eax, dword [esp + 0x2c]
movzx ecx, ax
mov eax, dword [esp + 0x28]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 1
jmp 0x1010af72
mov eax, dword [esp + 0x2c]
movzx ecx, ax
mov eax, dword [esp + 0x28]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0xffffffffffffffff
push 0x7933
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_PostMessageW]
inc dword [esi + 0x40]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret 0xc
Function at 0x10111120
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
mov ebx, dword [esp + 0x124]
push esi
push edi
push 0x30
mov esi, ecx
push 0
push esi
call sub.MSVCR120.dll_memset
push 0x110
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x114
push 0
push eax
mov edi, 0x30
call sub.MSVCR120.dll_memset
add esp, 0x18
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10111181
cmp dword [esp + 0x10], 6
jae 0x10111186
mov edi, 0x2c
push ebx
mov dword [esi], edi
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, dword [esp + 0x120]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov eax, dword [0x105e0bf4]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x138]
pop edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
pop esi
pop ebx
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret 0x18
Function at 0x10113a30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1034870c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x40]
push 0x138
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0
test eax, eax
je 0x10113a92
push ecx
mov ecx, eax
call fcn.10112760
mov edi, eax
jmp 0x10113a94
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
lea esi, [edi + 0xf4]
mov edx, ebx
mov dword [esp + 0x18], edi
mov ecx, esi
call fcn.100d1c40
test al, al
jne 0x10113aca
cmp esi, ebx
je 0x10113ac3
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.100cd9d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov eax, dword [esp + 0x44]
mov dword [edi + 0x130], eax
call fcn.100e9040
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0xa
call esi
mov dword [edi + 0xbc], 0
mov ecx, edi
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc0], 1
mov dword [edi + 0xc8], 0
mov dword [edi + 0x10c], 0xff6c7780
mov dword [edi + 0x110], 0xff6c7780
mov dword [edi + 0x114], 0xff6c7780
mov dword [edi + 0x118], 0xff6c7780
mov eax, dword [edi]
call dword [eax + 0xc]
call fcn.100e9040
push 0x60
push dword [eax]
push 0x20
call esi
mov ecx, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0x18]
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 0x3c]
call fcn.100f3110
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
add esp, 0x28
ret 8
Function at 0x10123d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10349b60
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.100f8800
mov edx, eax
mov ecx, dword [edx + 0xc]
mov esi, dword [edx]
cmp ecx, dword [edx + 0x10]
je 0x10123e35
lea ebx, [ebx]
mov eax, dword [ecx]
test eax, eax
je 0x10123dbb
cmp dword [eax + 0x18], esi
je 0x10123dc5
add ecx, 4
cmp ecx, dword [edx + 0x10]
jne 0x10123db0
jmp 0x10123e35
test eax, eax
je 0x10123e35
cmp dword [eax + 0x18], 0xffffffff
je 0x10123e35
mov eax, dword [eax + 0x1c]
dec eax
je 0x10123e05
dec eax
jne 0x10123e35
push 0x1055c154
lea ecx, [esp + 0xc]
call fcn.100cc220
mov dword [esp + 0x48], 0
lea ecx, [esp + 8]
call fcn.100d7b20
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 8]
jmp 0x10123e30
push 0x1055c158
lea ecx, [esp + 0x24]
call fcn.100cc220
mov dword [esp + 0x48], 1
lea ecx, [esp + 0x20]
call fcn.100d7b20
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.100cc270
call fcn.100f9e50
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10123e5e
push 0
push 0x13a1
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret

Function at 0x10124540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1012456f
push 0
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
sub esi, dword [edi + 0x58]
jne 0x10124584
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x38]
lea edx, [esp + 0x10]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
movdqu xmmword [esp + 0x20], xmm0
call fcn.10145690
mov ecx, dword [edi + 0x3c]
lea edx, [esp + 0x20]
call fcn.10145690
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add ebx, esi
mov ecx, dword [edi + 0x44]
mov eax, ebx
sub eax, edx
cmp eax, ecx
jge 0x101245c3
lea ebx, [ecx + edx]
mov ecx, dword [edi + 0x40]
mov eax, ebx
sub eax, edx
cmp eax, ecx
jle 0x101245d1
lea ebx, [ecx + edx]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, ecx
push 1
push eax
mov eax, ebx
sub eax, edx
push eax
push ecx
push edx
push dword [edi + 0x38]
call esi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push 1
sub eax, ecx
push eax
mov eax, dword [esp + 0x30]
sub eax, ebx
push eax
push ecx
push ebx
push dword [edi + 0x3c]
call esi
mov ecx, dword [edi + 0x98]
test ecx, ecx
je 0x10124619
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10125370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10348f68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 3
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
push 0x1055c2b0
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.100cc400
mov dword [esp + 0x30], 0
lea ecx, [esp + 8]
call fcn.100d7b20
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0x10125407
push dword [esp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
call fcn.100f9e50
mov esi, eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10125446
push dword [ebp + 0xc]
push 0x1393
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret 8
Function at 0x10126550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10349fee
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0xc]
sub ebx, dword [esi + 8]
mov edi, dword [esi + 0x68]
sar ebx, 2
mov dword [esp + 0x10], 0
test ebx, ebx
jle 0x101265aa
mov eax, edi
cdq
idiv ebx
mov dword [esp + 0x10], edx
mov eax, dword [0x105e86cc]
test al, 1
jne 0x101265d6
or eax, 1
mov dword [0x105e86cc], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esi + 0x3c]
mov dword [0x105e86c8], ecx
mov dword [esp + 0x38], 0xffffffff
jmp 0x101265dc
mov ecx, dword [0x105e86c8]
mov eax, dword [ebp + 8]
sub eax, 0
je 0x101265f0
dec eax
jne 0x1012662a
mov dword [esi + 0x3c], ecx
mov dword [esp + 0x10], eax
jmp 0x1012662a
mov ecx, dword [esi + 0x48]
mov eax, ecx
imul eax, ebx
cmp eax, edi
jge 0x10126609
mov dword [esi + 0x3c], ecx
mov dword [esp + 0x10], 0
jmp 0x10126622
movd xmm1, edi
movd xmm0, ebx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov dword [0x105e86c8], eax
xor eax, eax
xor edi, edi
mov dword [esp + 0x14], eax
test ebx, ebx
jle 0x101266a2
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 2
cmp edi, eax
jae 0x10126699
mov eax, dword [esi + 8]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x10126699
mov eax, dword [esp + 0x10]
dec dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
test eax, eax
jle 0x1012665d
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
add eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
cmp byte [edx + 0x134], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
jne 0x10126699
lea eax, [esp + 0x18]
push eax
lea eax, [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
inc edi
cmp edi, ebx
jl 0x10126636
mov eax, dword [esp + 0x14]
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.1014c4b0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x101266bf
mov eax, dword [esi + 0x20]
mov edx, dword [ecx]
sub eax, dword [esi + 0x18]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret 4
Function at 0x10127210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1034a13a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x40], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x40], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 0x20], eax
mov dword [esp + 0x40], 4
lea esi, [ebx + 0x48]
push 0
mov dword [ebx], vtable.RC::RCAnnotListWnd.0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov byte [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0xffffffff
mov dword [ebx + 0x44], 0xffffffff
push 0
mov dword [esp + 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100f5280
mov dword [esi], eax
mov byte [esp + 0x40], 7
xor eax, eax
mov dword [ebx + 0x64], 7
mov dword [ebx + 0x60], 0
mov word [ebx + 0x50], ax
mov byte [esp + 0x40], 8
mov dword [ebx + 0x68], eax
call fcn.100f9e50
mov eax, dword [eax + 0x7c]
mov dword [ebx + 0x6c], eax
call fcn.100f04a0
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x70], eax
call fcn.100f04a0
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x74], eax
call fcn.100f04a0
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x78], eax
call fcn.100f04a0
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x7c], eax
call fcn.100f04a0
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x80], eax
call fcn.100f04a0
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x84], eax
call fcn.100f04a0
lea esi, [ebx + 0x8c]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x88], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100dc430
mov dword [esi], eax
mov byte [esp + 0x40], 0xd
push dword [ebx + 0x6c]
push dword [ebx + 0x7c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
mov dword [esp + 0x2c], 0
push 1
xor eax, eax
mov dword [esp + 0x34], 0
push 0x10368874
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.100cdd90
mov byte [esp + 0x40], 0xe
lea ecx, [esp + 0x10]
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push ecx
push dword [esp + 0x30]
cmovae eax, dword [esp + 0x24]
push eax
push dword [ebx + 0x7c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x14]
push esi
push dword [ebx + 0x7c]
mov dword [ebx + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0x40], 0xd
cmp dword [esp + 0x30], 8
jb 0x1012741a
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x40], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1033d458
add esp, 0x38
ret
Function at 0x10128790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1034a390
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov dword [eax], 0
lea eax, [esp + 0xc]
push dword [ecx + 0x44]
push eax
call fcn.10127a10
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10128862
cmp dword [eax], 3
jne 0x10128862
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.100f6a40
add esp, 4
mov ecx, eax
call fcn.100f6c00
call fcn.100f9e50
push 0
push 0
push 0x41b
push dword [eax + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1055c578
lea ecx, [esp + 0x18]
call fcn.100cc220
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x14]
call fcn.100d7b20
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 0x10
jb 0x1012884d
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x38], 0xffffffff
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10128897
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10128897
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10128897
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1033d458
add esp, 0x30
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x1034a605
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [esp + 8], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x14], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [esp + 0x14], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ecx + 0x20], eax
mov dword [esp + 0x14], 4
mov dword [ecx], vtable.RC::RCBookmarkWnd.0
mov dword [ecx + 0x24], 0
mov byte [esp + 0x14], 5
mov dword [ecx + 0x28], 0
mov byte [esp + 0x14], 6
mov dword [ecx + 0x2c], 0
mov byte [esp + 0x14], 7
xor eax, eax
mov word [ecx + 0x30], 0
mov dword [ecx + 0x48], 7
mov dword [ecx + 0x44], 0
mov word [ecx + 0x34], ax
mov byte [esp + 0x14], 8
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
mov byte [esp + 0x14], 9
mov dword [ecx + 0x68], 7
mov dword [ecx + 0x64], eax
mov word [ecx + 0x54], ax
mov byte [esp + 0x14], 0xa
mov dword [ecx + 0x80], 7
mov dword [ecx + 0x7c], eax
mov word [ecx + 0x6c], ax
mov dword [esp + 0x14], 0xffffffff
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret