joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x3b304127
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x3f8232d9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1000464c
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x10044fea
call fcn.10020bee
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
push dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.10002f61
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.100030db
push esi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100046bc
mov ecx, dword [ebp + 8]
push esi
call fcn.10002f61
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100035e1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100035e1
mov eax, dword [ebp + 8]
jmp 0x1000477f
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10004a6b
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.10004a47
cmp ax, 0x5c
je 0x100046f2
mov esi, 0x1004f1cc
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a5a
push dword [ebp + 0xc]
call fcn.10002e2a
pop ecx
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10002a5a
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push dword [eax - 0xc]
mov ecx, dword [esi - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [ebp + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.1000496f
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.10003624
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.100035e1
test edi, edi
je 0x10004759
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.10002a5a
mov esi, dword [ebp - 0x10]
lea edi, [esi - 0x10]
push edi
call fcn.10002700
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, edi
call fcn.100035e1
mov eax, esi
call fcn.10020bb7
ret 0xc
Function at 0x1000a223
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x1004531f
call fcn.10020bee
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.100030db
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10004a6b
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x1000a284
push 0x1004ee64
mov ecx, edi
call fcn.10002f61
lea ecx, [esi - 0x10]
jmp 0x1000a2d4
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10004a47
cmp ax, 0x5c
je 0x1000a2aa
mov esi, 0x1004f1cc
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a5a
mov esi, str.Coupon_
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a5a
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.10002700
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.100035e1
mov eax, edi
call fcn.10020bb7
ret
Function at 0x1000a4a5
Capabilities:
Get hostname

Disassembly:
push 0x168
mov eax, 0x100453f3
call fcn.10020c22
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x16c], eax
call fcn.10003536
push eax
lea ecx, [ebp - 0x168]
call fcn.10002cfd
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10003536
push eax
lea ecx, [ebp - 0x164]
call fcn.10002cfd
mov byte [ebp - 4], 1
call fcn.10003536
push eax
lea ecx, [ebp - 0x160]
call fcn.10002cfd
mov byte [ebp - 4], 2
lea edi, [ebp - 0x20]
xor eax, eax
mov ecx, 0x1000
stosd dword es:[edi], eax
mov dword [ebp - 0x170], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
push eax
push ecx
lea ecx, [ebp - 0x164]
call fcn.100030db
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x164]
call fcn.10004a6b
push esi
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.1000482b
add esp, 0xc
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.100049f7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
lea ecx, [ecx - 0x10]
call fcn.100035e1
push 3
push dword [ebp - 0x160]
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
call fcn.100027cb
mov byte [ebp - 4], 4
push dword [ebp - 0xdc]
call fcn.100028c9
pop ecx
push eax
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x168]
call fcn.10002c83
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xdc], eax
je 0x1000a5dd
push dword [ebp - 0xdc]
call fcn.10025d2a
pop ecx
lea eax, [ebp - 0xb0]
push eax
call fcn.10004a97
mov eax, dword [ebp - 0x168]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1000535d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10005403
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x34]
add esp, 0x18
mov edx, ebx
xor eax, eax
movsd dword es:[edi], dword [esi]
push 8
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
cmp edx, 0x21
jae 0x1000a657
movzx ecx, byte [ebp + ebx - 0x20]
mov eax, ecx
and ecx, 0xf
shr eax, 4
inc ebx
mov al, byte [ebp + eax - 0x34]
mov byte [ebp + edx - 0x58], al
mov al, byte [ebp + ecx - 0x34]
mov byte [ebp + edx - 0x57], al
add edx, 2
cmp ebx, 0x10
jb 0x1000a62c
lea eax, [ebp - 0x158]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x15c]
push 3
lea eax, [ebp - 0x58]
push eax
call fcn.10002992
mov byte [ebp - 4], 5
push dword [ebp - 0x15c]
call fcn.10002e2a
pop ecx
push eax
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x160]
call fcn.10003241
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x15c], eax
je 0x1000a6b4
push dword [ebp - 0x15c]
call fcn.10025d2a
pop ecx
mov esi, dword [ebp - 0x174]
lea ecx, [ebp - 0x160]
push 0x10
push 0xa
push esi
call fcn.1000496f
mov ecx, dword [ebp - 0x160]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, dword [ebp - 0x164]
add ecx, 0xfffffff0
call fcn.100035e1
mov ecx, dword [ebp - 0x168]
add ecx, 0xfffffff0
call fcn.100035e1
mov eax, esi
call fcn.10020bcc
ret
Function at 0x1000a993
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1005b030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
push edi
test esi, esi
je 0x1000aa5f
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.10022200
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000aa5f
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1000aa1f
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10025d2f
pop ecx
pop ecx
test eax, eax
je 0x1000aa25
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000a9fe
jmp 0x1000aa54
push dword [ebp - 0x228]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x234]
mov esi, eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1000aa61
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fb7a
leave
ret 8

