joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10068040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
call fcn.100231a0
call fcn.10027836
push eax
lea ecx, [ebp - 8]
call fcn.10030354
lea eax, [ebp - 0xc]
push eax
call fcn.1000af80
add esp, 4
lea ecx, [ebp - 0xc]
call fcn.100071f0
movzx ecx, al
test ecx, ecx
jne 0x1006808e
lea ecx, [ebp - 0xc]
call fcn.1001ad60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10068164
push 0
lea ecx, [ebp - 0x130]
call fcn.10063ed0
lea ecx, [ebp - 0x130]
call fcn.100287dd
cmp eax, 1
je 0x100680db
mov dword [ebp - 0x134], 1
lea ecx, [ebp - 0x130]
call fcn.10063d50
lea ecx, [ebp - 0xc]
call fcn.10001fa0
lea ecx, [ebp - 8]
call fcn.1000dd10
mov eax, dword [ebp - 0x134]
jmp 0x100681ba
lea edx, [ebp - 0xbc]
push edx
call fcn.100525c0
add esp, 4
push str.firefox.exe
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.100070c0
add esp, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.1000a240
lea ecx, [ebp - 0x138]
call fcn.10001fa0
lea ecx, [ebp - 0xc]
call fcn.1001ad60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10068159
mov dword [ebp - 0x13c], 1
lea ecx, [ebp - 0x130]
call fcn.10063d50
lea ecx, [ebp - 0xc]
call fcn.10001fa0
lea ecx, [ebp - 8]
call fcn.1000dd10
mov eax, dword [ebp - 0x13c]
jmp 0x100681ba
lea ecx, [ebp - 0x130]
call fcn.10063d50
lea edx, [ebp - 0x144]
push edx
call fcn.10054ab0
add esp, 4
mov ecx, eax
call fcn.1001ad60
push eax
lea ecx, [ebp - 0xc]
call fcn.1001ad60
push eax
call fcn.1000b040
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x144]
call fcn.10001fa0
lea ecx, [ebp - 0xc]
call fcn.10001fa0
lea ecx, [ebp - 8]
call fcn.1000dd10
mov eax, dword [ebp - 0x140]
mov esp, ebp
pop ebp
ret 4
Function at 0x100692e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c943
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008acc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
movzx eax, word [0x10092c08]
test eax, eax
jne 0x1006932d
mov dword [ebp - 0x14], 0x104
lea ecx, [ebp - 0x14]
push ecx
push 0x10092c08
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push str.NETWORK_SERVICE
push 0x10092c08
call fcn.1003b7a4
add esp, 8
test eax, eax
jne 0x10069391
lea edx, [ebp - 0x18]
push edx
call fcn.10054ab0
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push str.WebShareSettings_
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100070c0
add esp, 0xc
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10001fa0
mov eax, dword [ebp + 8]
jmp 0x10069406
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100690f0
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 1
push str.Settings_
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.100070c0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10001fa0
lea ecx, [ebp - 0x10]
call fcn.1001ad60
push eax
call fcn.100544e0
add esp, 4
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.100020f0
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10001fa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x406ff9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov dword [ebp - 0x70], ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlSession_Manager
lea eax, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push eax
push 0x80000002
movsw word es:[edi], word [esi]
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407124
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x6c]
push 7
pop esi
push eax
push ebx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
push eax
push ebx
push 0x438e20
push dword [ebp - 0x74]
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jne 0x407124
cmp dword [ebp - 0x78], esi
jne 0x407124
push dword [ebp - 0x6c]
call fcn.0042a421
push dword [ebp - 0x6c]
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x7c], esi
call fcn.00416a60
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
push esi
push ebx
push ebx
push 0x438e20
push dword [ebp - 0x74]
call edi
test eax, eax
jne 0x407119
mov edi, dword [ebp - 0x6c]
shr edi, 1
lea eax, [edi - 2]
cmp eax, 0xffffd
ja 0x407119
cmp word [esi + edi*2 - 4], bx
jne 0x407119
cmp word [esi + edi*2 - 2], bx
jne 0x407119
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
add eax, 0x14
mov edx, 0x438e58
push eax
call fcn.0040732d
mov esi, dword [ebp - 0x70]
pop ecx
test edi, edi
je 0x407105
mov eax, dword [ebp - 0x7c]
push esi
lea eax, [eax + ebx*2]
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x407108
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc ebx
add ebx, eax
cmp ebx, edi
jb 0x4070e0
or ebx, 0xffffffff
cmp ebx, 0xffffffff
lea ecx, [esi - 0x10]
setne bl
call fcn.00401622
mov esi, dword [ebp - 0x7c]
push esi
call fcn.004164c6
pop ecx
mov al, bl
jmp 0x407126
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d04
leave
ret

