joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ef10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10128dc1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0
call fcn.10016790
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
mov edi, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 0x68]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x34], 1
call edx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xc], 1
call edx
test eax, eax
jne 0x1000efd1
lea ecx, [esp + 0x10]
call fcn.100168d0
mov esi, dword [esp + 0x30]
mov dword [esi], eax
test eax, eax
jne 0x1000efad
push 0x101b079c
mov ecx, edi
call fcn.100010d0
jmp 0x1000efdb
cmp byte [esp + 0x38], 0
je 0x1000efdb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [esi], eax
test eax, eax
jne 0x1000efdb
push 0x101b1718
mov ecx, edi
call fcn.100010d0
jmp 0x1000efdb
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.100168f0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0x14

Function at 0x1000f0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10128e41
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x3c]
push edx
push eax
push esi
mov dword [esp + 0x30], ebx
call fcn.1000ef10
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 1
call eax
mov edi, dword [esp + 0x2c]
cmp eax, ebx
jne 0x1000f193
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
push 1
push eax
push edi
lea eax, [esp + 0x40]
push eax
call edx
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.100010d0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
mov byte [esp + 0x1c], bl
call edx
test al, al
je 0x1000f193
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x1000f193
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, ebx
je 0x1000f1aa
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.100360c0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x1000f1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10128e41
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x3c]
push edx
push eax
push esi
mov dword [esp + 0x30], ebx
call fcn.1000ef10
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 1
call eax
mov ebp, dword [esp + 0x2c]
cmp eax, ebx
jne 0x1000f281
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push eax
push ebp
lea eax, [esp + 0x3c]
push eax
call edx
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.100010d0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
mov byte [esp + 0x1c], bl
call edx
test al, al
je 0x1000f281
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x1000f281
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, ebx
je 0x1000f294
xor eax, eax
mov word [ebp], ax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14

Function at 0x100152d1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push edi
xor edi, edi
xor ebx, ebx
call edx
test eax, eax
jne 0x10015311
mov esi, dword [esi + 4]
test esi, esi
je 0x10015311
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10015311
mov ecx, dword [esp + 0x14]
mov edx, ecx
or edx, dword [esp + 0x18]
je 0x10015311
push esi
push ecx
push 1
push eax
call fcn.100b0e8d
add esp, 0x10
mov edi, eax
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
ret 0xc
Function at 0x10017d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012a218
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x1c]
xor edi, edi
push edx
mov ecx, esi
mov dword [ebp], edi
mov dword [esp + 0x38], edi
call fcn.100178f0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edi
call edx
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
sete bl
mov dword [esp + 0x24], 0xffffffff
call edx
test al, al
je 0x10017df5
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x10017df5
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test bl, bl
je 0x10017ea2
mov edi, dword [esp + 0x2c]
cmp byte [edi + 0xc], 0
je 0x10017e1e
push 0xe2
push str.....ofstdincludedcmtk_ofstd_oflist.h
push str._node__dummy
call fcn.100af755
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, dword [edi + 0x10]
je 0x10017ec6
lea ecx, [esp + 0x30]
push ecx
push ecx
mov dword [esp + 0x34], esp
mov eax, esp
lea edx, [esp + 0x34]
lea ebx, [esi + 0x40]
push edx
mov ecx, ebx
mov dword [eax], edi
call fcn.100170d0
cmp byte [edi + 0xc], 0
mov eax, dword [eax]
mov dword [ebp], eax
je 0x10017e6a
push 0xe2
push str.....ofstdincludedcmtk_ofstd_oflist.h
push str._node__dummy
call fcn.100af755
add esp, 0xc
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10017e98
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10017e80
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10017e8f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push esi
call fcn.100af652
add esp, 4
push edi
mov ecx, ebx
call fcn.100377a0
jmp 0x10017ec6
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], esp
push eax
lea ecx, [esi + 0x40]
call fcn.100170d0
mov ecx, dword [eax]
mov dword [ebp], ecx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x1012a0d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DcmElement.0
mov eax, dword [esi + 0x30]
push eax
mov dword [esp + 0x18], 0
call fcn.100afea7
mov ecx, dword [esi + 0x2c]
add esp, 4
test ecx, ecx
je 0x1001a9d1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.100140b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10036430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ebx
xor bl, bl
test edx, edx
je 0x10036466
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036443
sub eax, esi
pop esi
test eax, eax
je 0x10036466
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10036466
shr eax, 4
not al
and al, 1
pop ebx
ret
mov al, bl
pop ebx
ret