Function at 0x1000aa77
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x1000aa89
push 0xd
pop eax
jmp 0x1000aabb
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000aa92
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x1000bd04
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push 0x1004fc88
push dword [ebp + 8]
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
mov dword [ebx], esi
call fcn.1002a76a
add esp, 0xc
test eax, eax
je 0x1000bd38
xor eax, eax
jmp 0x1000be5e
push edi
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.1002aba8
add esp, 0x10
inc edi
cmp edi, 4
jl 0x1000bd3b
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
cmp ecx, 0x89504e47
jne 0x1000be5b
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.1002aba8
add esp, 0x10
inc edi
cmp edi, 4
jl 0x1000bd84
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
cmp ecx, 0xd0a1a0a
jne 0x1000be5b
push esi
push 0x10
push dword [ebp - 4]
call fcn.1002af93
add esp, 0xc
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.1002aba8
add esp, 0x10
inc edi
cmp edi, 4
jl 0x1000bddb
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, esi
push 1
push eax
call fcn.1002aba8
add esp, 0x10
inc esi
cmp esi, 4
jl 0x1000be1b
mov eax, dword [ebp + 0x10]
xor esi, esi
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
inc esi
mov dword [ebx], ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000be64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 0x10]
push 0x1004fc88
push dword [ebp + 8]
and dword [esi], 0
and dword [edi], 0
push eax
call fcn.1002a76a
add esp, 0xc
test eax, eax
jne 0x1000c030
push ebx
xor ebx, ebx
inc ebx
push dword [ebp - 4]
lea eax, [ebp + 0xb]
push ebx
push ebx
push eax
call fcn.1002aba8
add esp, 0x10
test eax, eax
je 0x1000c026
cmp byte [ebp + 0xb], 0xff
jne 0x1000c026
push dword [ebp - 4]
lea eax, [ebp + 0xb]
push ebx
push ebx
push eax
call fcn.1002aba8
add esp, 0x10
test eax, eax
je 0x1000c026
mov cl, byte [ebp + 0xb]
lea eax, [ecx + 0x20]
cmp al, 0xf
ja 0x1000bf1e
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.1002aba8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.1002aba8
movzx eax, byte [ebp + 0xf]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
push ebx
sub ecx, 2
push ecx
push dword [ebp - 4]
call fcn.1002af93
add esp, 0x2c
jmp 0x1000be96
movzx eax, cl
mov ecx, 0xd8
cmp eax, ecx
ja 0x1000bfbd
je 0x1000be96
sub eax, 0
je 0x1000c026
sub eax, 0xc0
je 0x1000bf4c
sub eax, 4
jmp 0x1000bfdb
push ebx
push 3
push dword [ebp - 4]
call fcn.1002af93
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.1002aba8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.1002aba8
movzx eax, byte [ebp + 0xf]
push dword [ebp - 4]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
mov dword [edi], ecx
call fcn.1002aba8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.1002aba8
movzx eax, byte [ebp + 0xf]
add esp, 0x4c
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
mov dword [esi], ecx
jmp 0x1000be96
cmp eax, 0xd9
jb 0x1000bfe1
cmp eax, 0xda
jbe 0x1000c026
cmp eax, 0xdd
jbe 0x1000bedc
cmp eax, 0xfe
je 0x1000bedc
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.1002aba8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.1002aba8
movzx eax, byte [ebp + 0xf]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
push ebx
sub ecx, 2
push ecx
push dword [ebp - 4]
call fcn.1002af93
add esp, 0x2c
test eax, eax
je 0x1000be96
push dword [ebp - 4]
call fcn.1002a83e
pop ecx
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x1000c224
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x100455f3
call fcn.10020bee
push ecx
lea ecx, [ebp - 0x10]
call fcn.10002f61
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c2b8
push eax
jmp 0x1000c2a7
call fcn.10003536
push eax
lea ecx, [ebp - 0x14]
call fcn.10002cfd
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.10004883
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100049f7
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c29a
push esi
call fcn.1002a97f
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.100035e1
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1000a1ef
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000c24d
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.100035e1
call fcn.10020bb7
ret