Function at 0x4072bf
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x4072cc
xor al, al
pop esi
ret
push 0x1f4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x407305
cmp eax, 0x80
je 0x407305
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.00408cb3
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x4072c8
mov al, 1
pop esi
ret
Function at 0x415a83
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0xc
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x40]
mov esi, eax
lea eax, [ebx + 0x38]
push edx
push ecx
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00415912
lea ecx, [ebp - 0x30]
call fcn.0040e4f4
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push 0x2c
mov eax, ecx
mov dword [ebp - 4], esi
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x415b46
cmp dword [ebp - 0x30], 2
jne 0x415b46
cmp dword [ebp - 0x2c], esi
je 0x415b46
cmp dword [ebp - 0x10], esi
je 0x415b46
cmp dword [ebp - 0xc], esi
je 0x415b46
cmp dword [ebp - 8], esi
je 0x415b46
lea ecx, [ebp - 0x5c]
call fcn.0040e4f4
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x415b46
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov al, 1
jmp 0x415b48
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41fa13
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41fa5e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041fc34
test al, al
jne 0x41fa58
sub edx, 2
cmp edx, edi
jne 0x41fa3e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41fa80
lea eax, [edi + 2]
cmp edx, eax
je 0x41fa80
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041f95f
add esp, 0x10
jmp 0x41fb7a
push esi
lea ecx, [ebp - 0x255]
call fcn.0041fc34
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41fac3
push dword [ebp - 0x25c]
jmp 0x41fa70
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41fb00
cmp word [ebp - 0x226], 0
je 0x41fb21
cmp word [ebp - 0x226], ax
jne 0x41fb00
cmp word [ebp - 0x224], 0
je 0x41fb21
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041f95f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41fb6d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41fada
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41fb55
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41fb7a
push 0x41f78f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00423a90
add esp, 0x10
jmp 0x41fb4a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d04
leave
ret

Function at 0x420948
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42eefc
push 0x42eef4
push str.FlsAlloc
push 0x1e
call fcn.00420885
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42097c
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d3f4]
call esi
jmp 0x420982
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4209c6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42ef0c
push 0x42ef04
push str.FlsGetValue
push 0x20
call fcn.00420885
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4209fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d3f4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4028c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x4f8004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x830]
mov edi, ecx
push eax
push 0x4024db
push edi
xor ebx, ebx
push 0x65
inc ebx
pop edx
mov dword [ebp - 0x830], ebx
call fcn.00411cb8
add esp, 0xc
cmp eax, ebx
jne 0x4029f6
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00489f20
add esp, 0xc
mov ebx, 0x52a900
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x402947
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x86c]
push 0
push eax
call fcn.00489f20
and dword [ebp - 0x868], 0
lea eax, [ebp - 0x82c]
and dword [ebp - 0x860], 0
add esp, 0xc
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x86c], ebx
xor ebx, ebx
mov dword [ebp - 0x864], edi
inc ebx
mov dword [ebp - 0x858], eax
mov edi, 0x52a900
lea eax, [ebp - 0x210]
mov dword [ebp - 0x850], ebx
mov ecx, edi
mov dword [ebp - 0x854], eax
call fcn.00410b1e
test eax, eax
je 0x4029ca
push 0x104
lea edx, [ebp - 0x418]
mov ecx, edi
call fcn.00410b79
pop ecx
test eax, eax
jne 0x4029d8
push edi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea ecx, [ebp - 0x86c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, ebx
jmp 0x4029f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00486c63
leave
ret
Function at 0x40449b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f8004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x7e
pop edi
push 0x522d98
push 0
push ebx
push 0x4bc73c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor esi, esi
inc esi
test eax, eax
jle 0x4044f7
cmp dword [ebp - 0x408], esi
jne 0x4044f7
cmp dword [ebp + 8], 2
push 6
pop eax
cmove esi, eax
mov eax, esi
jmp 0x4045c2
push 0x200
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 0x10]
push dword [0x52a6a0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x40451e
or eax, 0xffffffff
jmp 0x4045c2
push 0x800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x414], eax
push ecx
lea ecx, [ebp - 0x404]
push ecx
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
push 0x522d98
mov dword [ebp - 0x410], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x404575
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x404575
cmp dword [ebp - 0x408], 2
je 0x404575
and dword [ebp - 0x40c], 0
jmp 0x40457b
mov dword [ebp - 0x40c], esi
cmp dword [ebp + 8], 2
jne 0x404586
push 0x7f
pop edi
jmp 0x404592
cmp dword [ebp + 8], 8
mov eax, 0x80
cmove edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
test esi, esi
push 0x30
cmove esi, dword [0x52ab74]
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [ebp - 0x414]
mov edx, edi
push eax
push 0x404394
push esi
call fcn.00411cb8
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486c63
leave
ret

