joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c7e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40f050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004040f9
mov dword [ebp - 0x14], eax
cmp dword [0x410c78], edi
jne 0x406d6f
push 0x800
push edi
push 0x40ab5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x406cfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x406e4f
push 0x40ab5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x406e4f
push 0x40ab74
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406e4f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x410c78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x410c7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x410c80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x410c88], eax
test eax, eax
je 0x406d6c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x410c84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x406d94
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x406d87
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x406da9
push 4
pop eax
jmp 0x406e51
cmp dword [ebp - 0x14], edi
je 0x406da9
push dword [0x410c78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x406d8e
mov eax, dword [0x410c84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x406e07
cmp dword [0x410c88], esi
je 0x406e07
push eax
call ebx
push dword [0x410c88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x406e07
test eax, eax
je 0x406e07
call ecx
test eax, eax
je 0x406dfc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x406dfc
test byte [ebp - 8], 1
jne 0x406e07
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x406e37
mov eax, dword [0x410c7c]
cmp eax, esi
je 0x406e34
push eax
call ebx
test eax, eax
je 0x406e34
call eax
mov edi, eax
test edi, edi
je 0x406e34
mov eax, dword [0x410c80]
cmp eax, esi
je 0x406e34
push eax
call ebx
test eax, eax
je 0x406e34
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x410c78]
call ebx
test eax, eax
je 0x406e4f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x406e51
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015b8
leave
ret
Function at 0x404960
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x40497b
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40498f
push 0x80
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4049a5
push 0x104
push eax
push esi
call fcn.00413ba0
add esp, 0xc
push edi
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x4049b6
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [edi], eax
mov eax, dword [ebp + 0x1c]
pop edi
test eax, eax
je 0x4049d5
push 0
push 0
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push esi
call fcn.004220f0
add esp, 0x1c
pop esi
pop ebp
ret

Function at 0x404d70
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517620
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
movaps xmm0, xmmword [0x5199d0]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x528], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x52c], eax
movups xmmword [ebp - 0x540], xmm0
mov byte [ebp - 0x530], 0
lea eax, [ebp - 0x540]
mov dword [ebp - 4], 0
push eax
push fcn.00404700
call dword [sym.imp.USER32.dll_EnumWindows]
xor edi, edi
cmp dword [ebp - 0x540], edi
jle 0x404eb6
xor esi, esi
mov eax, dword [ebp - 0x528]
cmp byte [eax], 0
je 0x404e30
push 0x514
lea eax, [ebp - 0x524]
push eax
mov eax, dword [ebp - 0x53c]
push dword [esi + eax]
call dword [sym.imp.USER32.dll_GetClassNameA]
push dword [ebp - 0x528]
lea eax, [ebp - 0x524]
push eax
call fcn.00482680
add esp, 8
test eax, eax
je 0x404ea6
cmp byte [ebx], 0
je 0x404e64
push 0x514
lea eax, [ebp - 0x524]
push eax
mov eax, dword [ebp - 0x53c]
push dword [esi + eax]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x524]
push ebx
push eax
call fcn.00482680
add esp, 8
test eax, eax
je 0x404ea6
mov eax, dword [ebp - 0x52c]
cmp byte [eax], 0
je 0x404f06
push 0x514
lea eax, [ebp - 0x524]
push eax
mov eax, dword [ebp - 0x53c]
push dword [esi + eax]
call fcn.00413ba0
push dword [ebp - 0x52c]
lea eax, [ebp - 0x524]
push eax
call fcn.00482680
add esp, 0x14
test eax, eax
jne 0x404f06
inc edi
add esi, 0x14
cmp edi, dword [ebp - 0x540]
jl 0x404df1
mov ecx, dword [ebp - 0x53c]
xor esi, esi
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x534], 0
test ecx, ecx
je 0x404ee8
cmp byte [ebp - 0x530], 0
jne 0x404ee8
push ecx
call fcn.00484ef8
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x53c]
lea eax, [edi + edi*4]
mov esi, dword [ecx + eax*4]
jmp 0x404ebe

Function at 0x404f46
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
xor eax, eax
mov dword [esp + 4], 0
add byte [eax], al
add byte [eax + 0x50], dl
Function at 0x404f50
Capabilities:
Terminate process

