joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406af0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x21c
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x406b0e
push str.Connection_initiated
call fcn.00415d90
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x168], eax
jne 0x406b44
push 1
push str.Error_creating_socket
lea ecx, [esp + 0x10]
call fcn.00416a00
lea eax, [esp + 8]
push 0x43dc20
push eax
call fcn.00430b31
lea edi, [esi + 0x58]
push edi
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x406b9f
push edi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
jne 0x406b94
push edi
lea ecx, [esp + 0x28]
push str.Failed_to_get_server_address___s_._nDid_you_type_the_host_name_correctly_
push ecx
call fcn.00430f4e
add esp, 0xc
lea edx, [esp + 0x24]
lea ecx, [esp + 8]
push 1
push edx
call fcn.00416a00
lea eax, [esp + 8]
push 0x43dc20
push eax
call fcn.00430b31
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov cx, word [esi + 0x54]
mov word [esp + 0x14], 2
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x16], ax
mov eax, dword [esi + 0x168]
lea edx, [esp + 0x14]
push 0x10
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x406c07
add esi, 0x3e50
lea ecx, [esp + 0x24]
push esi
push str.Failed_to_connect_to_server___.255s_
push ecx
call fcn.00430f4e
add esp, 0xc
lea edx, [esp + 0x24]
lea ecx, [esp + 8]
push 1
push edx
call fcn.00416a00
lea eax, [esp + 8]
push 0x43dc20
push eax
call fcn.00430b31
mov ecx, dword [esi + 0x54]
push ecx
push edi
push str.Connected_to__s_port__d_n
push 0
push 0x44a470
call fcn.00406360
mov ecx, dword [esi + 0x15c]
add esp, 0x14
test ecx, ecx
je 0x406c34
push str.Connection_established
call fcn.00415d90
pop edi
pop esi
add esp, 0x21c
ret

Function at 0x406c90
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
mov ecx, dword [ecx + 0x168]
lea eax, [esp]
push 4
push eax
push 1
push 6
push ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
test eax, eax
je 0x406cd6
push 1
push str.Error_disabling_Nagles_algorithm
lea ecx, [esp + 0xc]
call fcn.00416a00
lea edx, [esp + 4]
push 0x43dc20
push edx
call fcn.00430b31
add esp, 0x10
ret
Function at 0x40b180
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 + 0x4758]
test al, al
mov eax, str.tight
jne 0x40b1a8
mov eax, 0x44a200
mov edx, dword [esi + 0x4754]
lea ecx, [esp + 4]
push ecx
push eax
mov eax, dword [esi + 0x4750]
xor ecx, ecx
mov cl, byte [esi + 0x4731]
push edx
push eax
xor edx, edx
mov dl, byte [esi + 0x471d]
push ecx
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 0x471a]
mov cx, word [esi + 0x4718]
push edx
mov edx, dword [esi + 0x54]
push eax
push ecx
mov ecx, dword [esi + 0x4408]
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.00430f4e
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 0x40bb40
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
lea eax, [esp + 7]
push 1
mov esi, ecx
push eax
call fcn.0040bbc0
push 0x10083
push 0
push str.VNCViewerBell
call dword [sym.imp.WINMM.dll_PlaySoundA]
test eax, eax
jne 0x40bb73
push 0x7d
push 0x1b8
call dword [sym.imp.KERNEL32.dll_Beep]
mov al, byte [esi + 0x4075]
test al, al
je 0x40bba6
mov ecx, dword [esi + 0x178]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40bba6
push 0
mov ecx, esi
call fcn.0040ba60
mov edx, dword [esi + 0x178]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Bell__n
push 6
push 0x44a470
call fcn.00406360
add esp, 0xc
pop esi
pop ecx
ret
Function at 0x40bbc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b518
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 0x40bc0e
mov al, byte [edi + 0x1c2]
test al, al
je 0x40bc0e
push str.Connection_closed.
lea ecx, [esp + 0x18]
call fcn.004169d0
lea eax, [esp + 0x14]
push 0x43d840
push eax
call fcn.00430b31
lea ecx, [edi + 0x52c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00408db0
mov esi, dword [esp + 0x40]
xor ebp, ebp
push esi
push str.__reading__d_bytes_n
push 0xa
push 0x44a470
mov dword [esp + 0x44], ebp
call fcn.00406360
add esp, 0x10
cmp esi, ebp
jle 0x40bc6a
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 0x40bc90
cmp eax, 0xffffffff
je 0x40bcaf
sub esi, eax
add ebp, eax
test esi, esi
jg 0x40bc45
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.00408dd0
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.00416a00
lea ecx, [esp + 0x14]
push 0x43dc20
push ecx
call fcn.00430b31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Socket_error_while_reading__d_n
push 1
push 0x44a470
call fcn.00406360
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [edi + 0x475a], 0
push 1
push str.ReadExact:_Socket_error_while_reading.
call fcn.00416a00
lea edx, [esp + 0x20]
push 0x43dc20
push edx
call fcn.00430b31
Function at 0x40bd30
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b538
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 0x40bdca
cmp dword [ebp + 0x168], 0xffffffff
je 0x40bdca
lea eax, [ebp + 0x544]
lea ecx, [esp + 0x10]
push eax
call fcn.00408db0
push edi
push str.__writing__d_bytes_n
push 0xa
push 0x44a470
mov dword [esp + 0x38], esi
call fcn.00406360
add esp, 0x10
cmp edi, esi
jle 0x40bdb9
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 0x40bddf
test eax, eax
je 0x40bddf
add esi, eax
cmp esi, edi
jl 0x40bd92
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00408dd0
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 0x44a470
call fcn.00406360
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 + 0x475a], 0
call fcn.00416a00
lea ecx, [esp + 0x14]
push 0x43dc20
push ecx
call fcn.00430b31
nop
nop
Function at 0x40c170
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b578
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 0x44a470
mov dword [ebp - 0x18], esi
call fcn.00406360
add esp, 0xc
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [esi + 0x170]
jne 0x40c1d1
push str.We_changed_it___ignore__n
push 2
push 0x44a470
call fcn.00406360
add esp, 0xc
jmp 0x40c34b
mov al, byte [esi + 0x4794]
test al, al
jne 0x40c1fb
push str.Dont_send_initial_clipboard__n
push 2
push 0x44a470
call fcn.00406360
add esp, 0xc
mov byte [esi + 0x4794], 1
jmp 0x40c34b
mov al, byte [esi + 0x4076]
test al, al
jne 0x40c34b
lea eax, [esi + 0x514]
lea ecx, [ebp - 0x24]
push eax
call fcn.00408db0
mov ecx, dword [esi + 0x170]
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c33c
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x40c24e
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40c33c
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.00430b6b
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.00430b6b
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 0x40c2d3
mov edx, esi
mov cl, byte [edx]
cmp cl, 0xd
je 0x40c2cb
mov byte [eax + ebx], cl
inc eax
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x40c2c0
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.0040adc0
jmp 0x40c32a
push esi
call fcn.00430a30
push ebx
call fcn.00430a30
mov esi, dword [ebp - 0x18]
add esp, 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00408dd0
mov edx, dword [esi + 0x4790]
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 0x40c380
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b598
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 + 0x4076]
test al, al
jne 0x40c4f3
mov ebx, dword [esp + 0x30]
lea eax, [ebx + ebx + 1]
push eax
call fcn.00430b6b
mov edx, dword [esi + 0x4dc]
mov ebp, eax
xor ecx, ecx
add esp, 4
xor eax, eax
cmp byte [edx], cl
je 0x40c3f5
mov edi, dword [esp + 0x2c]
cmp byte [ecx + edi], 0xa
jne 0x40c3dd
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 + 0x4dc]
inc eax
cmp byte [edx + ecx], 0
jne 0x40c3d1
mov dword [esp + 0x30], ebx
mov byte [eax + ebp], 0
lea eax, [esi + 0x514]
push eax
lea ecx, [esp + 0x30]
call fcn.00408db0
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x24], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40c441
push 1
push str.Failed_to_open_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416a00
lea edx, [esp + 0x10]
push 0x43dc20
push edx
call fcn.00430b31
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40c46a
push 1
push str.Failed_to_empty_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416a00
lea eax, [esp + 0x10]
push 0x43dc20
push eax
call fcn.00430b31
inc ebx
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40c4b0
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.00430a30
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x40c4e2
push 1
push str.Failed_to_close_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416a00
lea edx, [esp + 0x10]
push 0x43dc20
push edx
call fcn.00430b31
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00408dd0
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 0x40e090
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 0x40e0f6
call fcn.0040e040
mov eax, dword [esi + 0x154]
mov ebx, dword [esp + 0x61c]
lea ecx, [esp + 0x418]
push 0x44a218
mov dword [0x44a21c], eax
mov dword [0x44a234], ebx
mov dword [0x44a23c], ecx
mov dword [0x44a24c], 4
call sub.comdlg32.dll_GetOpenFileNameA
test eax, eax
jne 0x40e0fd
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 0x44a200
push str.host
push str.connection
call edi
test eax, eax
jne 0x40e14b
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 0x40e18e
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 + 0x3e50]
push ebp
push ecx
push eax
call fcn.00420d30
add esp, 0xc
lea edx, [esp + 0x14]
mov byte [esi + 0x440c], 0
mov word [esi + 0x4514], 0
push ebx
push 0x20
push edx
push 0x44a200
push str.password
push str.connection
call edi
test eax, eax
jbe 0x40e207
xor edi, edi
lea ebp, [esp + 0x14]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x442bd4
push ebp
call fcn.0043109e
mov cl, byte [esp + 0x1c]
add esp, 0xc
mov byte [esi + edi + 0x440c], cl
inc edi
add ebp, 2
cmp edi, 8
jl 0x40e1d2
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea edx, [esi + 0x4414]
push 0x100
push edx
push 0x44a200
push str.username_ext
push str.connection
call edi
push ebx
lea eax, [esp + 0x18]
push 0x402
push eax
push 0x44a200
push str.password_ext
push str.connection
call edi
cmp eax, 2
jb 0x40e297
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 0x40e290
lea ebp, [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0x442bd4
push ebp
call fcn.0043109e
mov dl, byte [esp + 0x1c]
add esp, 0xc
mov byte [esi + edi + 0x4514], dl
inc edi
add ebp, 2
cmp edi, ebx
jl 0x40e262
mov ebx, dword [esp + 0x61c]
mov al, byte [esp + 0x620]
test al, al
je 0x40e2b3
push ebx
lea ecx, [esi + 0x3e44]
call fcn.0041dca0
call fcn.0041def0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x608
ret 8
Function at 0x40e320
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 + 0x4060]
test al, al
je 0x40e420
mov al, byte [esp + 0x14]
test al, al
jne 0x40e37b
mov ecx, dword [0x44a4a4]
mov al, byte [ecx + 0x111]
test al, al
jne 0x40e37b
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]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call edi
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]
mov ecx, dword [esi + 0x178]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ecx
call edi
mov edx, dword [esi + 0x178]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x178]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x415da0
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 + 0x442fb8]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x415db3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp word [esp + 0x10c], 1
je 0x415df5
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 + 0x443060]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x415e27
mov bl, byte [esp + ecx + 0x4c]
jmp 0x415e2b
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x415e1c
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x415e49
mov bl, byte [esp + ecx + 0x4c]
jmp 0x415e4d
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x415e3e
xor ecx, ecx
mov eax, 0x442fc8
xor ebx, ebx
mov bl, byte [ecx + 0x443070]
cmp byte [esp + ebx + 0x14], 0
je 0x415e78
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x443088]
cmp byte [esp + ebx + 0x14], 0
je 0x415e8f
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 0x415e5f
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x415de7
lea edx, [esp + 0x84]
push edx
call fcn.00415ed0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x416610
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 [0x44a4a4]
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 [0x44a4a4]
push 0x65
mov ecx, dword [eax + 0x49c]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x416679
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 0x416c10
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 0x416ea0
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.00418bb0
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 [0x43c4d0]
call fcn.004313c0
fmul qword [0x43c4c8]
mov edi, eax
call fcn.004313c0
mov ebx, eax
mov eax, dword [esi + 0x810]
push edi
push 0
push str.Name
push eax
mov ecx, esi
call fcn.004199c0
mov ecx, dword [esi + 0x810]
push ebx
push 1
push str.Size
push ecx
mov ecx, esi
call fcn.004199c0
mov edx, dword [esi + 0x814]
push edi
push 0
push str.Name
push edx
mov ecx, esi
call fcn.004199c0
mov eax, dword [esi + 0x814]
push ebx
push 1
push str.Size
push eax
mov ecx, esi
call fcn.004199c0
lea ecx, [esi + 0x2fd]
push ecx
mov ecx, esi
call fcn.004183d0
lea edx, [esi + 0x1fe]
push 0
push edx
mov ecx, esi
call fcn.00419640
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x418010
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 0x418037
mov eax, dword [esi + 0x84c]
mov dword [esi + 0x830], 0
push eax
call edi
mov eax, dword [esi + 0x834]
test eax, eax
je 0x41806b
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