Function at 0x4045d1
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x4f8004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x22c
push 0x40
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
push str.DirListData
push ebx
mov dword [ebp - 0x2bc], esi
call dword [sym.imp.USER32.dll_SetPropW]
xor edi, edi
mov dword [esi], ebx
push 0x4bc498
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
push eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4bc724
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x1003
push ebx
call esi
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x4bc724
call edi
push eax
push 0
push 0x1003
push ebx
call esi
mov edi, dword [ebp - 0x2bc]
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push eax
push eax
inc ebx
mov dword [edi + 0x218], eax
push ebx
push eax
mov dword [edi + 0x21c], eax
call esi
push 0
push ebx
push ebx
push 0
mov dword [edi + 0x224], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 0x228], eax
xor ecx, ebp
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.00486c63
leave
ret
Function at 0x404729
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push str.DirListData
push esi
call dword [sym.imp.USER32.dll_GetPropW]
mov ecx, esi
mov edi, eax
call fcn.0040476e
push dword [edi + 0x224]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push edi
push method.LexerAsm.virtual_0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret
Function at 0x404f41
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4f8004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [0x52a6a0]
push 0xfb03
push ecx
push ebx
push ebx
push ebx
push ebx
push 0x54000000
push ebx
push str.Scintilla
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push ebx
push dword [0x52a664]
push 0x7f5
push edi
call esi
push ebx
push ebx
push 0x7ef
push edi
call esi
push ebx
push 1
push 0x9a3
push edi
call esi
push ebx
push 3
push 0x937
push edi
call esi
push ebx
push ebx
push 0x943
push edi
call esi
push ebx
push 0x800
push 0x8e2
push edi
call esi
push ebx
push 1
push 0x9d4
push edi
call esi
push ebx
push 1
push 0x8e5
push edi
call esi
push ebx
push ebx
push 0x99a
push edi
call esi
push 0x32
push 9
push 0x962
push edi
call esi
push ebx
push 8
push 0x963
push edi
call esi
push ebx
push ebx
push 0xa03
push edi
call esi
push ebx
push ebx
push 0xa05
push edi
call esi
push ebx
push ebx
push 0xa24
push edi
call esi
push ebx
push ebx
push 0xa07
push edi
call esi
push ebx
push ebx
push 0xa30
push edi
call esi
push 0x96d
push 0x20133
mov ebx, 0x816
push ebx
push edi
call esi
push 0x96f
push 0x20132
push ebx
push edi
call esi
push 0x96e
push 0x30133
push ebx
push edi
call esi
push 0x970
push 0x30132
push ebx
push edi
call esi
push 0x995
push 0x130
push ebx
push edi
call esi
push 0x993
push 0x131
push ebx
push edi
call esi
push 0x996
push 0x10130
push ebx
push edi
call esi
push 0x994
push 0x10131
push ebx
push edi
call esi
or eax, 0xffffffff
cmp dword [0x52a5d0], eax
je 0x4050cd
cmp dword [0x52a5d4], eax
je 0x4050cd
cmp dword [0x52a5d8], eax
je 0x4050cd
cmp dword [0x52a5dc], eax
jne 0x4050fe
push 3
lea eax, [ebp - 0xc]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [ebp - 0xc], 0x30
jne 0x4050f0
movaps xmm0, xmmword [0x4f29f0]
jmp 0x4050f7
movaps xmm0, xmmword [0x4f29e0]
movups xmmword [0x52a5d0], xmm0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486c63
leave
ret
Function at 0x40546c
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push 0xd
mov ebx, ecx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4055e8
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4055e8
push esi
push edi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push 0
push 0x859
push ebx
call esi
push 0
push 0
push 0x7ee
push ebx
mov dword [ebp - 4], eax
call esi
xor ecx, ecx
mov dword [ebp - 0x10], eax
push ecx
push ecx
push ecx
push ecx
lea eax, [edi + 1]
mov edi, dword [ebp - 8]
push eax
push edi
push ecx
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea esi, [eax - 1]
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x405529
xor ecx, ecx
lea eax, [esi + 1]
push ecx
push ecx
push eax
push ebx
push dword [ebp - 0xc]
push edi
push ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esi*2 + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x4055d3
xor edx, edx
mov ecx, ebx
mov edi, eax
test esi, esi
jle 0x4055aa
mov al, byte [ecx]
test al, al
je 0x4055a7
cmp al, 0xa
je 0x405561
cmp al, 0xd
je 0x405561
mov byte [edi], al
inc edi
jmp 0x4055a1
mov ebx, dword [ebp - 0x10]
lea eax, [edi + 1]
cmp ebx, 1
jne 0x405571
mov byte [edi], 0xd
jmp 0x405579
cmp ebx, 2
jne 0x40557d
mov byte [edi], 0xa
mov edi, eax
jmp 0x405586
mov byte [edi], 0xd
mov edi, eax
mov byte [edi], 0xa
inc edi
cmp byte [ecx], 0xd
jne 0x4055a1
lea eax, [edx + 1]
cmp eax, esi
jge 0x4055a1
lea ebx, [ecx + 1]
cmp byte [ebx], 0xa
mov dword [ebp - 0xc], ebx
jne 0x4055a1
mov edx, eax
mov ecx, ebx
inc edx
inc ecx
cmp edx, esi
jl 0x40554e
mov ebx, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
mov byte [edi], 0
call esi
sub edi, dword [ebp - 4]
inc edi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [ebp - 4]
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, ebx
pop esi
jmp 0x4055ea
xor eax, eax
pop ebx
leave
ret
Function at 0x40bb65
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push dword [ebp + 8]
mov edi, ecx
mov esi, edx
push 0x876
push edi
mov dword [ebp - 8], esi
call ebx
push 0
push esi
push 0x876
push edi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [0x52a67c]
mov esi, eax
push 0
push esi
push 0x8b8
mov edx, dword [ecx]
call dword [edx + 0x104]
mov edx, dword [ebp - 4]
cmp esi, edx
je 0x40bbca
mov ecx, dword [0x52a67c]
push 0
push edx
push 0x8b8
mov eax, dword [ecx]
call dword [eax + 0x104]
push 0x32
push 0xd
push 0x962
push edi
call ebx
push 5
push 0xd
mov esi, 0x963
push esi
push edi
call ebx
push dword [ebp + 8]
push dword [ebp - 8]
push 0x870
push edi
call ebx
push 0x32
push 9
push 0x962
push edi
call ebx
push 0
push 8
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40fd18
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
push edi
test edx, edx
je 0x40fd90
push str.SetLayeredWindowAttributes
push str.User32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40fda8
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x522d98
push 0x4b
push str.OpacityLevel
push str.Settings2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x64
pop ecx
test eax, eax
js 0x40fd77
cmp eax, ecx
jle 0x40fd7a
push 0x4b
pop eax
imul eax, eax, 0xff
push 2
cdq
idiv ecx
movzx eax, al
push eax
push 0
push esi
call edi
jmp 0x40fda8
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop esi
ret