Disassembly:
add byte [eax], al
add byte [eax + 0x50], dl
lea edx, [esp + 0xc]
call fcn.00405076
mov ebp, eax
mov ebx, 0x56dae2
xor edx, edx
push eax
push eax
mov eax, dword [ebx + 0x40]
call fcn.00405076
mov dword [esp + 8], eax
mov esi, dword [ebx + 0x34]
mov edx, dword [esp + 4]
cmp dword [esi], 0
je 0x404fb6
push eax
mov eax, edx
mov dword [esp + 4], edx
call fcn.0040510e
movzx eax, al
mov edx, dword [esp]
cmp al, byte [esi]
je 0x404fa0
cmp al, byte [esi + 1]
jne 0x405064
mov eax, edx
push eax
call fcn.0040512a
cmp eax, dword [esi + 4]
je 0x404fb6
cmp eax, dword [esi + 8]
jne 0x405064
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [ebx + 0x38]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
jbe 0x404ff2
xor eax, eax
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ecx + eax]
mov dword [edx + eax], esi
mov edi, dword [ebx + 8]
add eax, edi
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jb 0x404fdd
push eax
push eax
mov eax, dword [esp + 0x10]
call fcn.00405156
mov edi, eax
test edi, edi
je 0x405064
lea esi, [esp]
push esi
mov esi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x30]
push eax
push edx
push esi
call edi
mov edx, dword [ebx]
add ebp, edx
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp + 4]
cmp eax, 8
jbe 0x40503c
push 8
pop eax

