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

Disassembly:
push 0xffffffffffffffff
push 0x4d8a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
xor eax, eax
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x114]
mov edx, dword [esi + 0x118]
push edi
lea edi, [esi + 0x114]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x168]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x44efe8
mov eax, dword [eax + 0xc8]
jmp 0x44efea
xor eax, eax
sub dword [esp + 0x24], ecx
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
sub dword [esp + 0x28], edx
neg eax
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call ebp
mov edx, dword [esp + 0x58]
push edx
push ebx
push edi
call ebp
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x44f030
mov ebp, dword [esi + 0x118]
mov eax, dword [esi + 0x10]
mov edx, dword [ecx]
push ebp
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov eax, dword [esi + 0x118]
sub edx, ecx
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
jne 0x44f057
or dword [esp + 0x44], 0x200
mov ebp, dword [esi + 0xc8]
cmp ebp, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
je 0x44f159
lea ecx, [ecx]
xor eax, eax
cmp ebp, ebx
setne al
cmp eax, ebx
je 0x44f176
mov eax, ebp
mov edi, dword [eax + 8]
cmp edi, ebx
mov ebp, dword [ebp]
je 0x44f151
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x83
push ebx
mov ecx, edi
mov dword [esp + 0x6c], ebx
mov dword [edi + 0xc0], ebx
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
add eax, ecx
js 0x44f0e7
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
cmp ecx, eax
jg 0x44f0e7
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push ecx
mov ecx, 0x4ec600
call fcn.00411230
mov dword [esp + 0x58], ebx
jmp 0x44f103
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push ecx
mov ecx, 0x4ec604
call fcn.00411230
mov dword [esp + 0x58], 1
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, str.viewvisible
call fcn.00411230
mov eax, dword [edi]
add eax, 0x14
mov eax, dword [eax]
mov ecx, edi
mov dword [esp + 0x5c], 0xffffffff
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push 0x47
push ebx
mov ecx, edi
mov dword [esp + 0x70], ebx
mov dword [edi + 0xc0], ebx
call edx
mov eax, dword [esp + 0x40]
add dword [esp + 0x38], eax
cmp ebp, ebx
jne 0x44f070
lea ebx, [esi + 0x14]
call fcn.0047d8c0
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 8
push 0x80004005
call fcn.00401020
int3
Function at 0x450710
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push esi
push edi
push 0x11c
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004a4620
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x45075d
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
je 0x450857
mov eax, dword [esp + 0x18]
mov ecx, 1
sub eax, ecx
je 0x450844
sub eax, ecx
je 0x45077f
xor esi, esi
pop edi
mov eax, esi
pop esi
add esp, 0x11c
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x4507cb
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x4507aa
xor eax, eax
cmp byte [esp + 0x122], cl
pop edi
setne al
add eax, 8
mov esi, eax
pop esi
add esp, 0x11c
ret
test eax, eax
jne 0x450826
xor edx, edx
cmp byte [esp + 0x122], cl
pop edi
setne dl
lea edx, [edx + edx + 7]
mov esi, edx
mov eax, esi
pop esi
add esp, 0x11c
ret
cmp eax, 5
jne 0x450811
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x4507e9
mov esi, 5
pop edi
mov eax, esi
pop esi
add esp, 0x11c
ret
cmp eax, ecx
jne 0x4507fd
mov esi, 6
pop edi
mov eax, esi
pop esi
add esp, 0x11c
ret
test eax, eax
jne 0x450857
mov esi, 3
pop edi
mov eax, esi
pop esi
add esp, 0x11c
ret
cmp eax, 4
ja 0x450857
mov esi, 4
pop edi
mov eax, esi
pop esi
add esp, 0x11c
ret
cmp eax, 2
jne 0x450857
cmp byte [esp + 0x122], cl
jne 0x450857
mov esi, 0xa
pop edi
mov eax, esi
pop esi
add esp, 0x11c
ret
mov eax, dword [esp + 0x14]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb esi, esi
add esi, 2
pop edi
mov eax, esi
pop esi
add esp, 0x11c
ret

Function at 0x453350
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d89e8
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4533ad
call fcn.00460910
test esi, esi
jne 0x45338c
xor ecx, ecx
jmp 0x4533a0
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x453391
sub ecx, edi
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00403b90
call fcn.00472640
call fcn.00469550
call fcn.00469060
call fcn.004689d0
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4533e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x4535e0
Capabilities:
Inspect load icon resource

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
push ebp
push esi
push edi
push 0xc8
push 0x400000
mov esi, eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 4]
push 1
lea edi, [esi + 4]
push 0x80
push eax
call ebp
push 0xc8
push 0x400000
call ebx
mov ecx, dword [edi]
push eax
push 0
push 0x80
push ecx
call ebp
mov eax, dword [edi]
push edi
call fcn.00468850
lea ebx, [esi + 0x24]
push 1
mov ecx, 0x6e
mov eax, ebx
call fcn.004561f0
call fcn.004555f0
lea edx, [esp + 0x10]
push edx
call fcn.0048e9b0
push eax
mov ecx, 0x4e7d18
call fcn.0048e620
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x453688
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00454b40
call fcn.004537d0
cmp dword [esi + 0x3f0], 0
je 0x4536b7
push 0
mov ecx, 0x66
mov eax, ebx
call fcn.00456330
push 0
mov ecx, 0x258
mov eax, ebx
call fcn.00456330
call fcn.00455120
test eax, eax
je 0x4536d9
mov ecx, dword [edi]
push 0
push 0
push 0x64
push ecx
mov dword [esi + 0x360], 0
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x453f90
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esi + 4]
push ebx
push edi
push 0
push 0x14
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea edi, [esi + 0x24]
push 0
mov ecx, 0x64
mov eax, edi
call fcn.00456330
push 1
mov ecx, 0xc8
mov eax, edi
call fcn.00456330
xor ebx, ebx
mov ecx, esi
call fcn.00454ca0
push ebx
lea ecx, [ebx + 1]
mov eax, edi
call fcn.00456290
push ebx
push ebx
push esi
push 0x453f50
push ebx
push ebx
call fcn.004a32a5
add esp, 0x18
pop edi
mov dword [esi + 0x3ec], eax
pop ebx
pop ecx
ret
Function at 0x4546a0
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ecx
mov ecx, dword [edi]
push ebx
push esi
lea esi, [esp + 8]
call fcn.0048da50
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4546ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 3
jl 0x4547bb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4546f7
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x4547bb
mov eax, 3
lea ecx, [esp + 8]
mov edx, edi
call fcn.00403650
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
mov eax, dword [esp + 8]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454736
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x454743
mov eax, 2
pop esi
pop ebx
pop ecx
ret
mov ebx, edi
call fcn.004545a0
test eax, eax
mov eax, 3
jne 0x4547c0
lea ecx, [esp + 8]
mov edx, edi
call fcn.00403650
mov esi, dword [eax]
call fcn.0044aba0
test eax, eax
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45478a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x454797
mov eax, 4
pop esi
pop ebx
pop ecx
ret
mov ecx, dword [edi]
mov esi, dword [ecx - 0xc]
call fcn.0048e9b0
mov ecx, eax
call fcn.0048eeb0
xor edx, edx
cmp esi, eax
setle dl
sub edx, 1
and edx, 5
mov eax, edx
pop esi
pop ebx
pop ecx
ret
mov eax, 1
pop esi
pop ebx
pop ecx
ret
Function at 0x454aa0
Capabilities:
Create process on windows

Disassembly:
push ecx
lea eax, [esp]
push eax
call fcn.0048e9b0
push eax
mov ecx, str.license_link
call fcn.0048e620
mov ecx, dword [eax]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x454aea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret

Function at 0x454af0
Capabilities:
Create process on windows

Disassembly:
push ecx
lea eax, [esp]
push eax
call fcn.0048e9b0
push eax
mov ecx, str.privacy_link
call fcn.0048e620
mov ecx, dword [eax]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x454b3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret

Function at 0x454db0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4d9418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e4]
add esi, 0x3e4
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
push edi
jge 0x454dfa
mov ecx, 0x104
mov eax, esi
call fcn.00403c30
mov eax, dword [esi]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [esi]
test edi, edi
jne 0x454e13
xor ecx, ecx
jmp 0x454e35
mov ecx, edi
lea ebx, [ecx + 2]
jmp 0x454e20
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x454e20
sub ecx, ebx
sar ecx, 1
js 0x454ecd
cmp ecx, dword [edi - 8]
jg 0x454ecd
test eax, eax
mov dword [edi - 0xc], ecx
mov edx, dword [esi]
mov word [edx + ecx*2], 0
jne 0x454e5c
lea ebx, [eax + 0x10]
push str.c:program_files
mov eax, esi
call fcn.00403b90
push 1
push 0x4ea634
push esi
call fcn.004038e0
lea eax, [esp + 0xc]
push eax
call fcn.0048e9b0
push eax
mov ecx, str.install_dir_name
call fcn.0048e620
mov dword [esp + 0x18], 0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call fcn.004038e0
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454ebb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401020
int3
Function at 0x454f30
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4d9418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x507fec]
mov edx, dword [eax + 0xc]
push esi
push edi
mov ecx, 0x507fec
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x454f8e
mov ecx, 0x105
lea eax, [esp + 0xc]
call fcn.00403c30
mov esi, dword [esp + 0xc]
mov eax, dword [ebx + 0x41c]
push 0x104
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test esi, esi
jne 0x454fa9
xor eax, eax
jmp 0x454fc1
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454fb0
sub eax, edx
sar eax, 1
js 0x45501f
cmp eax, dword [esi - 8]
jg 0x45501f
mov dword [esi - 0xc], eax
lea edi, [esp + 0xc]
mov word [esi + eax*2], 0
call fcn.004546a0
mov ecx, dword [ebx + 4]
push 0
push eax
push 0x46c
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45500e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret
push 0x80070057
call fcn.00401020
int3

Function at 0x455030
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4d9dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
lea eax, [esp + 0x14]
push eax
xor esi, esi
call fcn.004615c0
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00461140
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, 0x4ec934
lea eax, [esp + 0x24]
call fcn.0045a690
cmp eax, esi
je 0x4550d2
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00461000
mov eax, dword [eax]
cmp dword [eax - 0xc], esi
jne 0x4550a9
mov esi, 1
jmp 0x4550b2
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov esi, eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4550d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.00461570
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455103
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x455bf0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x509be4]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x14], esi
je 0x455c0f
mov ebp, dword [eax + 4]
cmp ebp, esi
jne 0x455c1b
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x455c40
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x455c40
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x455c40
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x14], 1
push ebp
mov ecx, ebx
mov dword [ebx + 0x370], esi
call fcn.004564f0
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x455c69
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [0x509be4]
cmp ecx, esi
mov dword [esp + 0x18], esi
je 0x455c81
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov dword [ecx + 4], eax
mov eax, ebp
call fcn.00468550
cmp dword [ebx + 0x360], esi
je 0x455d20
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push 0
push 0x2001
mov edi, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x10]
push 0x43
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, edi
je 0x455ce2
push 1
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp esi, edi
je 0x455cfb
push 0
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, dword [ebx + 4]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x455d1e
mov eax, dword [ebx + 4]
push 0
push 0
push 0xf
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
mov ecx, dword [ebx + 4]
push 0x97
push esi
push esi
push esi
push esi
push esi
push ecx
mov dword [ebx + 0x370], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x14], esi
je 0x455d68
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x455d68
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x455d68
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x509be4]
cmp eax, esi
je 0x455d78
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x374]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x455ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
test eax, eax
push esi
push edi
mov esi, ecx
je 0x456017
lea edi, [eax - 0x24]
jmp 0x456019
xor edi, edi
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0x50]
lea ecx, [edi + 0x28]
push esi
call edx
test eax, eax
jne 0x456051
mov eax, dword [edi + 0x110]
mov edx, dword [eax + 0x50]
lea ecx, [edi + 0x110]
push esi
call edx
test eax, eax
jne 0x456051
mov eax, dword [edi + 0x1f8]
mov edx, dword [eax + 0x50]
lea ecx, [edi + 0x1f8]
push esi
call edx
mov esi, eax
test esi, esi
je 0x4560bc
push 1
push edi
call fcn.00456750
push 0
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00411230
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.00411230
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call edx
push 1
push edi
call fcn.00456750
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0xc]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc

Function at 0x4580c0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x30]
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
push edi
push 1
lea ecx, [ebx + 0x28]
push ebp
push esi
call edx
mov edi, eax
test edi, edi
jne 0x458115
mov eax, dword [ebx + 0x110]
mov edx, dword [eax + 0x30]
push 1
lea ecx, [ebx + 0x110]
push ebp
push esi
call edx
mov edi, eax
test edi, edi
jne 0x458115
mov eax, dword [ebx + 0x1f8]
mov edx, dword [eax + 0x30]
push 1
lea ecx, [ebx + 0x1f8]
push ebp
push esi
call edx
mov edi, eax
cmp dword [ebx + 0x2fc], 0
je 0x4581b5
cmp dword [ebx + 0x30c], 0
je 0x45813b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x30c], 0
cmp dword [ebx + 0x2fc], edi
jne 0x4581ab
call fcn.0048c010
movzx edi, word [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
movzx ecx, bp
shl ecx, 0x10
or ecx, edi
push ecx
mov ecx, dword [esp + 0x30]
mov esi, eax
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
push ecx
xor eax, eax
push 0x205
push eax
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esi + 0xc0], eax
call edx
mov eax, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x20], 0xd
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esi + 0x10]
push 0x4e
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x2fc], 0
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x45d870
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
lea esi, [esp + 4]
call fcn.0045d8c0
mov eax, dword [eax]
push eax
push 0
push 0x4ecee8
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d8b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ecx
ret

Function at 0x45dce0
Capabilities:
Read .ini file

Disassembly:
push ecx
cmp dword [edi + 0x18], 0
jne 0x45dd2a
push esi
lea esi, [esp + 4]
call fcn.0045d8c0
mov eax, dword [eax]
push eax
push 2
push 0x4ecef8
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x45dd2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x18]
pop ecx
ret

Function at 0x45dd30
Capabilities:
Read .ini file

Disassembly:
push ecx
cmp dword [edi + 4], 0xffffffff
jne 0x45dd7a
push esi
lea esi, [esp + 4]
call fcn.0045d8c0
mov eax, dword [eax]
push eax
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 4], eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x45dd7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 4]
pop ecx
ret