Function at 0x100499d1
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
push edi
je 0x10049a65
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x10049a65
mov edi, dword [esp + 0x18]
cmp edi, 8
jg 0x10049a65
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0
push edi
push ecx
mov ecx, esi
call edx
cmp dword [esi + 0x70], 0
je 0x10049a65
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test eax, eax
je 0x10049a65
push 1
push edi
call fcn.1003a3e0
movzx ecx, word [esi + 0x22]
push eax
movzx eax, word [esi + 0x20]
push eax
push ecx
push str.P6_n_u__u_n_lu_n
push ebx
call fcn.100b2a68
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov edi, dword [ecx + 8]
add esp, 0x1c
push ebx
mov esi, ecx
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 8]
push edi
mov ecx, esi
call eax
push eax
call fcn.100b1a6a
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x10056320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1012cbd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov bx, word [esp + 0x2c]
mov bp, word [esp + 0x30]
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esi + 4], eax
mov word [esi + 8], bx
mov word [esi + 0xa], bp
mov word [esi + 0xc], bx
mov word [esi + 0xe], bp
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 8
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esi], vtable.DiFlipTemplate_unsigned_char_.0
cmp edi, eax
je 0x1005648c
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
test ecx, ecx
jbe 0x10056406
test eax, eax
jle 0x10056406
movzx edx, bx
movzx eax, bp
imul edx, eax
imul edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x10056406
cmp dword [esp + 0x38], 0
je 0x100563e5
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
cmp dword [esp + 0x3c], 0
push eax
mov ecx, esi
je 0x100563db
call fcn.100d97e0
jmp 0x1005648c
call fcn.1004bda0
jmp 0x1005648c
cmp dword [esp + 0x3c], 0
je 0x1005648c
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
push eax
mov ecx, esi
call fcn.1004be50
jmp 0x1005648c
mov edi, dword [0x10199a74]
mov ecx, 0x101b5bc0
call fcn.10035670
mov ebx, dword [0x101b5bbc]
mov ecx, 0x101b5bc0
call fcn.100356c0
test edi, ebx
je 0x1005648c
call fcn.10037680
mov edi, eax
lea ecx, [edi + 0x14]
call fcn.10035670
cmp dword [edi + 0xc], 0
je 0x1005644c
lea ecx, [edi + 0x10]
call fcn.10035670
mov edi, dword [edi + 4]
jmp 0x1005644f
mov edi, dword [edi + 8]
push str.WARNING:_could_not_flip_image_..._corrupted_data.
push edi
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov edi, eax
cmp dword [edi + 0xc], 0
je 0x10056484
lea ecx, [edi + 0x10]
call fcn.100356c0
lea ecx, [edi + 0x14]
call fcn.100356c0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18
Function at 0x100566a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1012cc08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov bx, word [esp + 0x2c]
mov bp, word [esp + 0x30]
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esi + 4], eax
mov word [esi + 8], bx
mov word [esi + 0xa], bp
mov word [esi + 0xc], bx
mov word [esi + 0xe], bp
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0x10
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esi], vtable.DiFlipTemplate_unsigned_short_int_.0
cmp edi, eax
je 0x1005680c
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
test ecx, ecx
jbe 0x10056786
test eax, eax
jle 0x10056786
movzx edx, bx
movzx eax, bp
imul edx, eax
imul edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x10056786
cmp dword [esp + 0x38], 0
je 0x10056765
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
cmp dword [esp + 0x3c], 0
push eax
mov ecx, esi
je 0x1005675b
call fcn.1004c010
jmp 0x1005680c
call fcn.100d9700
jmp 0x1005680c
cmp dword [esp + 0x3c], 0
je 0x1005680c
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
push eax
mov ecx, esi
call fcn.1004bf40
jmp 0x1005680c
mov edi, dword [0x10199a74]
mov ecx, 0x101b5bc0
call fcn.10035670
mov ebx, dword [0x101b5bbc]
mov ecx, 0x101b5bc0
call fcn.100356c0
test edi, ebx
je 0x1005680c
call fcn.10037680
mov edi, eax
lea ecx, [edi + 0x14]
call fcn.10035670
cmp dword [edi + 0xc], 0
je 0x100567cc
lea ecx, [edi + 0x10]
call fcn.10035670
mov edi, dword [edi + 4]
jmp 0x100567cf
mov edi, dword [edi + 8]
push str.WARNING:_could_not_flip_image_..._corrupted_data.
push edi
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov edi, eax
cmp dword [edi + 0xc], 0
je 0x10056804
lea ecx, [edi + 0x10]
call fcn.100356c0
lea ecx, [edi + 0x14]
call fcn.100356c0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18
Function at 0x10056a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1012cb78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov bx, word [esp + 0x2c]
mov bp, word [esp + 0x30]
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esi + 4], eax
mov word [esi + 8], bx
mov word [esi + 0xa], bp
mov word [esi + 0xc], bx
mov word [esi + 0xe], bp
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0x20
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esi], vtable.DiFlipTemplate_unsigned_long_int_.0
cmp edi, eax
je 0x10056b8c
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
test ecx, ecx
jbe 0x10056b06
test eax, eax
jle 0x10056b06
movzx edx, bx
movzx eax, bp
imul edx, eax
imul edx, dword [esp + 0x34]
cmp ecx, edx
jne 0x10056b06
cmp dword [esp + 0x38], 0
je 0x10056ae5
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
cmp dword [esp + 0x3c], 0
push eax
mov ecx, esi
je 0x10056adb
call fcn.1004c250
jmp 0x10056b8c
call fcn.1004c0b0
jmp 0x10056b8c
cmp dword [esp + 0x3c], 0
je 0x10056b8c
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
push eax
mov ecx, esi
call fcn.1004c160
jmp 0x10056b8c
mov edi, dword [0x10199a74]
mov ecx, 0x101b5bc0
call fcn.10035670
mov ebx, dword [0x101b5bbc]
mov ecx, 0x101b5bc0
call fcn.100356c0
test edi, ebx
je 0x10056b8c
call fcn.10037680
mov edi, eax
lea ecx, [edi + 0x14]
call fcn.10035670
cmp dword [edi + 0xc], 0
je 0x10056b4c
lea ecx, [edi + 0x10]
call fcn.10035670
mov edi, dword [edi + 4]
jmp 0x10056b4f
mov edi, dword [edi + 8]
push str.WARNING:_could_not_flip_image_..._corrupted_data.
push edi
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov edi, eax
cmp dword [edi + 0xc], 0
je 0x10056b84
lea ecx, [edi + 0x10]
call fcn.100356c0
lea ecx, [edi + 0x14]
call fcn.100356c0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18
Function at 0x100aefaf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b441c]
jne 0x100aefb9
repz ret
jmp fcn.100b64d7