Function at 0x405030
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [ebp + eax]
add ecx, edx
mov dword [esi + eax], ecx
mov ecx, dword [ebx + 8]
add eax, ecx
mov ecx, dword [ebx + 0x14]
cmp eax, ecx
jb 0x405027
mov edx, dword [ebx + 0xc]
lea eax, [esp]
push eax
mov dword [esi + 8], edx
push dword [esp + 4]
mov ecx, dword [ebx + 0x14]
push ecx
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebx + 0x20]
add edx, eax
mov ebx, dword [ebx + 0x20]
add esi, ebx
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x405156
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xc
mov esi, eax
mov dword [esp], edx
test esi, esi
je 0x4051a1
mov ebp, dword [esi + 0x3c]
mov edx, dword [ebp + esi + 0x78]
mov dword [esp + 8], edx
mov ecx, dword [edx + esi + 0x18]
mov ebp, dword [edx + esi + 0x20]
add ebp, esi
mov dword [esp + 4], ecx
test ecx, ecx
jbe 0x4051a1
xor ebx, ebx
mov eax, dword [ebp + ebx*4]
push eax
push eax
add eax, esi
mov edx, dword [esp + 8]
call fcn.004051d2
test al, al
jne 0x4051a5
inc ebx
cmp ebx, dword [esp + 4]
jb 0x405185
xor eax, eax
jmp 0x4051bf
mov edx, dword [esp + 8]
mov ecx, dword [edx + esi + 0x24]
add ecx, esi
mov ebp, dword [edx + esi + 0x1c]
add ebp, esi
movzx ebx, word [ecx + ebx*2]
add esi, dword [ebp + ebx*4]
mov eax, esi
add esp, 0xc
pop ebp
pop ebx
pop edi
pop esi
ret 8
Function at 0x406f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x406f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x406f26
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x40a550
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push edi
push 0x1f4
push 0
push eax
mov dword [ebp - 0x200], 0x1fc
call fcn.00483290
mov eax, dword [0x57c7d4]
lea ebx, [esi + esi*2]
mov dword [ebp - 0x1f8], esi
mov esi, dword [ebx*4 + 0x5787d8]
push esi
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f4], 7
mov dword [ebp - 0x1f0], 0x8002
call fcn.00421d80
add esp, 0x10
cmp eax, 0xffffffff
je 0x40a626
imul edi, eax, 0x30c
mov eax, dword [0x5664f8]
add eax, 0x208
add eax, edi
cmp byte [eax], 0
je 0x40a626
push 0x50
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40a681
mov eax, dword [0x5664f8]
lea ecx, [ebp - 0x204]
push 1
push ecx
push 0
add eax, 0x208
push 0
add eax, edi
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
cmp eax, 1
jne 0x40a626
mov eax, dword [ebp - 0x204]
jmp 0x40a681
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x7f
push esi
call edi
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40a681
push eax
push 1
push 0x7f
push esi
call edi
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40a681
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
push 0xffffffffffffffde
push esi
call edi
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40a681
push 0xfffffffffffffff2
push esi
call edi
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40a681
push 0x7f05
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x1e8]
push 0x80
push eax
push dword [ebx*4 + 0x5787d8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea eax, [ebp - 0x200]
push eax
push 0
call esi
test eax, eax
lea eax, [ebp - 0x200]
push eax
push 4
setne bl
call esi
push dword [ebp - 0x1ec]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00481761
mov esp, ebp
pop ebp
ret

Function at 0x40a6e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x400]
cmp ecx, 0x3f
ja 0x40a749
push esi
lea esi, [ecx + ecx*2]
cmp byte [esi*4 + 0x57b7e0], 0
jne 0x40a709
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040afc0
push dword [esi*4 + 0x57b7d8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40a72c
push 0
push dword [esi*4 + 0x57b7d8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret
push 5
push dword [esi*4 + 0x57b7d8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi*4 + 0x57b7d8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop esi
pop ebp
ret
Function at 0x40a910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffc00
cmp eax, 0x3f
ja 0x40a932
push 0
lea eax, [eax + eax*2]
push dword [eax*4 + 0x57b7d8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret

Function at 0x40a940
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push edi
mov edi, dword [ebp + 8]
push 0xffffffffffffffec
push edi
call esi
test al, 0x40
jne 0x40aae3
push 0xfffffffffffffff0
push edi
call esi
test eax, 0x40000000
je 0x40a982
push 2
push edi
call dword [sym.imp.USER32.dll_GetAncestor]
mov edi, eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edx, str.ApplicationFrameWindow
lea ecx, [ebp - 0x108]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40a9c0
test al, al
je 0x40a9bc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40a9c0
add ecx, 2
add edx, 2
test al, al
jne 0x40a9a0
xor eax, eax
jmp 0x40a9c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x40aae3
mov ecx, 0x400
mov eax, 0x57b7d8
push ebx
cmp dword [eax], edi
je 0x40a9e9
add eax, 0xc
inc ecx
cmp eax, 0x57bacc
jle 0x40a9d8
jmp 0x40a9f2
cmp ecx, 0xffffffff
jne 0x40aad9
mov esi, 0x400
mov eax, 0x57b7d8
nop dword [eax]
cmp dword [eax], 0
je 0x40aa21
add eax, 0xc
inc esi
cmp eax, 0x57bacc
jle 0x40aa00
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x40aae2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ebx, [esi - 0x400]
lea ebx, [ebx + ebx*2]
shl ebx, 2
lea eax, [ebp - 0x20c]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebx + 0x57b7d8], edi
call fcn.00431b00
mov dword [ebx + 0x57b7dc], eax
add esp, 8
mov ebx, dword [0x5664e0]
xor ecx, ecx
test ebx, ebx
jle 0x40aa9c
mov edx, dword [0x5664e4]
nop
mov eax, dword [edx]
lea ebx, [esi + esi*2]
cmp eax, dword [ebx*4 + 0x5787dc]
mov ebx, dword [0x5664e0]
je 0x40aa9f
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x40aa80
or ecx, 0xffffffff
mov ebx, dword [ebp - 0x210]
cmp ecx, 0xffffffff
push esi
setne al
mov byte [ebx + 0x57b7e0], al
call fcn.0040a550
add esp, 4
test al, al
jne 0x40aad9
mov dword [ebx + 0x57b7d8], 0
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00481761
mov esp, ebp
pop ebp
ret
Function at 0x40ab00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffc00
cmp eax, 0x3f
ja 0x40ac07
push esi
lea eax, [eax + eax*2]
mov esi, 0x400
push edi
mov edi, dword [eax*4 + 0x57b7d8]
mov eax, 0x57b7d8
nop word [eax + eax]
cmp dword [eax], edi
je 0x40ab5f
add eax, 0xc
inc esi
cmp eax, 0x57bacc
jle 0x40ab40
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x40ac05
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40abfc
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40ab8f
lea eax, [esi + esi*2]
cmp byte [eax*4 + 0x5787e0], 0
je 0x40abfc
push 0x1f4
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0x1fc
push 0
push eax
call fcn.00483290
mov eax, dword [0x57c7d4]
add esp, 0xc
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x1f4], 4
push 0x80
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x200]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040ad20
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret

Function at 0x40ac20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x400
mov eax, 0x57b7d8
cmp dword [eax], edi
je 0x40ac61
add eax, 0xc
inc esi
cmp eax, 0x57bacc
jle 0x40ac42
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x40ad07
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40acfe
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40ac91
lea eax, [esi + esi*2]
cmp byte [eax*4 + 0x5787e0], 0
je 0x40acfe
push 0x1f4
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0x1fc
push 0
push eax
call fcn.00483290
mov eax, dword [0x57c7d4]
add esp, 0xc
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x1f4], 4
push 0x80
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x200]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040ad20
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00481761
mov esp, ebp
pop ebp
ret
Function at 0x40add0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 0x400
push edi
mov dword [ebp - 0x208], ebx
mov edi, 0x57b7d8
mov esi, dword [edi]
test esi, esi
je 0x40af56
push 0x1f4
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0x1fc
push 0
push eax
call fcn.00483290
mov eax, dword [0x57c7d4]
push esi
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], ebx
mov dword [ebp - 0x1f4], 7
mov dword [ebp - 0x1f0], 0x8002
call fcn.00421d80
add esp, 0x10
cmp eax, 0xffffffff
je 0x40aeb3
imul ebx, eax, 0x30c
mov eax, dword [0x5664f8]
add eax, 0x208
add eax, ebx
cmp byte [eax], 0
je 0x40aeb3
push 0x50
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40af0e
mov eax, dword [0x5664f8]
lea ecx, [ebp - 0x204]
push 1
push ecx
push 0
add eax, 0x208
push 0
add eax, ebx
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
cmp eax, 1
jne 0x40aeb3
mov eax, dword [ebp - 0x204]
jmp 0x40af0e
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x7f
push esi
call ebx
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40af0e
push eax
push 1
push 0x7f
push esi
call ebx
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40af0e
mov ebx, dword [sym.imp.USER32.dll_GetClassLongA]
push 0xffffffffffffffde
push esi
call ebx
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40af0e
push 0xfffffffffffffff2
push esi
call ebx
mov dword [ebp - 0x204], eax
test eax, eax
jne 0x40af0e
push 0x7f05
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x1e8]
push 0x80
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea eax, [ebp - 0x200]
push eax
push 0
call ebx
lea eax, [ebp - 0x200]
push eax
push 4
call ebx
push dword [ebp - 0x1ec]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, dword [ebp - 0x208]
inc ebx
add edi, 0xc
mov dword [ebp - 0x208], ebx
cmp edi, 0x57bacc
jle 0x40adf6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00481761
mov esp, ebp
pop ebp
ret

