joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4468c9
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0x20
push ebp
push esi
push edi
mov edi, 0x1000
push edi
mov dword [esp + 0x10], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x10]
pop ecx
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push esi
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebp, eax
test ebp, ebp
je 0x4469a2
push ebx
mov ebx, dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x446932
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [esi + 0xc]
mov eax, 0x100000
and ecx, eax
cmp ecx, eax
je 0x446964
push dword [esi + 4]
call ebx
test eax, eax
jne 0x446964
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x446964
push 0
push dword [esi + 4]
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFile]
push dword [esi + 4]
call ebx
push esi
call fcn.0045da7b
push edi
mov dword [esp + 0x18], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x18]
pop ecx
mov dword [esi], eax
pop ecx
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x446906
push ebp
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.0045da7b
pop ecx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x4478e5
Capabilities:
Allocate thread local storage
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x40f0a8
push edi
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
xor esi, esi
test eax, eax
pop ecx
jne 0x447905
xor edi, edi
call fcn.00427b76
mov dword [0x463474], eax
call fcn.0042636e
mov dword [0x534a98], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, 0x460748
mov dword [0x534aa0], eax
call fcn.004218b0
mov ecx, 0x463278
call fcn.00434081
call fcn.00448307
push dword [0x4755c8]
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
cmp dword [0x473a28], esi
je 0x44798a
push 0x40f0e4
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, esi
mov dword [0x534a4c], eax
je 0x4479aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4479aa
push dword [0x534a4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00447862
pop ecx
jmp 0x4479d6
push esi
push 0x40a37c
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
mov dword [0x534a9c], eax
je 0x4479aa
push edi
call fcn.00447862
test eax, eax
pop ecx
jne 0x4479d6
lea eax, [ebp - 8]
mov dword [ebp - 8], 8
push eax
mov dword [ebp - 4], 0x604
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
push dword [ebp + 8]
call fcn.00447605
test eax, eax
pop ecx
jne 0x4479dd
xor eax, eax
jmp 0x447a83
call fcn.00426f93
test eax, eax
je 0x4479f2
cmp dword [0x4755b8], esi
je 0x4479f2
push 5
jmp 0x4479f4
push 4
pop eax
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
push ebx
push 0x40a940
push esi
push eax
push esi
push esi
push 1
push esi
push esi
mov ebx, 0x190
push esi
push ebx
push esi
push esi
push esi
push 0xe
call edi
push 0x40a940
push esi
mov dword [0x4769ec], eax
call fcn.00426f93
neg eax
sbb eax, eax
neg eax
add eax, 4
push eax
push esi
push esi
push 1
push esi
push esi
push esi
push ebx
push esi
push esi
push esi
push 0xb
call edi
push 1
mov dword [0x4769e8], eax
call fcn.0041c8eb
pop ecx
mov ecx, 0x477688
call fcn.0043a96e
mov ecx, 0x477620
call fcn.0044005b
call fcn.0041e8b5
mov ecx, 0x497318
call fcn.00436c7d
call fcn.0041503d
mov ecx, 0x4769f8
call fcn.0045cd2c
push 1
pop eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x447a87
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402fd8
push 0x45db24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 1
call fcn.0043f801
pop ecx
push dword [0x534aa0]
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, 0x477620
call fcn.0043ff1a
mov ecx, 0x4619fc
call fcn.0045a91f
mov ecx, 0x539318
call fcn.0045a91f
push ebx
call fcn.0041c8eb
pop ecx
call fcn.0041e8f3
mov eax, dword [0x4769ec]
cmp eax, ebx
je 0x447b03
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4769e8]
cmp eax, ebx
je 0x447b13
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.00447b87
call fcn.0042b83e
call dword [sym.imp.ole32.dll_OleUninitialize]
mov byte [ebp - 0x11c], bl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x103
lea eax, [ebp - 0x11c]
push eax
push 0x40a244
call fcn.0041327b
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x447b68
or dword [ebp - 4], 0xffffffff
push dword [0x534a4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447ff7
Capabilities:
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x40a37c
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x448020
push ebx
push ebx
push 2
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
push ebx
push ebx
call fcn.0043e375
add esp, 0xc
call fcn.0043e651
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov edi, 0x40ad6c
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push edi
push SysReAllocStringLen
call esi
push 0x40f190
push SysReAllocStringLen
call esi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push 0x40b394
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x103
push eax
push dword [0x534a50]
call fcn.00426466
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.0042653d
add esp, 0x18
test eax, eax
pop edi
pop esi
pop ebx
je 0x4480ad
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
leave
ret

Function at 0x44817b
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x475390], 0
push esi
je 0x4481de
mov esi, 0x4753a4
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x4481de
push esi
call fcn.00427f49
pop ecx
test eax, eax
push esi
je 0x4481bd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x534a50]
call fcn.00426466
jmp 0x4481ce
push 0x40a158
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add esp, 0x10
and byte [eax + ecx - 1], 0
jmp 0x448204
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push dword [ebp + 8]
push eax
push 0x40f1f0
push 0x40f1ac
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [ebp + 8]
call fcn.00425284
pop ecx
pop esi
leave
ret
Function at 0x448632
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0045da90
and byte [ebp - 0x814], 0
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x813]
rep stosd dword es:[edi], eax
cmp dword [0x463474], 0
mov ebx, dword [ebp + 0x10]
stosw word es:[edi], ax
mov dword [ebp - 4], 3
mov esi, SysReAllocStringLen
stosb byte es:[edi], al
je 0x4486ba
cmp dword [ebp + 8], 0
jne 0x4486ba
lea eax, [ebp + 0x10]
push esi
push eax
lea eax, [ebp - 0x814]
push eax
push ebx
push 0x40b850
mov dword [ebp + 0x10], 0x800
call fcn.00424264
add esp, 0x14
cmp eax, 1
jne 0x4486ba
push dword [ebp + 0x10]
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
push 0x41a
call fcn.0045cba7
cmp dword [0x463474], 0
je 0x448754
cmp dword [ebp + 8], 0
je 0x448737
lea eax, [ebp - 0x1014]
mov dword [ebp + 8], 0x800
test eax, eax
je 0x448737
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x448737
push esi
lea eax, [ebp - 0x1014]
push dword [ebp + 8]
push eax
push ebx
push 0x40b850
call fcn.0042443a
add esp, 0x14
cmp dword [0x463474], 0
je 0x448754
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x40ad6c
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyA]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44c11c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push esi
push edi
push 0x3fa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 2
mov edi, eax
lea ecx, [ebp - 0x10]
pop eax
test ecx, ecx
mov dword [ebp - 0x58], eax
je 0x44c14c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
jmp 0x44c14e
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push dword [ebp + 0x10]
push 0x100e
push edi
call esi
lea eax, [ebp - 0x58]
push eax
push 1
push 0x1019
push edi
call esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x10], eax
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], 0x104
mov dword [ebp - 8], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x10]
push 0x102d
push edi
call esi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x15c]
push eax
push 0
push 0x14d
push edi
call esi
mov eax, dword [ebp - 8]
push 0x40
sub eax, dword [ebp - 0x10]
push 0x12c
push eax
mov eax, dword [ebp - 0xc]
dec eax
push eax
push dword [ebp - 0x10]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 1
push 0x14f
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x44c1f3
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x44]
shr ebx, 8
and byte [ebp], 0
push esi
test bl, 2
push edi
je 0x44c26d
lea eax, [esp + 0x10]
push eax
push 0x11
call fcn.0044c1f3
pop ecx
lea edi, [esp + 0x14]
pop ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x410b3c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test bl, 1
je 0x44c2d1
lea eax, [esp + 0x10]
push eax
push 0x10
call fcn.0044c1f3
pop ecx
lea edi, [esp + 0x14]
pop ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x410b3c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test bl, 4
je 0x44c334
lea eax, [esp + 0x10]
push eax
push 0x12
call fcn.0044c1f3
pop ecx
or edx, 0xffffffff
pop ecx
lea edi, [esp + 0x10]
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, ebp
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x410b3c
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, ebp
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx eax, byte [esp + 0x48]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
lea ecx, [esp + 0x10]
push 0x32
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x44eef3
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0045da90
and byte [ebp - 0x1004], 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, 0x40a66c
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1004]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1000
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x1004]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00427296
lea eax, [ebp - 0x1004]
push eax
call fcn.00423a59
lea eax, [ebp - 0x1004]
push eax
call fcn.00425fc6
add esp, 0x10
test eax, eax
je 0x44ef92
cmp dword [ebp + 8], 0
je 0x44ef81
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1004]
push eax
call fcn.004524bb
jmp 0x44efa5
push 0
push 0
push 1
push 1
push ebx
mov ecx, 0x4776b0
call fcn.004160a5
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4541ad
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 7
push 0x40ab7c
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x45421c
cmp dword [0x40dc40], esi
jle 0x45421c
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x40dba4
cmp dword [edi - 4], 0
je 0x454210
mov al, byte [edi]
test al, al
je 0x4541fc
movzx eax, al
push eax
call ebx
shr eax, 8
test al, al
je 0x454210
mov al, byte [edi + 1]
test al, al
je 0x454248
movzx eax, al
push eax
call ebx
shr eax, 8
test al, al
jne 0x454248
inc esi
add edi, 0x28
cmp esi, dword [0x40dc40]
jl 0x4541e3
push dword [ebp + 8]
push 0x40a158
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
and byte [eax + ecx - 1], 0
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc
lea eax, [esi + esi*4]
shl eax, 3
lea ecx, [eax + 0x40dbb6]
lea eax, [eax + 0x40dba6]
push ecx
push dword [ebp + 8]
push eax
push 0x40b450
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
mov dword [ebp - 4], 1
jmp 0x454233
Function at 0x45456c
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push 0x104
mov eax, dword [esi + 4]
mov dword [esi + 0xaa8], eax
lea eax, [esi + 0x9a4]
push eax
call fcn.0044817b
lea eax, [esp + 0xc]
add esi, 0x9a0
push eax
push 0
push esi
push 0x427163
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x20
test eax, eax
pop esi
je 0x4545b6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4556c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
and byte [ebp - 0x118], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
push dword [esi + 0xb24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esi + 0xb24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45584e
mov ebx, 0x104
lea eax, [ebp - 0x118]
push ebx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x118]
push eax
call fcn.00423a59
lea eax, [ebp - 0x118]
push eax
call fcn.00425f0f
pop ecx
test eax, eax
pop ecx
je 0x45584e
and dword [esi + 0x8dc], 0
and dword [esi + 0x8e0], 0
lea edi, [esi + 8]
mov ecx, 0x1f4
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x118]
push eax
push 0x40a158
lea eax, [esi + 0x7d8]
push ebx
push eax
call edi
and byte [esi + 0x8db], 0
lea eax, [ebp - 0x118]
push 0xffffffffffffffff
push eax
call fcn.00419fe5
and dword [ebp - 4], 0
add esp, 0x18
test eax, eax
mov dword [ebp - 0xc], eax
je 0x455845
push 0
lea ecx, [ebp - 0x320]
push ebx
push ecx
push eax
call fcn.0042c548
add esp, 0x10
test eax, eax
je 0x45583c
lea eax, [esi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x320]
test eax, eax
je 0x455808
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
add eax, 3
and al, 0xfc
call fcn.0045da90
xor ecx, ecx
mov eax, esp
push ecx
push ecx
push dword [ebp - 0x10]
and byte [eax], 0
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x320]
push 0xffffffffffffffff
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x14]
push eax
push 0x40a158
push 0xc7
push dword [ebp - 8]
call edi
inc dword [ebp - 4]
add dword [ebp - 8], 0xc8
push dword [ebp - 4]
lea eax, [ebp - 0x320]
push ebx
push eax
push dword [ebp - 0xc]
call fcn.0042c548
add esp, 0x20
test eax, eax
jne 0x4557bc
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 4]
mov dword [esi + 0x8dc], eax
lea esp, [ebp - 0x32c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x456064
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov edx, ecx
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
push 0xd
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x5c]
mov dword [ebp - 4], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0xa
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x28], 0x27
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp eax, 0xffff0000
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push 0
setne cl
push 0x1100
add ecx, 0xffff0001
push dword [edx + 4]
mov dword [ebp - 0x58], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
leave
ret 0x14
Function at 0x4560dc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov edx, ecx
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
push 0xd
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x5c]
mov dword [ebp - 4], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0xa
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x28], 0x27
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp eax, 0xffff0000
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push 0
setne cl
push 0x1132
add ecx, 0xffff0001
push dword [edx + 4]
mov dword [ebp - 0x58], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
leave
ret 0x14

Function at 0x456443
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
jne 0x456467
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x456521
push 0x40a240
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp + 8], eax
je 0x456521
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0045a5dd
push dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push 1
push 4
push eax
call esi
and dword [ebp - 8], 0
add esp, 0x10
cmp dword [ebp - 4], 0
jbe 0x456511
push 0x44
and dword [ebp + 0xc], 0
pop ecx
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
push 1
lea eax, [ebp + 0xc]
push 4
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push 1
push dword [ebp + 0xc]
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 1
push 4
push eax
call esi
add esp, 0x30
lea eax, [ebp - 0x118]
mov ecx, ebx
push eax
call fcn.00455bef
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x4564b9
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
pop ebx
jmp 0x456523
xor eax, eax
pop edi
pop esi
leave
ret 8