joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aeb0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x80c
lea eax, [esp]
push esi
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov al, byte [esi + 0x4440]
test al, al
mov eax, str.tight
jne 0x40aed8
mov eax, 0x44a130
mov edx, dword [esi + 0x443c]
lea ecx, [esp + 4]
push ecx
push eax
mov eax, dword [esi + 0x4438]
xor ecx, ecx
mov cl, byte [esi + 0x4419]
push edx
push eax
xor edx, edx
mov dl, byte [esi + 0x4405]
push ecx
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 0x4402]
mov cx, word [esi + 0x4400]
push edx
mov edx, dword [esi + 0x54]
push eax
push ecx
mov ecx, dword [esi + 0x40f0]
lea eax, [esi + 0x58]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push str.Connected_to:__s_n_rHost:__s_port:__d_n_r_n_rDesktop_geometry:__d_x__d_x__d_n_rUsing_depth:__d_n_rCurrent_protocol_version:__d._d_s_n_r_n_rCurrent_keyboard_name:__s_n_r
push edx
call fcn.004309ee
add esp, 0x34
lea eax, [esp + 0x10]
push 0x40
push str.VNC_connection_info
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
add esp, 0x80c
ret

Function at 0x40b800
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
lea eax, [esp + 7]
push 1
mov esi, ecx
push eax
call fcn.0040b880
push 0x10083
push 0
push str.VNCViewerBell
call dword [sym.imp.WINMM.dll_PlaySoundA]
test eax, eax
jne 0x40b833
push 0x7d
push 0x1b8
call dword [sym.imp.KERNEL32.dll_Beep]
mov al, byte [esi + 0x3d5d]
test al, al
je 0x40b866
mov ecx, dword [esi + 0x178]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40b866
push 0
mov ecx, esi
call fcn.0040b720
mov edx, dword [esi + 0x178]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Bell__n
push 6
push 0x44a3a0
call fcn.004063e0
add esp, 0xc
pop esi
pop ecx
ret
Function at 0x40b880
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ae08
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x168], 0xffffffff
jne 0x40b8ce
mov al, byte [edi + 0x1c2]
test al, al
je 0x40b8ce
push str.Connection_closed.
lea ecx, [esp + 0x18]
call fcn.00416660
lea eax, [esp + 0x14]
push 0x43d830
push eax
call fcn.004305d1
lea ecx, [edi + 0x214]
push ecx
lea ecx, [esp + 0x14]
call fcn.00408cb0
mov esi, dword [esp + 0x40]
xor ebp, ebp
push esi
push str.__reading__d_bytes_n
push 0xa
push 0x44a3a0
mov dword [esp + 0x44], ebp
call fcn.004063e0
add esp, 0x10
cmp esi, ebp
jle 0x40b92a
mov ebx, dword [esp + 0x3c]
mov eax, dword [edi + 0x168]
push 0
lea edx, [ebx + ebp]
push esi
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
je 0x40b950
cmp eax, 0xffffffff
je 0x40b96f
sub esi, eax
add ebp, eax
test esi, esi
jg 0x40b905
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.00408cd0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push 1
push str.Connection_closed.
lea ecx, [esp + 0x1c]
call fcn.00416690
lea ecx, [esp + 0x14]
push 0x43dbf8
push ecx
call fcn.004305d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Socket_error_while_reading__d_n
push 1
push 0x44a3a0
call fcn.004063e0
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [edi + 0x4442], 0
push 1
push str.ReadExact:_Socket_error_while_reading.
call fcn.00416690
lea edx, [esp + 0x20]
push 0x43dbf8
push edx
call fcn.004305d1
Function at 0x40b9f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ae28
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor esi, esi
cmp edi, esi
mov ebp, ecx
je 0x40ba8a
cmp dword [ebp + 0x168], 0xffffffff
je 0x40ba8a
lea eax, [ebp + 0x22c]
lea ecx, [esp + 0x10]
push eax
call fcn.00408cb0
push edi
push str.__writing__d_bytes_n
push 0xa
push 0x44a3a0
mov dword [esp + 0x38], esi
call fcn.004063e0
add esp, 0x10
cmp edi, esi
jle 0x40ba79
mov ebx, dword [esp + 0x30]
mov eax, dword [ebp + 0x168]
mov ecx, edi
sub ecx, esi
push 0
lea edx, [esi + ebx]
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x40ba9f
test eax, eax
je 0x40ba9f
add esi, eax
cmp esi, edi
jl 0x40ba52
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00408cd0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea ecx, [esp + 0x38]
push 0
mov esi, eax
push ecx
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x34]
push edx
push esi
push str.Socket_error__d:__s_n
push 1
push 0x44a3a0
call fcn.004063e0
mov eax, dword [esp + 0x48]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
push str.WriteExact:_Socket_error_while_writing.
lea ecx, [esp + 0x1c]
mov byte [ebp + 0x4442], 0
call fcn.00416690
lea ecx, [esp + 0x14]
push 0x43dbf8
push ecx
call fcn.004305d1
nop
nop
Function at 0x40be30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ae68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push str.Clipboard_changed_n
push 2
push 0x44a3a0
mov dword [ebp - 0x18], esi
call fcn.004063e0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [esi + 0x170]
jne 0x40be91
push str.We_changed_it___ignore__n
push 2
push 0x44a3a0
call fcn.004063e0
add esp, 0xc
jmp 0x40c00b
mov al, byte [esi + 0x447c]
test al, al
jne 0x40bebb
push str.Dont_send_initial_clipboard__n
push 2
push 0x44a3a0
call fcn.004063e0
add esp, 0xc
mov byte [esi + 0x447c], 1
jmp 0x40c00b
mov al, byte [esi + 0x3d5e]
test al, al
jne 0x40c00b
lea eax, [esi + 0x1fc]
lea ecx, [ebp - 0x24]
push eax
call fcn.00408cb0
mov ecx, dword [esi + 0x170]
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40bffc
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x40bf0e
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40bffc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0043060b
mov dword [ebp - 0x14], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0043060b
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [ebp - 0x20], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [ebp - 0x1c]
mov edx, ecx
mov esi, edi
mov edi, dword [ebp - 0x14]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 0x14]
xor eax, eax
cmp byte [esi], 0
je 0x40bf93
mov edx, esi
mov cl, byte [edx]
cmp cl, 0xd
je 0x40bf8b
mov byte [eax + ebx], cl
inc eax
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x40bf80
mov byte [eax + ebx], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0040aaf0
jmp 0x40bfea
push esi
call fcn.004304d0
push ebx
call fcn.004304d0
mov esi, dword [ebp - 0x18]
add esp, 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00408cd0
mov edx, dword [esi + 0x4478]
push 0
push 0
push 0x308
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c040
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ae88
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x3d5e]
test al, al
jne 0x40c1b3
mov ebx, dword [esp + 0x30]
lea eax, [ebx + ebx + 1]
push eax
call fcn.0043060b
mov edx, dword [esi + 0x1c4]
mov ebp, eax
xor ecx, ecx
add esp, 4
xor eax, eax
cmp byte [edx], cl
je 0x40c0b5
mov edi, dword [esp + 0x2c]
cmp byte [ecx + edi], 0xa
jne 0x40c09d
mov byte [eax + ebp], 0xd
inc eax
inc ebx
mov dl, byte [ecx + edi]
inc ecx
mov byte [eax + ebp], dl
mov edx, dword [esi + 0x1c4]
inc eax
cmp byte [edx + ecx], 0
jne 0x40c091
mov dword [esp + 0x30], ebx
mov byte [eax + ebp], 0
lea eax, [esi + 0x1fc]
push eax
lea ecx, [esp + 0x30]
call fcn.00408cb0
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x24], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40c101
push 1
push str.Failed_to_open_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416690
lea edx, [esp + 0x10]
push 0x43dbf8
push edx
call fcn.004305d1
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40c12a
push 1
push str.Failed_to_empty_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416690
lea eax, [esp + 0x10]
push 0x43dbf8
push eax
call fcn.004305d1
inc ebx
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40c170
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x30]
mov esi, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
call fcn.004304d0
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x40c1a2
push 1
push str.Failed_to_close_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416690
lea edx, [esp + 0x10]
push 0x43dbf8
push edx
call fcn.004305d1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00408cd0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x40dd50
Capabilities:
Read .ini file

Disassembly:
mov al, byte [esp + 8]
sub esp, 0x608
test al, al
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x40ddb6
call fcn.0040dd00
mov eax, dword [esi + 0x154]
mov ebx, dword [esp + 0x61c]
lea ecx, [esp + 0x418]
push 0x44a148
mov dword [0x44a14c], eax
mov dword [0x44a164], ebx
mov dword [0x44a16c], ecx
mov dword [0x44a17c], 4
call sub.comdlg32.dll_GetOpenFileNameA
test eax, eax
jne 0x40ddbd
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x608
ret 8
mov ebx, dword [esp + 0x61c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebp, [esi + 0x58]
push ebx
push 0xfa
push ebp
push 0x44a130
push str.host
push str.connection
call edi
test eax, eax
jne 0x40de0b
mov edx, dword [esi + 0x170]
push 0x10
push str.Config_file_error
push str.Error_reading_host_name_from_file
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x608
ret 8
push ebx
push 0
push str.port
push str.connection
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [esi + 0x54], eax
jne 0x40de4e
mov eax, dword [esi + 0x170]
push 0x10
push str.Config_file_error
push str.Error_reading_port_number_from_file
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x608
ret 8
lea ecx, [esi + 0x3b38]
push ebp
push ecx
push eax
call fcn.004207c0
add esp, 0xc
lea edx, [esp + 0x14]
mov byte [esi + 0x40f4], 0
mov word [esi + 0x41fc], 0
push ebx
push 0x20
push edx
push 0x44a130
push str.password
push str.connection
call edi
test eax, eax
jbe 0x40dec7
xor edi, edi
lea ebp, [esp + 0x14]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x442b1c
push ebp
call fcn.00430b3e
mov cl, byte [esp + 0x1c]
add esp, 0xc
mov byte [esi + edi + 0x40f4], cl
inc edi
add ebp, 2
cmp edi, 8
jl 0x40de92
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea edx, [esi + 0x40fc]
push 0x100
push edx
push 0x44a130
push str.username_ext
push str.connection
call edi
push ebx
lea eax, [esp + 0x18]
push 0x402
push eax
push 0x44a130
push str.password_ext
push str.connection
call edi
cmp eax, 2
jb 0x40df57
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edi, edi
mov ebx, ecx
shr ebx, 1
test ebx, ebx
jle 0x40df50
lea ebp, [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0x442b1c
push ebp
call fcn.00430b3e
mov dl, byte [esp + 0x1c]
add esp, 0xc
mov byte [esi + edi + 0x41fc], dl
inc edi
add ebp, 2
cmp edi, ebx
jl 0x40df22
mov ebx, dword [esp + 0x61c]
mov al, byte [esp + 0x620]
test al, al
je 0x40df73
push ebx
lea ecx, [esi + 0x3b2c]
call fcn.0041d4f0
call fcn.0041d7b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x608
ret 8
Function at 0x40dfe0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
push esi
mov esi, ecx
push edi
push 0xfffffffffffffff0
mov eax, dword [esi + 0x178]
push eax
call ebp
mov edi, eax
mov al, byte [esi + 0x3d48]
test al, al
je 0x40e0e0
mov al, byte [esp + 0x14]
test al, al
jne 0x40e03b
mov ecx, dword [0x44a3d4]
mov al, byte [ecx + 0x111]
test al, al
jne 0x40e03b
mov edx, dword [esi + 0x178]
push 0x50040
push str.VNCviewer_full_screen_mode
push str.To_exit_from_full_screen_mode__press_Ctrl_Alt_Shift_F._r_nAlternatively__press_Ctrl_Esc_Esc_and_then_right_click_r_non_the_vncviewer_taskbar_icon_to_see_the_menu.
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 0x17c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x178]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMenu]
push 1
push 0x9f
push 0
push ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, dword [esi + 0x178]
push 3
push edx
call edi
mov eax, dword [esi + 0x178]
push 0xfffffffffffffff0
push eax
call ebp
mov ecx, dword [esi + 0x178]
and eax, 0xffbbffff
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebp, eax
call edi
mov edx, dword [esi + 0x178]
add eax, 3
push 0x20
add ebp, 3
push eax
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x178]
push 8
push 0x6e
push 0
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, dword [esi + 0x17c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call ebx
mov edx, dword [esi + 0x178]
mov ebp, dword [sym.imp.USER32.dll_GetSystemMenu]
push 0
push 0x9f
push 0
push edx
call ebp
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [esi + 0x178]
or edi, 0x440000
push edi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esi + 0x178]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x178]
push 1
push edx
call ebx
mov eax, dword [esi + 0x178]
push 0
push 0x6e
push 0
push eax
call ebp
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x415a30
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x442f00]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x415a43
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp word [esp + 0x10c], 1
je 0x415a85
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x442fa8]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x415ab7
mov bl, byte [esp + ecx + 0x4c]
jmp 0x415abb
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x415aac
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x415ad9
mov bl, byte [esp + ecx + 0x4c]
jmp 0x415add
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x415ace
xor ecx, ecx
mov eax, 0x442f10
xor ebx, ebx
mov bl, byte [ecx + 0x442fb8]
cmp byte [esp + ebx + 0x14], 0
je 0x415b08
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x442fd0]
cmp byte [esp + ebx + 0x14], 0
je 0x415b1f
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x415aef
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x415a77
lea edx, [esp + 0x84]
push edx
call fcn.00415b60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4162a0
Capabilities:
Inspect load icon resource