Function at 0x40b560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push esi
push edi
mov edi, ecx
je 0x40b5a9
push dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
push dword [edi + 0xc]
test eax, eax
setne byte [0x57bae4]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
push 0
push dword [edi + 8]
setne byte [0x57bae5]
call esi
push 0
push dword [edi + 0xc]
call esi
pop edi
pop esi
pop ebp
ret 4
cmp byte [0x57bae4], 0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x40b5d1
push 5
push dword [edi + 8]
call esi
push 0x101
push 0
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp byte [0x57bae5], 0
je 0x40b5f3
push 5
push dword [edi + 0xc]
call esi
push 0x101
push 0
push 0
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebp
ret 4
Function at 0x40bd70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edx, 0xfffffd66
jne 0x40bd97
cmp eax, 0xfffffd66
jne 0x40bd97
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 8
push 0x51
push 0
push 0
push eax
push edx
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebp
ret 8

Function at 0x40c160
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov edx, 0x2f
mov ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
cmp ecx, 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, 0xd
cmovne eax, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x1100
push dword [0x57badc]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], 0x36
call dword [sym.imp.USER32.dll_SendMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x411f80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x2d20
call fcn.004817a0
push 0x2d20
mov ebx, eax
push 0
push ebx
call fcn.00483290
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov esi, dword [ebp + 8]
mov edx, eax
shl edx, 0xa
add esi, 0x28d
add esi, edx
mov ecx, 0x100
lea edi, [edx + 0x71f]
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x2d1c], al
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x401840
push 0
push 0
mov dword [ebx + 0x2d10], 2
mov dword [ebx + 0x2d14], 0
mov dword [ebx + 0x2d18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
test eax, eax
je 0x41200d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret