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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x463da8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42e309
inc eax
mov dword [esi + 0x10], eax
jmp 0x42e41c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42e31d
mov eax, 0xffffffc7
jmp 0x42e41e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42e32e
cmp dword [esi + 8], eax
jne 0x42e31d
cmp dword [esi + 8], eax
jne 0x42e347
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42e347
mov eax, 0xffffffc7
jmp 0x42e41e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42e35b
push eax
mov ecx, ebx
call fcn.0042db00
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402c20
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42e38c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402c40
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042d270
test eax, eax
mov dword [esp + 0x38], eax
je 0x42e3bf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x817100
call fcn.00402e20
mov eax, dword [esp + 0x38]
jmp 0x42e41e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042e130
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42e403
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042e150
mov esi, eax
test esi, esi
jne 0x42e433
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042e130
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42e3d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x817100
call fcn.00402e20
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x817100
call fcn.00402e20
mov eax, esi
jmp 0x42e41e

Function at 0x4314f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x431550
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x431550
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x431550
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x431550
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x431590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x437490
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4643d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045d68c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00436e30
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045d5ba
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00459e7e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00459e7e
push 1
push 0
push 0
mov ecx, esi
call fcn.00459e26
push 1
push 0
push 1
mov ecx, esi
call fcn.00459e26
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045d6fe
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x437610
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4643f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045d68c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00436e30
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045d5ba
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4376d4
cmp dword [esp + 0x40], 1
jne 0x4376d2
cmp ecx, eax
jge 0x4376d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4376e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00437490
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045d6fe
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x437e60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045829c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045d934
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045ee50
test eax, eax
je 0x437f7c
mov ecx, dword [esp + 0x3c]
call fcn.0045d961
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x437f40
push edi
mov ecx, esi
call fcn.0045afce
mov ecx, esi
call fcn.004380e0
cmp dword [esp + 0x38], 1
jne 0x437f75
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045b109
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43a9c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a9f3
push esi
call fcn.0043dab0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a9ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43aa79
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43aa62
mov eax, dword [esi + 8]
test eax, eax
je 0x43aa17
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43aa5e
cmp eax, 2
je 0x43aa62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43aa0a
cmp eax, 3
je 0x43aa3d
cmp eax, 1
jne 0x43aa0a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43aa0a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43aa0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043aaa0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43aa88
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043aaa0
add esp, 4
pop esi
ret

Function at 0x459091
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4590c9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045711e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004570f6
jmp 0x4590d5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45a786
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45a7c8
call fcn.0046023b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45a7c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45a7bf
xor eax, eax
jmp 0x45a7d0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045a7d6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46076b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x460799
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4607b7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004606d1
jmp 0x4607b7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4607b7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004606d1
test edi, edi
mov eax, edi
jne 0x4607a1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401129
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401164
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401160
lea ebx, [ebx]
cmp esi, eax
jae 0x401164
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401150
cmp esi, eax
jb 0x40116a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43dd3b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
call fcn.0041a0f6
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402ee9
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
push edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
push 0x44196f
mov ecx, ebx
mov dword [esp + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.00401a80
or eax, 0xffffffff
push edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
mov dword [esi + 8], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.00428ffc
push edi
call fcn.00428ffc
push edi
call fcn.00428ffc
add esp, 0xc
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
Function at 0x404040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43df86
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CIRDeleteFiles.0
lea ebx, [esi + 4]
call fcn.0041a0f6
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404090
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x20], edi
lea ebp, [esi + 0x2c]
call fcn.0041a0f6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4040bf
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 1
call fcn.00403cf0
mov ecx, ebx
call fcn.004015e0
mov ebx, 1
mov ecx, ebp
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.004015e0
mov dword [esi + 0x20], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x24], 0x32
mov dword [esi + 0x58], ebx
mov dword [esi + 0x28], edi
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

Function at 0x404130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43dfc6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45060c]
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.CIRDeleteFiles.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.00401ed0
mov eax, dword [esi + 0x2c]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 4]
sub esi, 0x10
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041b9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x406a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp method.CDialog.virtual_332
push 0x24
mov eax, 0x43fb1f
call fcn.0042cb79
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00419fe8
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41d0f7
call fcn.00419fe8
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41d108
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41d115
or eax, 0xffffffff
jmp 0x41d272
mov ecx, esi
call fcn.0041cc22
mov dword [ebp - 0x14], eax
call fcn.004211e3
and dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x14], ebx
je 0x41d193
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41d193
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41d193
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041c0e3
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x41d193
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x128]
test eax, eax
je 0x41d193
mov ecx, ebx
call fcn.0041b088
test eax, eax
je 0x41d193
push 0
mov ecx, ebx
call fcn.0041b0a3
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00422c1b
push dword [ebp - 0x14]
call fcn.0042112a
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041cef6
xor edi, edi
cmp eax, edi
je 0x41d1f1
test byte [esi + 0x3c], 0x10
je 0x41d1db
push 4
pop edi
mov ecx, esi
call fcn.0041afba
test eax, 0x100
je 0x41d1d1
push 5
pop edi
push edi
mov ecx, esi
call fcn.00420ce7
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41d1f1
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041b12f
or dword [ebp - 4], 0xffffffff
jmp 0x41d21c
cmp dword [ebp - 0x28], edi
je 0x41d22a
push 1
mov ecx, ebx
call fcn.0041b0a3
cmp dword [ebp - 0x2c], edi
je 0x41d23a
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41d253
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41d253
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041cc5e
cmp dword [esi + 0x58], edi
je 0x41d26f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0042cc1e
ret
Function at 0x408d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e5ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 2
call fcn.004073e0
cmp dword [esi + 0x2c], 0
lea edi, [esi + 0x2c]
mov byte [esp + 0x18], 1
je 0x408d8e
mov ecx, edi
call fcn.00407f80
mov dword [edi], 0
mov eax, dword [esi + 4]
sub eax, 0x10
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408db8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408dde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40a850
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43e7ad
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x45060c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, dword [esp + 0x138]
xor edi, edi
mov dword [esp + 0x130], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
call fcn.0041a0f6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a8bd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ebx, 1
mov dword [esp + 0x130], edi
mov dword [esp + 0x18], ebx
call fcn.0041a0f6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a8f5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x130], ebx
call fcn.00419fe8
mov ecx, dword [eax + 4]
call fcn.0041d8ca
lea ecx, [esp + 0x20]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a930
sub eax, edx
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401a80
push 0x441968
lea ecx, [esp + 0x18]
call fcn.00401f20
call fcn.00419fe8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xa4]
cmp dword [eax - 0xc], edi
je 0x40a980
call fcn.00419fe8
mov eax, dword [eax + 4]
add eax, 0xa4
push eax
lea ecx, [esp + 0x18]
call fcn.004020c0
mov ebp, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ebx, [ebx]
push edi
push ebp
push str._sir_ext_temp__d
push esi
call fcn.004061a0
mov eax, dword [esi]
add esp, 0x10
push eax
call ebx
cmp eax, 0xffffffff
je 0x40a9ad
inc edi
jmp 0x40a990
call fcn.00419fe8
mov ecx, dword [eax + 4]
call fcn.0041d8df
lea eax, [ebp - 0x10]
mov byte [esp + 0x130], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00429433
add esp, 0x120
ret 4
Function at 0x40aa10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e809
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0041a0f6
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40aa55
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], edi
call fcn.0041a0f6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40aa81
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
push edi
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.004098d0
mov dword [esi + 0x28], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret