joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426edc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x426ef3
add esp, 0xfffffff0
call fcn.00403090
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411c50
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40bd60]
call fcn.00402d60
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40bd60]
call fcn.00402d60
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x413a30]
call fcn.0041ab48
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x427068
mov eax, dword [0x4553c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041af18
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42889c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4553c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00409950
test eax, eax
je 0x426fe6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407f7c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00409978
test eax, eax
je 0x426ffa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403c48
mov eax, dword [0x4552d0]
cmp byte [eax], 0
jne 0x42702b
mov eax, ebx
call fcn.00427154
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42705d
call fcn.004030e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4273c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x456740]
cmp dword [eax + 0x24], 0
je 0x427467
cmp dword [ebx + 0x84], 0
jne 0x427461
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x427354
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x427461
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x42742a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x427461
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040d424
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x427439
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x427e74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x427ea9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403b00
jmp 0x427eb3
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403a6c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x428c10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x428c48
mov eax, esi
call fcn.0043b4ec
test al, al
je 0x428c48
mov eax, dword [ebx + 0x74]
call fcn.0043b1f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x428c48
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043b1f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x42b6e4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403a18
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42b733
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403c48
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432fc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x4567b0], 0
sete dl
or al, dl
jne 0x433104
mov eax, dword [0x4567b4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4567b0]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4330d3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4567b0]
call fcn.0040d424
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4330cb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4330cb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4330cb
mov eax, dword [ebp - 0x14]
call fcn.0043b1f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4330cb
push ebp
call fcn.00432f80
pop ecx
test al, al
jne 0x4330cb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x433087
mov eax, dword [ebp - 0x14]
call fcn.00439b7c
dec eax
jle 0x4330cb
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402f6c
cmp byte [ebp - 1], 0
je 0x4330cb
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4330cb
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4567b4]
call fcn.004327cc
inc edi
dec esi
jne 0x43301a
mov eax, dword [0x4567b4]
cmp dword [eax + 8], 0
jle 0x4330eb
mov eax, dword [0x4567b4]
call fcn.0043285c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x433104
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432de8
pop ecx
test al, al
jne 0x433104
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438b88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x438bb9
je 0x438c13
sub eax, 7
je 0x438bda
dec eax
je 0x438c04
sub eax, 0x17
je 0x438cb8
jmp 0x438cf6
add eax, 0xffffff00
sub eax, 9
jb 0x438ca4
add eax, 0xffffff09
sub eax, 0xb
jb 0x438c6c
jmp 0x438cf6
mov eax, ebx
call fcn.0041fe68
mov edi, eax
test edi, edi
je 0x438d56
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x438d5f
jmp 0x438d56
test byte [ebx + 0x44], 0x20
jne 0x438d5f
jmp 0x438d56
mov edx, esi
mov eax, ebx
call fcn.00436254
cmp dword [esi + 0xc], 0xffffffff
jne 0x438d5f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004069fc
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00434da0
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00438a60
test eax, eax
je 0x438d5f
mov dword [esi + 0xc], 1
jmp 0x438d5f
mov edx, esi
mov eax, ebx
call fcn.00438af4
test al, al
je 0x438d56
cmp dword [esi + 0xc], 0
jne 0x438d5f
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0043b1f0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x438d5f
mov eax, ebx
call fcn.004358f0
test al, al
jne 0x438d5f
jmp 0x438d56
mov eax, ebx
call fcn.0043b1f0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x438d56
cmp dword [0x4548e0], 0
je 0x438d56
mov eax, dword [0x4548e0]
cmp ebx, dword [eax + 0x24]
jne 0x438d56
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4548e0]
call fcn.00436188
jmp 0x438d56
mov eax, dword [0x456778]
cmp byte [eax + 0x20], 0
je 0x438d56
mov eax, dword [0x456778]
cmp dword [eax + 0x1c], 0
je 0x438d56
mov eax, dword [esi]
mov edx, dword [0x456778]
cmp eax, dword [edx + 0x1c]
jne 0x438d56
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0041fdac
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00402f6c
jmp 0x438d5f
mov edx, esi
mov eax, ebx
call fcn.00436254
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439220
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x43923c
cmp dword [esi + 4], 0
je 0x439269
test byte [ebx + 0x45], 1
jne 0x43925b
mov eax, ebx
call fcn.004381c4
test eax, eax
jne 0x43925b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439379
mov edx, esi
mov eax, ebx
call fcn.00438e98
jmp 0x439379
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x439372
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b1f0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00436188
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00439220
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b1f0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439379
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442aa8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x442ad6
mov eax, ebx
call fcn.0044354c
cmp dword [ebx + 0x3c], 0
je 0x442acf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x442b47
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x442b39
cmp dword [ebx + 8], 0
je 0x442af8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x442b0a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x442b39
cmp dword [ebx + 8], 0
je 0x442aeb
cmp eax, 3
je 0x442b1d
dec eax
jne 0x442aeb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x442aeb
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x442aeb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x442b65
cmp dword [ebx + 0x10], 0xcc
je 0x442b65
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00442b70
pop ebx
ret
Function at 0x401130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447de9
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x459080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CNsBase.0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi + 0x4c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebx + 1]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov word [esi + 0x30], 0x100
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 4
mov byte [esi + 0x3c], bl
test byte [0x45c378], al
jne 0x4011d6
or dword [0x45c378], eax
mov ecx, 0x45c37c
mov byte [ebp - 4], al
call sym.Install_time.exe_public:_void___thiscall_CNsFont::constructor_void_
push 0x448510
call fcn.00417d2c
add esp, 4
mov byte [ebp - 4], bl
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, 0x45c37c
call sym.Install_time.exe_public:_struct_HFONT______thiscall_CNsFont::GetFont_int__wchar_t_const___int__int__int_
mov dword [esi + 0x24], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x50], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402410
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x31], al
test al, al
je 0x40242d
mov eax, dword [ecx + 0x54]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
mov ecx, dword [ecx + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x403b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 0x66666667
imul dword [esi + 0x18]
push ebx
push edi
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ebx, edi
mov dword [ebp - 4], 5
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push 0x40
sub eax, ebx
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 0x54]
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, edi
dec dword [ebp - 4]
jne 0x403b60
mov edx, dword [esi + 0x54]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x54]
push 0
push 0
push 0x200
push eax
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0x66666667
imul dword [esi + 0x18]
sar edx, 2
push ebx
mov ebx, dword [esi + 0x10]
push edi
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 0xc8], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], 9
jmp 0x403eb3
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
add ebx, eax
mov eax, dword [esi + 0x18]
sub eax, dword [ebp - 4]
push 0x40
push eax
mov eax, dword [esi + 0x54]
push ecx
push ebx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 4], edi
dec dword [ebp - 8]
jne 0x403eb0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
cdq
push 0x40
sub eax, edx
mov edx, dword [esi + 0xc]
push 1
sar eax, 1
add eax, dword [esi + 0x10]
push ecx
push eax
mov eax, dword [esi + 0x54]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
push edx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403f50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x54]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call edi
mov ecx, dword [esi + 0x54]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 0x54]
push 2
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [esi + 0x54]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 1
mov ecx, dword [esi + 0x54]
push 0xffffffffffffffec
push ecx
call edi
mov edx, dword [esi + 0x54]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov al, bl
mov cl, 0x13
imul cl
add al, 0x3c
movzx edx, al
mov eax, dword [esi + 0x54]
push 2
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jle 0x403f93
pop edi
pop ebx
ret
Function at 0x404910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 0x66666667
imul dword [esi + 0x14]
push ebx
push edi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ebx, edi
mov dword [ebp - 4], 0xa
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push 0x40
push eax
mov eax, dword [esi + 0xc]
sub ecx, ebx
push ecx
mov ecx, dword [esi + 0x54]
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, edi
dec dword [ebp - 4]
jne 0x404931
mov ecx, dword [esi + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
push edx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404bf0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esi + 0x54]
push 0
push ecx
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0x200
push edx
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
ret

