joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x44b810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov dword [esi], 0
mov eax, dword [0x65bd7c]
push eax
call sub.IMM32.dll_ImmGetContext
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
mov dword [0x65bd7c], eax
call edi
test ax, ax
push 0x10
setne bl
call edi
test ax, ax
jge 0x44b84c
or dword [esi], 0x2000000
push 0x11
call edi
test ax, ax
jge 0x44b85b
or dword [esi], 0x4000000
push 0
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test bl, bl
je 0x44b86d
or dword [esi], 0x657270
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x5002e81f
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x5002e845
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 0xc

Function at 0x5002e86e
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x5002e879
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x500411d5
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
neg esi
sbb esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
and esi, 0xfffffffb
add esi, 5
push esi
push 0x45a
push ebp
mov dword [esp + 0x1c], ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push esi
push 0x41f
push ebp
call edi
push eax
call ebx
push esi
push 0x45b
push ebp
call edi
push eax
call ebx
push esi
push 0x420
push ebp
call edi
push eax
call ebx
mov esi, dword [esp + 0x1c]
neg esi
sbb esi, esi
and esi, 5
cmp dword [esp + 0x1c], 0
je 0x50041262
push 0x420
push ebp
call edi
mov ecx, dword [esp + 0x10]
push eax
call fcn.50272bbe
push 0x4d5
push ebp
call edi
mov ecx, dword [esp + 0x10]
push eax
call fcn.50272bbe
push esi
push 0x4d4
push ebp
call edi
push eax
call ebx
push esi
push 0x4d5
push ebp
call edi
push eax
call ebx
push esi
push 0x4d6
push ebp
call edi
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x500573ef
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov esi, ecx
je 0x5005744f
mov ebx, dword [esp + 0x10]
push edi
push ebx
call fcn.50272bbe
test eax, eax
jne 0x5005742a
push 2
push ebx
call fcn.50272bbe
cmp eax, 0xffffffff
jne 0x5005742a
push ebx
call dword [sym.imp.vsansi.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.vsansi.dll_SetFileAttributesW]
push edi
push ebx
call fcn.50272bbe
add esi, 0x14
test eax, eax
push esi
push edi
jne 0x50057441
push edi
push 0x12
push edi
push ebx
jmp 0x5005745c
push 0x1012
push ebx
call dword [sym.imp.vsansi.dll_StgCreateDocfile]
jmp 0x50057462
add esi, 0x14
push esi
push edi
push edi
push 0x10
push edi
push dword [esp + 0x24]
call dword [sym.imp.ole32.dll_StgOpenStorage]
cmp eax, edi
jl 0x5005746f
cmp dword [esi], edi
je 0x5005746f
xor eax, eax
inc eax
jmp 0x50057471
xor eax, eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x5006b1cd
Capabilities:
Open clipboard

Disassembly:
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5006b1f7
push 2
push 0x50289750
call dword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
xor ecx, ecx
test eax, eax
setg cl
mov esi, ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
ret
Function at 0x5007e710
Capabilities:
Query environment variable