Function at 0x1000c2c9
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x1004531f
call fcn.10020bee
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.100030db
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10004a6b
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x1000c32a
push 0x1004ee64
mov ecx, edi
call fcn.10002f61
lea ecx, [esi - 0x10]
jmp 0x1000c381
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10004a47
cmp ax, 0x5c
je 0x1000c350
mov esi, 0x1004f1cc
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a5a
mov esi, str.Coupon_
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a5a
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.1000c224
add esi, 0xfffffff0
push esi
call fcn.10002700
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.100035e1
mov eax, edi
call fcn.10020bb7
ret
Function at 0x1000fe17
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 4
pop eax
test esi, esi
lea ebx, [esi - 0x348]
cmove ebx, eax
push eax
mov dword [ebp - 0x14], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 8], 0
mov edi, eax
and dword [ebp - 0xc], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000ff52
lea eax, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x1000feb6
mov ebx, dword [ebp - 4]
lea edi, [esi + 0x1c]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1000feaa
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x1000fea6
xor ebx, ebx
test ebx, ebx
jne 0x1000fe80
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x1000ff3f
test eax, eax
je 0x1000ff52
cmp dword [esi + 0x20], 0x10
jne 0x1000fef2
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jne 0x1000fef2
mov eax, dword [esi + 0x24]
push 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x1000ff14
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x20]
cmp eax, 0x12
je 0x1000ff52
sub eax, 0xf
je 0x1000ff3f
sub eax, 0x91
je 0x1000ff3f
sub eax, 0x78
je 0x1000ff3f
sub eax, 0xe8
je 0x1000ff3f
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [esi + 0x1c]
jne 0x1000fe74
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x1000ff71
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x10010208
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005b030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, ecx
push 4
pop eax
test esi, esi
mov dword [ebp - 0x18], esi
lea ebx, [esi - 0x3bc]
cmove ebx, eax
push dword [ebx]
call edi
test eax, eax
je 0x1001030b
push dword [esi + 8]
call edi
test eax, eax
je 0x1001030b
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x10010300
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x10010300
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10010300
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x2c]
add esi, 0x358
mov edx, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x14]
add edx, dword [ebp - 0x20]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
je 0x100102e0
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 8]
call fcn.1000a161
jmp 0x1001030b
mov esi, dword [ebp - 0x10]
sub edx, esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push 0x50
push edx
sub eax, ecx
push eax
push esi
push ecx
push dword [ebx]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1001030b
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fb7a
leave
ret 4
Function at 0x10010b96
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x10010bad
mov eax, dword [ebp + 0x14]
and dword [eax], 0
jmp 0x10010c78
movzx eax, word [ebp + 0x10]
mov ecx, 0x205
cmp ax, cx
je 0x10010bd1
add ecx, 0xfffffffc
cmp ax, cx
je 0x10010bd1
mov ecx, 0x203
cmp ax, cx
jne 0x10010c78
push edi
push 0x200
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [esi + 0x3c0]
xor edi, edi
cmp byte [eax + 0x3bc], 0
je 0x10010bfd
push eax
push 2
mov dword [eax + 0xc], edi
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push edi
push edi
push esi
push 0x10010f7e
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x39c], 8
jne 0x10010c5f
cmp dword [esi + 0x394], edi
je 0x10010c39
push edi
push 0xf030
push 0x112
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10010c77
push dword [esi + 0x360]
call fcn.1001239a
push edi
push edi
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x10010e4d
Capabilities:
Terminate process

Disassembly:
push 4
mov eax, 0x10045294
call fcn.10020bee
mov edi, ecx
push 0x1004f9c8
lea ecx, [ebp - 0x10]
call fcn.10002f61
and dword [ebp - 4], 0
lea esi, [edi + 0xb08]
push dword [edi + 0x364]
push dword [ebp - 0x10]
push 0x100506e8
push esi
call fcn.1000a910
or dword [ebp - 4], 0xffffffff
add esp, 0x10
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.100035e1
push str.lab_title
lea ecx, [edi + 0x30]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x10010eb3
mov edx, dword [eax]
mov ecx, eax
push dword [esi]
call dword [edx + 0x2c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
jne 0x10010ec5
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ecx
push 0x70000
lea esi, [edi + 4]
push 0
mov ecx, esi
call fcn.100104e7
xor eax, eax
push eax
push dword [edi + 0x378]
push dword [edi + 0x374]
push eax
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
push ecx
mov ecx, esi
call fcn.1000e097
mov ecx, edi
call fcn.10010c7f
mov ecx, edi
call fcn.10010df3
call dword [sym.imp.DuiLib.dll_public:_static_int___cdecl_DuiLib::CDPI::GetMainMonitorDPI_void_]
push eax
lea ecx, [edi + 0x30]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SetDPI_int_]
call fcn.10020bb7
ret