Function at 0x405600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x40565c
mov eax, dword [esi + 0x54]
push 0
push 0
push 0x200
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x54]
push 0x472
push str.ck_W
push edx
push eax
call sym.Install_time.exe_int___cdecl_ShowTray_struct_HWND_____struct_HICON_____wchar_t_const___unsigned_int_
mov ecx, dword [esi + 0x54]
push 2
push 0x44bd8c
push 0x44bd94
push ecx
call sym.Install_time.exe_int___cdecl_ShowBalloon_struct_HWND_____wchar_t_const___wchar_t_const___int_
add esp, 0x20
pop esi
pop ebp
ret 4

Function at 0x4061e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4061f8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40622a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x406226
cmp esi, eax
jae 0x40622a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406218
cmp esi, eax
jb 0x406230
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x4084c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xffffffdd
push edi
mov edi, ecx
cmp eax, 0xb9
ja 0x40850b
mov eax, dword [edi + 0x110]
mov ecx, dword [ebp + 0xc]
lea edx, [eax + 0x8a]
cmp ecx, edx
jl 0x40850b
add eax, 0x9e
cmp ecx, eax
jg 0x40850b
mov eax, dword [edi + 0x54]
push esi
push eax
mov eax, dword [edi + 0xc80]
lea esi, [edi + 0x185c]
call fcn.00406ff0
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [edi + 0x18b0]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0x18b0]
push 0
push 0
push 0x200
push edx
mov byte [edi + 0x1923], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebp
ret 8
Function at 0x409b90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447ab8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x459080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x3c4], 0
jle 0x409d1a
xor edi, edi
jmp 0x409bd0
cmp byte [esi + 0xc7], 0
jne 0x409d67
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x409bd0
dec dword [esi + 0x3c4]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x3c4]
push eax
push 0x44c120
lea edi, [ebp - 0x10]
call fcn.00405e60
mov edx, dword [ebp - 0x10]
mov ebx, dword [esi + 0x21c]
lea eax, [esi + 0x21c]
lea edi, [edx - 0x10]
sub ebx, 0x10
add esp, 8
cmp edi, ebx
je 0x409ce4
cmp dword [ebx + 0xc], 0
jl 0x409cda
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x409cda
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x409c77
cmp eax, dword [edi]
jne 0x409c77
mov dword [ebp - 0x14], edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409cb3
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409d78
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
lea edx, [ecx + ecx + 2]
push edx
lea edx, [edi + 0x10]
push edx
lea ecx, [ecx + ecx + 2]
push ecx
add eax, 0x10
push eax
call fcn.00418291
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x409ccc
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [esi + 0x21c], eax
jmp 0x409ce4
mov ebx, dword [edx - 0xc]
push edx
push eax
call fcn.00405980
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d0d
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [esi + 0x3c4], 0
jg 0x409bc4
mov ecx, dword [esi + 0x3c0]
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x54]
push 0
mov ebx, 1
push eax
mov dword [esi + 0x68], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x54]
push 0
push 0
push 0x200
push ecx
mov byte [esi + 0xc7], bl
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x54]
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00405cd0
int3