Function at 0x100b907b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100b664f
and dword [ebp - 4], 0
cmp dword [0x101b7974], 0
mov ebx, eax
jne 0x100b912c
push 0x101941ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100b91dd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x100b91dd
push eax
call fcn.100b65dd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b7974], eax
call esi
push eax
call fcn.100b65dd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b7978], eax
call esi
push eax
call fcn.100b65dd
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x101b797c], eax
call esi
push eax
call fcn.100b65dd
pop ecx
mov dword [0x101b7984], eax
test eax, eax
je 0x100b912c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100b65dd
pop ecx
mov dword [0x101b7980], eax
mov eax, dword [0x101b7980]
cmp eax, ebx
je 0x100b9184
cmp dword [0x101b7984], ebx
je 0x100b9184
push eax
call fcn.100b6658
push dword [0x101b7984]
mov esi, eax
call fcn.100b6658
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b9184
test edi, edi
je 0x100b9184
call esi
test eax, eax
je 0x100b917b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b917b
test byte [ebp - 0xc], 1
jne 0x100b9184
or dword [ebp + 0x10], 0x200000
jmp 0x100b91bd
mov eax, dword [0x101b7978]
cmp eax, ebx
je 0x100b91bd
push eax
call fcn.100b6658
pop ecx
test eax, eax
je 0x100b91bd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b91bd
mov eax, dword [0x101b797c]
cmp eax, ebx
je 0x100b91bd
push eax
call fcn.100b6658
pop ecx
test eax, eax
je 0x100b91bd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b7974]
call fcn.100b6658
pop ecx
test eax, eax
je 0x100b91dd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b91df
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c7b56
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100b664f
and dword [ebp - 4], 0
cmp dword [0x101b7f5c], 0
mov ebx, eax
jne 0x100c7c07
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100c7cb8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100c7cb8
push eax
call fcn.100b65dd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b7f5c], eax
call esi
push eax
call fcn.100b65dd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b7f60], eax
call esi
push eax
call fcn.100b65dd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b7f64], eax
call esi
push eax
call fcn.100b65dd
pop ecx
mov dword [0x101b7f6c], eax
test eax, eax
je 0x100c7c07
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100b65dd
pop ecx
mov dword [0x101b7f68], eax
mov eax, dword [0x101b7f68]
cmp eax, ebx
je 0x100c7c5f
cmp dword [0x101b7f6c], ebx
je 0x100c7c5f
push eax
call fcn.100b6658
push dword [0x101b7f6c]
mov esi, eax
call fcn.100b6658
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100c7c5f
test edi, edi
je 0x100c7c5f
call esi
test eax, eax
je 0x100c7c56
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100c7c56
test byte [ebp - 0xc], 1
jne 0x100c7c5f
or dword [ebp + 0x10], 0x200000
jmp 0x100c7c98
mov eax, dword [0x101b7f60]
cmp eax, ebx
je 0x100c7c98
push eax
call fcn.100b6658
pop ecx
test eax, eax
je 0x100c7c98
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100c7c98
mov eax, dword [0x101b7f64]
cmp eax, ebx
je 0x100c7c98
push eax
call fcn.100b6658
pop ecx
test eax, eax
je 0x100c7c98
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b7f5c]
call fcn.100b6658
pop ecx
test eax, eax
je 0x100c7cb8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100c7cba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d2650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012e733
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push eax
movzx edx, di
push ecx
push edx
mov ecx, esi
call fcn.100f29d0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], vtable.DiPixelRepresentationTemplate_char_.0
mov eax, dword [esi + 0xc]
lea ecx, [eax - 1]
cmp ecx, 0x20
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.DiInputPixelTemplate_unsigned_char__char_.1.0
mov dword [esi + 0x30], vtable.DiInputPixelTemplate_unsigned_char__char_.0
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x3a], bl
mov byte [esi + 0x3b], bl
jge 0x100d26d5
mov eax, 1
shl eax, cl
jmp 0x100d26d8
or eax, 0xffffffff
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
test eax, eax
jge 0x100d26ea
fadd qword [0x10139940]
cmp ecx, 0x20
fchs
fstp qword [esi + 0x20]
jge 0x100d26fe
mov eax, 1
shl eax, cl
dec eax
jmp 0x100d2701
or eax, 0xffffffff
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
test eax, eax
jge 0x100d2713
fadd qword [0x10139940]
mov eax, dword [esp + 0x24]
fstp qword [esi + 0x28]
cmp eax, ebx
je 0x100d2731
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
mov ecx, esi
call fcn.100ceff0
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x100d2742
mov ecx, dword [esi + 0x10]
add ecx, eax
cmp ecx, dword [esi + 8]
jbe 0x100d274b
mov edx, dword [esi + 8]
sub edx, dword [esi + 0x10]
mov dword [esi + 0x14], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18
Function at 0x100d2a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012e793
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101b441c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push eax
movzx edx, di
push ecx
push edx
mov ecx, esi
call fcn.100f29d0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], vtable.DiPixelRepresentationTemplate_unsigned_char_.0
fldz
mov ecx, dword [esi + 0xc]
fstp qword [esi + 0x20]
cmp ecx, 0x20
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.DiInputPixelTemplate_unsigned_char__unsigned_char_.1.0
mov dword [esi + 0x30], vtable.DiInputPixelTemplate_unsigned_char__unsigned_char_.0
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x3a], bl
mov byte [esi + 0x3b], bl
jge 0x100d2ae8
mov eax, 1
shl eax, cl
dec eax
jmp 0x100d2aeb
or eax, 0xffffffff
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
test eax, eax
jge 0x100d2afd
fadd qword [0x10139940]
mov eax, dword [esp + 0x24]
fstp qword [esi + 0x28]
cmp eax, ebx
je 0x100d2b1b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
mov ecx, esi
call fcn.100cf560
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x100d2b2c
mov ecx, dword [esi + 0x10]
add ecx, eax
cmp ecx, dword [esi + 8]
jbe 0x100d2b35
mov edx, dword [esi + 8]
sub edx, dword [esi + 0x10]
mov dword [esi + 0x14], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18