Disassembly:
cmp dword [0x50289894], 0
je 0x5007e77a
push 0x500092b0
call dword [sym.imp.MSVCR70.dll_getenv]
cmp dword [0x50289894], 0xffffffff
pop ecx
jne 0x5007e73f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
mov dword [0x50289894], ecx
je 0x5007e77a
test eax, eax
je 0x5007e77a
push esi
push 0x500092ac
push eax
call dword [sym.imp.MSVCR70.dll_fopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x5007e779
call dword [sym.imp.kernel32.dll_GetTickCount]
push eax
push dword [esp + 0xc]
push 0x500092a0
push esi
call dword [sym.imp.MSVCR70.dll_fprintf]
push esi
call dword [sym.imp.MSVCR70.dll_fclose]
add esp, 0x14
pop esi
ret 4

Function at 0x500858d7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2b4
xor eax, eax
cmp dword [ebp + 0x74], eax
push ebx
mov ebx, ecx
jne 0x500858f6
mov eax, 0x80070057
jmp 0x50085a06
push esi
mov esi, dword [ebp + 0x7c]
cmp esi, eax
jne 0x50085908
mov eax, 0x80004003
jmp 0x50085a05
mov dword [esi], eax
cmp dword [ebx + 0x24], eax
push edi
jne 0x500859c7
mov dword [ebp + 0x68], eax
lea eax, [ebp + 0x68]
push eax
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov esi, 0x50009914
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.MSVCR70.dll_wcscat]
push 0x24
pop ecx
push dword [ebp + 0x68]
xor eax, eax
lea edi, [ebp - 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x40]
push eax
call esi
lea eax, [ebp - 0x40]
push 0x500098f4
push eax
call esi
mov eax, dword [0x50297b30]
mov ecx, dword [eax]
add esp, 0x10
push dword [ebp + 0x68]
push eax
call dword [ecx + 0x14]
lea eax, [ebp + 0x64]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x40]
push eax
push SysAllocStringLen
call dword [sym.imp.vsansi.dll_RegOpenKeyExW]
test eax, eax
jne 0x500859c4
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp - 0x248]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 0x64]
mov dword [ebp + 0x60], 0x104
call dword [sym.imp.vsansi.dll_RegQueryValueExW]
test eax, eax
jne 0x500859bb
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx + 0x24], eax
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x7c]
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x500859f4
push 2
push 0
push ebx
call dword [sym.imp.vsansi.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x500859f4
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push edi
call fcn.50272bbe
push edi
mov dword [esi], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [esi]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
Function at 0x50088098
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
je 0x50088210
push edi
mov edi, dword [sym.imp.MSVCR70.dll_iswspace]
jmp 0x500880bd
inc esi
inc esi
xor eax, eax
mov ax, word [esi]
push eax
call edi
test eax, eax
pop ecx
jne 0x500880bb
cmp word [esi], 0x22
mov edi, dword [sym.imp.MSVCR70.dll_wcschr]
jne 0x500880e9
inc esi
inc esi
push 0x22
push esi
call dword [sym.imp.MSVCR70.dll_wcsrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x500880fe
jmp 0x500880fb
cmp byte [esp + 0x1c], 0
je 0x500880fe
push 0x20
push esi
call edi
cmp eax, esi
pop ecx
pop ecx
jbe 0x500880fe
mov word [eax], bx
push 0x25
push esi
call edi
test eax, eax
pop ecx
pop ecx
je 0x5008817c
push ebp
push esi
call dword [sym.imp.MSVCR70.dll_wcslen]
pop ecx
mov ebp, eax
lea eax, [ebp + ebp + 2]
push eax
push ebx
push dword [0x50297d50]
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
call ebx
push ebp
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.vsansi.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, ebp
jbe 0x50088171
xor ebp, ebp
cmp dword [esp + 0x10], ebp
je 0x50088154
push dword [esp + 0x10]
push ebp
push dword [0x50297d50]
call dword [sym.imp.kernel32.dll_HeapFree]
lea eax, [edi + edi + 2]
push eax
push ebp
push dword [0x50297d50]
call ebx
push edi
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.vsansi.dll_ExpandEnvironmentStringsW]
mov edi, eax
test edi, edi
pop ebp
je 0x5008817a
mov esi, dword [esp + 0xc]
xor ebx, ebx
push esi
call fcn.50087404
test al, al
je 0x500881f8
push dword [0x50297d50]
push 0x38
call fcn.50040c9c
cmp eax, ebx
pop ecx
pop ecx
je 0x500881aa
push 1
mov ecx, eax
call fcn.500868d4
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x500881b0
mov dword [esp + 0x10], ebx
mov edi, ebx
push dword [esp + 0x20]
mov ecx, edi
push esi
call fcn.5008697f
cmp dword [esp + 0x20], ebx
jne 0x500881e0
mov ecx, edi
call fcn.50272bbe
test al, al
jne 0x500881e0
cmp edi, ebx
je 0x500881da
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x24]
mov dword [esp + 0x10], ebx
jmp 0x500881f8
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x500881f8
mov eax, dword [esp + 0x10]
push 5
lea edi, [eax + 0x1c]
pop ecx
mov byte [eax + 0x19], 1
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0xc], ebx
pop edi
je 0x50088210
push dword [esp + 8]
push ebx
push dword [0x50297d50]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
pop ecx
pop ecx
ret 0x10
Function at 0x5008c17c
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x50290024]
test eax, eax
mov dword [0x5028e608], 1
je 0x5008c1be
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5008c1be
mov eax, dword [0x50290024]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5008c1be
mov eax, dword [0x50290024]
push 0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [0x5028e5fc], 0
jmp 0x5008c1d2
test ecx, ecx
je 0x5008c1da
mov eax, dword [ecx]
push 1
call dword [eax + 0x24]
mov ecx, dword [0x5028e600]
jmp 0x5008c1c7
cmp dword [0x50290024], 0
je 0x5008c1f9
call fcn.500b6e6f
mov ecx, dword [0x50290024]
test ecx, ecx
je 0x5008c1f9
mov eax, dword [ecx]
push 1
call dword [eax + 0x24]
and dword [0x5028e608], 0
ret