Disassembly:
push esi
mov esi, ecx
push edi
push 0x65
mov eax, dword [esi + 8]
lea edi, [esi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x65
mov dword [edi], 0x58
mov ecx, dword [0x44a3d4]
mov edx, dword [ecx + 0x49c]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x2c]
push 0x40
mov dword [esi + 0x20], 3
mov dword [esi + 0x24], 0x402
mov byte [eax], 0
push eax
mov eax, dword [0x44a3d4]
push 0x65
mov ecx, dword [eax + 0x49c]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x416309
mov eax, dword [esi + 0x20]
or al, 4
mov dword [esi + 0x20], eax
mov edx, dword [esp + 0xc]
push edi
push edx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret 4
Function at 0x4168b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x7fc]
push 0x416b40
push 0
push 0xdb
mov ecx, dword [eax + 0x49c]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [esi + 0x7f8]
mov dword [esi + 0x80c], eax
push eax
mov ecx, dword [edx + 0x158]
call fcn.00418850
mov eax, dword [esi + 0x80c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x80c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x80c]
push esi
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0x80c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x443
push eax
call edi
mov ecx, dword [esi + 0x80c]
push 0x43e
push ecx
mov dword [esi + 0x820], eax
call edi
mov edx, dword [esi + 0x80c]
push 0x43f
push edx
mov dword [esi + 0x810], eax
call edi
mov dword [esi + 0x814], eax
mov eax, dword [esi + 0x80c]
push 0x43a
push eax
call edi
mov ecx, dword [esi + 0x80c]
push 0x43c
push ecx
mov dword [esi + 0x818], eax
call edi
mov edx, dword [esi + 0x80c]
push 0x46a
push edx
mov dword [esi + 0x81c], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x824], eax
mov eax, dword [esi + 0x810]
push 0x20
push 0x20
push 0x1036
push eax
call ebx
mov ecx, dword [esi + 0x814]
push 0x20
push 0x20
push 0x1036
push ecx
call ebx
mov edx, dword [esi + 0x7fc]
push 0x8000
push 0x10
push 0x10
push 1
push 0xef
mov eax, dword [edx + 0x49c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [esi + 0x80c]
mov ebp, eax
push ebp
push 1
push 0xf7
push 0x472
push ecx
call edi
push eax
call ebx
mov edx, dword [esi + 0x80c]
push ebp
push 1
push 0xf7
push 0x46e
push edx
call edi
push eax
call ebx
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esi + 0x7fc]
push 0x8000
push 0x10
push 0x10
mov ecx, dword [eax + 0x49c]
push 1
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [esi + 0x80c]
mov ebp, eax
push ebp
push 1
push 0xf7
push 0x470
push edx
call edi
push eax
call ebx
mov eax, dword [esi + 0x80c]
push ebp
push 1
push 0xf7
push 0x446
push eax
call edi
push eax
call ebx
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esi + 0x810]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
fild dword [esp + 0x18]
fld st(0)
fmul qword [0x43c4c8]
call fcn.00430e60
fmul qword [0x43c4c0]
mov edi, eax
call fcn.00430e60
mov ebx, eax
mov eax, dword [esi + 0x810]
push edi
push 0
push str.Name
push eax
mov ecx, esi
call fcn.00419660
mov ecx, dword [esi + 0x810]
push ebx
push 1
push str.Size
push ecx
mov ecx, esi
call fcn.00419660
mov edx, dword [esi + 0x814]
push edi
push 0
push str.Name
push edx
mov ecx, esi
call fcn.00419660
mov eax, dword [esi + 0x814]
push ebx
push 1
push str.Size
push eax
mov ecx, esi
call fcn.00419660
lea ecx, [esi + 0x2fd]
push ecx
mov ecx, esi
call fcn.00418070
lea edx, [esi + 0x1fe]
push 0
push edx
mov ecx, esi
call fcn.004192e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x417cb0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x830]
test eax, eax
je 0x417cd7
mov eax, dword [esi + 0x84c]
mov dword [esi + 0x830], 0
push eax
call edi
mov eax, dword [esi + 0x834]
test eax, eax
je 0x417d0b
mov ecx, dword [esi + 0x848]
mov dword [esi + 0x834], 0
push ecx
mov dword [esi + 0x844], 1
call edi
add esi, 0x6f9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
ret