Function at 0x5008c3b5
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [ecx + 0x10]
test ebx, ebx
push esi
push edi
je 0x5008c3df
lea esi, [ecx + 0x160]
mov eax, dword [esi]
test eax, eax
je 0x5008c3da
push eax
push 0
push dword [0x50297d50]
call dword [sym.imp.kernel32.dll_HeapFree]
and dword [esi], 0
jmp 0x5008c40f
mov eax, dword [ecx + 0x160]
test eax, eax
je 0x5008c408
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea ecx, [esi - 1]
push ecx
push eax
push edi
call dword [sym.imp.MSVCR70.dll_wcsncpy]
add esp, 0xc
and word [edi + esi*2 - 2], 0
jmp 0x5008c433
call fcn.5010c3a4
mov ebx, eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
xor eax, eax
test ebx, ebx
mov ecx, edx
mov edi, esi
rep stosw word es:[edi], ax
je 0x5008c42f
push edx
push esi
push ebx
call dword [sym.imp.vsansi.dll_GetWindowTextW]
jmp 0x5008c433
and word [esi], 0
pop edi
pop esi
pop ebx
ret 8
Function at 0x50097fb9
Capabilities:
Hide graphical window

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5009800f
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
push 5
push ebx
jmp 0x50098004
push 4
push esi
call edi
cmp eax, dword [esp + 0x10]
jne 0x50098001
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x50098001
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ebx
jmp 0x50098004
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x50097fdd
pop edi
pop esi
pop ebx
ret 4
Function at 0x500a05c3
Capabilities:
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
xor esi, esi
push dword [esp + 0x10]
call fcn.50272bbe
test eax, eax
jl 0x500a05e6
push dword [esp + 0xc]
call dword [sym.imp.vsansi.dll_GetFileAttributesW]
test al, 0x10
je 0x500a05e6
inc esi
mov eax, esi
pop esi
ret 8
Function at 0x500a5fc9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x9c
push ebx
push 0x50001f20
mov dword [ebp + 0x68], ecx
call fcn.50272bbe
lea eax, [ebp + 0x6c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x5000aefc
push dword [ebp + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x500a6067
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp + 0x70], ebx
push ebx
jmp 0x500a604d
cmp byte [ebp - 0x28], bl
je 0x500a603b
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.50272bbe
test eax, eax
jl 0x500a603b
mov ecx, dword [ebp + 0x68]
lea eax, [ebp + 0x58]
push eax
call fcn.50272bbe
inc dword [ebp + 0x70]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
mov dword [ebp + 0x7c], 0x80
call esi
test eax, eax
je 0x500a6019
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x500abd2d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa0
push ebx
lea eax, [ebp + 0x6c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0x7c]
mov dword [ebp + 0x60], ecx
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x500abd5e
push eax
jmp 0x500abe6f
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x68]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x500abe65
cmp dword [ebp + 0x68], ebx
mov dword [ebp + 0x78], ebx
jbe 0x500abe65
push esi
push edi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x78]
mov dword [ebp + 0x64], 0x80
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x500abe54
mov esi, 0x50001f20
lea edi, [ebp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x50]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x30]
push eax
movsd dword es:[edi], dword [esi]
call fcn.50272bbe
lea eax, [ebp + 0x7c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x500abe54
push dword [0x50297d50]
push 0x2c
call fcn.50040c9c
cmp eax, ebx
pop ecx
pop ecx
je 0x500abe04
push 1
mov ecx, eax
call fcn.500a9d98
mov ebx, eax
test ebx, ebx
je 0x500abe49
mov ecx, ebx
call fcn.500aa6cf
test eax, eax
je 0x500abe40
mov ecx, dword [ebx + 0x28]
lea eax, [ebp + 0x50]
push eax
push 0x5000b434
push dword [ebp + 0x7c]
call fcn.500ab875
test eax, eax
jl 0x500abe40
mov ecx, dword [ebp + 0x60]
lea edi, [ebx + 0x10]
lea esi, [ebp + 0x50]
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 eax, dword [ecx]
push ebx
call dword [eax + 0xc]
jmp 0x500abe49
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x24]
push dword [ebp + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
inc dword [ebp + 0x78]
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x68]
jb 0x500abd8b
pop edi
pop esi
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.5006846c
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x500ac395
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov ebx, ecx
push dword [ebx + 0x10]
xor ecx, ecx
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x20]
push ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x28]
mov edi, 0x1003
push edi
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x20], eax
call ebp
push dword [ebx + 0x14]
push 1
push edi
push dword [ebx + 0x20]
call ebp
push 1
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x110]
mov ecx, ebx
call fcn.500ac359
push 5
push 5
push 1
push 0xd
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
test eax, eax
mov dword [esi + 0xc8], eax
je 0x500ac457
mov edi, dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x1b58
push dword [0x5029a6d0]
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x500ac457
push 0x1b59
push dword [0x5029a6d0]
call edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x500ac457
push eax
push dword [esp + 0x14]
push dword [esi + 0xc8]
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
test eax, eax
jge 0x500ac490
mov esi, dword [esi + 0xc8]
test esi, esi
je 0x500ac468
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
cmp dword [esp + 0x10], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x500ac47b
push dword [esp + 0x10]
call esi
cmp dword [esp + 0x14], 0
je 0x500ac488
push dword [esp + 0x14]
call esi
or eax, 0xffffffff
jmp 0x500ac513
push dword [esi + 0xc8]
push edi
push 0x1109
push dword [ebx + 0x1c]
call ebp
cmp dword [esi + 0x7c], edi
jne 0x500ac4b3
cmp dword [esi + 0xac], edi
jne 0x500ac4b3
xor eax, eax
inc eax
jmp 0x500ac4b5
xor eax, eax
push dword [esi + 0x110]
add esi, 0xec
push eax
push dword [esi - 0x44]
mov ecx, ebx
sub esp, 0x10
mov edi, esp
push dword [ebx + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.50272bbe
xor edi, edi
push edi
push edi
push 0x110a
push dword [ebx + 0x1c]
call ebp
push eax
push 9
push 0x110b
push dword [ebx + 0x1c]
call ebp
push dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x14]
call esi
push 1
push edi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8

Function at 0x500ae972
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x5028fd24], 0
push esi
jne 0x500ae9a9
mov esi, dword [0x5028fd80]
test esi, esi
jne 0x500ae990
mov esi, dword [0x50289a5c]
test esi, esi
je 0x500ae9a9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x500ae9a9
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x500b197e
Capabilities:
Get graphical window text

Disassembly:
push 0
push dword [0x5028995c]
push 0x199
push dword [0x502899e4]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.500ad76f
cmp eax, 0xffffffff
je 0x500b19ce
push dword [eax + 4]
push dword [0x50289a34]
call dword [sym.imp.vsansi.dll_SetWindowTextW]
mov eax, dword [0x5028fd98]
cmp eax, 3
je 0x500b19c9
cmp eax, 5
je 0x500b19c9
cmp eax, 4
je 0x500b19c9
cmp eax, 2
jne 0x500b19ce
jmp fcn.500ad826
ret

Function at 0x500b85a1
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
je 0x500b85d3
push dword [esi + 0x18]
call fcn.50272bbe
push dword [0x5029a6e4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x500b85e7
push dword [0x5029a6e4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x500b85e7
push dword [esp + 8]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.501a9f99
pop esi
ret 4