joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034c0
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push 0x20000013
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4034ff
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0xc8
jne 0x4034f6
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000005
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
mov dword [esi + 0x2450], eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x403540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push 0
push eax
push dword [esi + 0x23c]
lea eax, [esi + 0x24c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 0x2450]
test eax, eax
jne 0x40359f
mov dword [esi + 0x220], 2
test ecx, ecx
je 0x403586
imul eax, dword [esi + 0x244c], 0x64
xor edx, edx
div ecx
push dword [esi + 4]
push eax
mov eax, dword [esi]
push 2
push str.Failed_writing_to_file
call eax
add esp, 0x10
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [ebp + 8]
add dword [esi + 0x244c], eax
mov eax, dword [esi + 0x244c]
test ecx, ecx
jne 0x4035b6
xor eax, eax
jmp 0x4035bd
imul eax, eax, 0x64
xor edx, edx
div ecx
push dword [esi + 4]
push eax
push dword [esi + 0x220]
mov eax, dword [esi]
push str.RECEIVING...
call eax
add esp, 0x10
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x403aa0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx - 0x124]
lea ecx, [ebx - 0x124]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.0040fb20
mov eax, dword [ebx - 0x124]
push dword [ebx - 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x120]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx - 0x124]
push dword [ebx - 4]
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x120]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx - 0x124]
push dword [ebx - 0x1c]
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x120]
call edi
cmp dword [ebx - 0xc], 0
lea ecx, [ebx - 0xa0]
jne 0x403b23
lea ecx, [ebx - 0x120]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
mov dword [ebx - 8], 0
mov eax, 1
pop ebx
ret

Function at 0x4056b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x24]
push 2
push eax
push dword [esi + 0x548]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jl 0x4057c2
push ebx
mov bx, word [ebp - 0x24]
mov eax, 0xff
cmp bx, ax
ja 0x4057c1
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push dword [esi + 0x1c0]
call edi
cmp eax, 0xffffffff
je 0x4057c0
push 0
push eax
push 0x150
push dword [esi + 0x1c0]
call edi
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x128], eax
mov ecx, dword [eax + 0x4ca424]
mov dword [ebp - 0x12c], ecx
cmp ecx, 0x14
jge 0x405756
movzx eax, bl
push eax
call fcn.0044ae46
mov bl, al
add esp, 4
mov eax, dword [ebp - 0x128]
mov ecx, dword [esi + 0xf58]
mov edx, dword [ebp - 0x12c]
mov byte [esi + ecx*8 + 0x758], bl
mov ecx, dword [esi + 0xf58]
mov dword [esi + ecx*8 + 0x75c], edx
inc dword [esi + 0xf58]
push dword [eax + 0x4ca428]
movzx eax, bl
push eax
lea eax, [ebp - 0x124]
push str.___c_t_s
push eax
call fcn.00406c90
add esp, 0x10
lea eax, [ebp - 0x124]
push 0
push eax
push 0
push 0x180
push dword [esi + 0x1b8]
call edi
push eax
push 0x186
push dword [esi + 0x1b8]
call edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00420b40
mov esp, ebp
pop ebp
ret
Function at 0x406170
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x24]
push 2
push eax
push dword [edi + 0x548]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jge 0x4061c5
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 0x1cc]
call esi
push 0
push dword [edi + 0x3fc]
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420b40
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
mov ecx, edi
call fcn.00405540
xor ecx, ecx
mov esi, eax
cmp esi, 0xffffffff
sete cl
push ecx
push dword [edi + 0x1cc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 0xffffffff
je 0x406206
push 0
push esi
push 0x186
push dword [edi + 0x1b8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.00406b20
push 0
push 0
push 0x188
push dword [edi + 0x1b8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push dword [edi + 0x3fc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00420b40
mov esp, ebp
pop ebp
ret

Function at 0x4064c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x24]
push 2
push eax
push dword [edi + 0x548]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jl 0x40662d
push ebx
mov bx, word [ebp - 0x24]
mov eax, 0xff
cmp bx, ax
ja 0x40662c
push esi
movzx esi, bl
push esi
call fcn.0044ae46
push esi
mov byte [ebp - 0x125], al
call fcn.0044ae16
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 8
mov byte [ebp - 0x134], al
push 0
push 0
push 0x147
push dword [edi + 0x1c0]
call esi
cmp eax, 0xffffffff
je 0x40662b
push 0
push eax
push 0x150
push dword [edi + 0x1c0]
call esi
push 0
push 0
push 0x188
push dword [edi + 0x1b8]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x130], eax
mov eax, dword [eax + 0x4ca424]
mov dword [ebp - 0x12c], eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x40662b
mov eax, dword [ebp - 0x12c]
cmp eax, 0x14
movzx ecx, byte [ebp - 0x125]
mov dword [edi + esi*8 + 0x75c], eax
mov eax, dword [ebp - 0x130]
movzx edx, bl
cmovl edx, ecx
mov byte [edi + esi*8 + 0x758], dl
push dword [eax + 0x4ca428]
movzx eax, dl
push eax
lea eax, [ebp - 0x124]
push str.___c_t_s
push eax
call fcn.00406c90
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x124]
add esp, 0x10
push eax
push esi
push 0x181
push dword [edi + 0x1b8]
call ebx
push 0
lea eax, [esi + 1]
push eax
push 0x182
push dword [edi + 0x1b8]
call ebx
push 0
push esi
push 0x186
push dword [edi + 0x1b8]
call ebx
push dword [ebp - 0x134]
mov ecx, edi
call fcn.00405540
cmp eax, 0xffffffff
je 0x40662b
cmp eax, esi
je 0x40662b
push eax
mov ecx, edi
call fcn.00405330
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00420b40
mov esp, ebp
pop ebp
ret
Function at 0x406ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x201
push esi
mov esi, ecx
jne 0x406ef9
push 1
push 0
push 0
lea eax, [esi + 0x80]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406f20
pop esi
pop ebp
ret 0x10

Function at 0x407700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x828]
mov ebx, ecx
push 0x400
push eax
push dword [ebx + 0x1b8]
call esi
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x3b4]
call esi
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x1b4]
call fcn.00407080
add esp, 0xc
cmp eax, 0xffffffff
je 0x4077c0
push 0
push eax
push 0x182
push dword [ebx + 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0x218]
call esi
push 0
mov ecx, ebx
call fcn.004080f0
xor eax, eax
cmp word [ebp - 0x828], ax
setne al
push eax
push dword [ebx + 0x1c8]
call esi
push dword [ebx + 0x3b4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebx + 0x3b4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00420b40
mov esp, ebp
pop ebp
ret

Function at 0x4077d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.00420bc0
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x28]
push edi
mov edi, ecx
push 0x10
push eax
push dword [edi + 0x3b4]
call esi
push 0x400
lea eax, [ebp - 0x828]
push eax
push dword [edi + 0x1b8]
call esi
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x104c]
push str._s_t_s
push eax
call fcn.00406c90
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x1b4]
call fcn.00407080
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x1c
cmp eax, 0xffffffff
je 0x407864
push 0
push eax
push 0x182
push dword [edi + 0x1b4]
call ebx
push 0
lea eax, [ebp - 0x104c]
push eax
push 0
push 0x180
push dword [edi + 0x1b4]
call ebx
push eax
push 0x186
push dword [edi + 0x1b4]
call ebx
push 1
mov ecx, edi
call fcn.004080f0
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 0x1c8]
call esi
push 1
push dword [edi + 0x218]
call esi
push dword [edi + 0x3b4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [edi + 0x3b4]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420b40
mov esp, ebp
pop ebp
ret
Function at 0x407d60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x828]
push edi
mov edi, ecx
push 0x400
push eax
push dword [edi + 0x1b8]
call esi
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x3b4]
call esi
cmp word [ebp - 0x28], 0
je 0x407e1b
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x1b4]
call fcn.00407080
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x407dca
mov ecx, esi
jmp 0x407dda
or ecx, 0xffffffff
cmp dword [ebp - 0x82c], ecx
cmovne ecx, dword [ebp - 0x82c]
push 0
push ecx
push 0x186
push dword [edi + 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, 0xffffffff
je 0x407e30
push 1
mov ecx, edi
call fcn.004080f0
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp word [ebp - 0x828], ax
setne al
push eax
push dword [edi + 0x1c8]
call esi
push 1
jmp 0x407e64
push 0
push 0xffffffffffffffff
push 0x186
push dword [edi + 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, edi
call fcn.004080f0
cmp word [ebp - 0x28], 0
je 0x407e51
cmp word [ebp - 0x828], 0
je 0x407e51
mov eax, 1
jmp 0x407e53
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
push dword [edi + 0x1c8]
call esi
push 0
push dword [edi + 0x218]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00420b40
mov esp, ebp
pop ebp
ret

Function at 0x407ff0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x824]
push 0x400
push eax
push dword [edi + 0x1b8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x3b4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x824], 0
je 0x408048
cmp word [ebp - 0x24], 0
je 0x408048
mov eax, 1
jmp 0x40804a
xor eax, eax
push eax
push dword [edi + 0x1c8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00420b40
mov esp, ebp
pop ebp
ret
Function at 0x408420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49828d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4cff04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [edi], vtable.CMainWnd.0
call fcn.0040ce60
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x658]
push 1
push esi
mov byte [ebp - 4], 1
call fcn.00408240
push 1
push esi
lea ecx, [edi + 0xdd0]
mov byte [ebp - 4], 2
call fcn.004084f0
push 1
push esi
lea ecx, [edi + 0x12a8]
mov byte [ebp - 4], 3
call fcn.00408360
push 1
push esi
lea ecx, [edi + 0x1888]
mov byte [ebp - 4], 4
call fcn.0040d3b0
xor eax, eax
mov dword [edi + 0x654], esi
mov dword [edi + 0x30], 0
mov word [edi + 0x34], ax
mov dword [edi + 0x64c], eax
mov dword [edi + 0x650], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x408a90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x408b0f
push esi
push str.ChangeWindowMessageFilter
push str.user32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x408b0e
push 1
push 0x466
call esi
push 1
push 0x467
call esi
push 1
push 0x468
call esi
push 1
push 0x469
call esi
push 1
push 0x46a
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420b40
mov esp, ebp
pop ebp
ret
Function at 0x409180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov edi, ecx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x4db4e8
push 0x49ebb0
push 0x80
call fcn.0040f6d0
mov ebx, eax
test ebx, ebx
jne 0x4091c7
pop edi
pop ebx
pop ebp
ret 4
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x49cc04
mov dword [edi + 0x650], 0
call fcn.00403b40
add esp, 4
test eax, eax
jne 0x4091fd
mov ecx, edi
call fcn.00409310
test eax, eax
je 0x409207
mov dword [edi + 0x650], 1
mov eax, dword [0x4db5cc]
test eax, eax
je 0x409220
xor ecx, ecx
cmp dword [edi + 0x650], ecx
cmove eax, ecx
mov dword [0x4db5cc], eax
push esi
push 0x4db5b0
push ebx
push dword [ebp + 8]
lea ecx, [edi + 0xc]
call fcn.0040cfc0
lea ecx, [edi + 0xc]
call fcn.0040d0f0
push 0x103
xor eax, eax
lea esi, [edi + 0x444]
push esi
push eax
mov word [0x4db80c], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
call fcn.0043e27a
add esp, 8
test eax, eax
je 0x409269
xor ecx, ecx
mov word [eax], cx
push esi
lea eax, [edi + 0x34]
push str._sukmanual.htm
push eax
call fcn.00406c90
push esi
lea eax, [edi + 0x23c]
push str._skeymap.txt
push eax
call fcn.00406c90
add esp, 0x18
mov ecx, 0x4de060
call fcn.0040e470
push 0
mov ecx, 0x4de060
call fcn.0040e260
pop esi
pop edi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x409550
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
lea eax, [ecx + 0x34]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4095d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movups xmmword [ebp - 0x138], xmm0
movups xmmword [ebp - 0x128], xmm0
call fcn.00418280
mov ecx, 0x4db828
call fcn.004092b0
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
cmp eax, 4
ja 0x409643
cmp dword [ebp - 0x108], 2
jne 0x409637
cmp eax, 4
je 0x409643
mov dword [ebp - 0x124], 0
jmp 0x40964d
mov dword [ebp - 0x124], 1
push 0x82
push dword [0x4db4d8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x134], esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x11c], eax
call esi
push 0x81
push dword [0x4db4d8]
mov dword [ebp - 0x128], eax
call esi
mov dword [ebp - 0x12c], eax
mov eax, dword [0x4db5bc]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x130], 0x401
call fcn.00419740
push dword [0x4db5b4]
call fcn.00417f30
push dword [0x4db5c0]
call fcn.00419580
push dword [0x4db5b8]
call fcn.00419600
push 0x4db5b0
call fcn.00408a20
add esp, 0x14
mov ecx, 0x4db828
call fcn.00409570
push 0x4db4e0
push 0
push 0
push 0x418160
push 0
push 0
call fcn.0045c737
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [0x4db4dc], eax
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00420b40
mov esp, ebp
pop ebp
ret
Function at 0x40a510
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x40a57b
push 0x14
call fcn.00420b7b
add esp, 4
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x40a5b0
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.00409c30
mov dword [esi + 4], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420b40
mov esp, ebp
pop ebp
ret 8
push 0x70
call fcn.00420b7b
add esp, 4
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x40a5b0
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.00409bc0
mov dword [esi + 4], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420b40
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [esi + 4], eax
xor ecx, ebp
pop esi
call fcn.00420b40
mov esp, ebp
pop ebp
ret 8

Function at 0x40b1e0
Capabilities:
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4cff04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str.APPDATA
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
and eax, 0x7ff8ffa9
add eax, 0x80070057
js 0x40b281
push str.MicrosoftWindowsStart_MenuProgramsUnikeyNT.lnk
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0045c844
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x80070057
jl 0x40b281
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x40b27c
push edi
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040ac40
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420b40
mov esp, ebp
pop ebp
ret 4
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00420b40
mov esp, ebp
pop ebp
ret 4
Function at 0x40bb60
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x40bb78
mov dword [ebp + 8], 0
pop ebp
jmp fcn.0040cc40
cmp eax, 0xd
jne 0x40bb8a
mov dword [ebp + 8], 1
pop ebp
jmp fcn.0040cc40
mov eax, 1
pop ebp
ret
Function at 0x40cc40
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x4ddc18]
xor ebx, ebx
push edi
xor edi, edi
test esi, esi
je 0x40cd25
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40cd25
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 4], ebx
push ecx
push ebx
push eax
call fcn.004204a0
add esp, 0x14
cmp eax, 6
jne 0x40ccd5
push dword [ebp - 4]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40cd0a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40cd0a
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.004204a0
add esp, 0x14
test eax, eax
jne 0x40cd0a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push edi
call esi
cmp dword [ebp + 8], 0
mov ecx, 0xd
mov eax, 1
push edi
cmovne eax, ecx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
test ebx, ebx
je 0x40cd1a
push edi
call esi
test edi, edi
je 0x40cd25
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40cd30
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
mov edi, ecx
push 0
push 0x147
push dword [edi + 0x1b4]
call esi
mov ecx, dword [edi + 0x4b8]
push 0
push 0
push 0x147
mov dword [ecx + 0x20], eax
push dword [edi + 0x1b8]
call esi
mov ecx, dword [edi + 0x4b8]
push 0
push 0
push 0xf0
mov dword [ecx + 0x24], eax
push dword [edi + 0x1c4]
call esi
mov ecx, dword [edi + 0x4b8]
dec eax
neg eax
push 0
sbb eax, eax
push 0
inc eax
push 0xf0
mov dword [ecx + 0x28], eax
push dword [edi + 0x1c8]
call esi
mov ecx, dword [edi + 0x4b8]
push 0
push 0
push 0xf0
mov dword [ecx + 0x268], eax
push dword [edi + 0x1cc]
call esi
mov ecx, dword [edi + 0x4b8]
push 0
push 0
push 0xf0
mov dword [ecx + 0x26c], eax
push dword [edi + 0x1d0]
call esi
mov ecx, dword [edi + 0x4b8]
push 0
push 0
push 0xf0
mov dword [ecx + 0x270], eax
push dword [edi + 0x1d4]
call esi
mov ecx, dword [edi + 0x4b8]
push 0
push 0
push 0xf0
mov dword [ecx + 0x264], eax
push dword [edi + 0x1d8]
call esi
mov ecx, dword [edi + 0x4b8]
mov dword [ecx + 0x274], eax
mov ecx, dword [edi + 0x4b8]
pop edi
pop esi
jmp fcn.0040f480
Function at 0x40d917
Capabilities:
Create process on windows

Disassembly:
cmp byte [0x4de06d], 0
push esi
mov esi, ecx
je 0x40d922
pop esi
jmp fcn.0040d5b0
mov ecx, 0x4de060
call fcn.0040def0
test al, al
je 0x40d93f
mov byte [esi + 0x1bc], 1
mov ecx, esi
pop esi
jmp fcn.0040d980
mov eax, dword [esi + 4]
push 0x10
push 0x49cf30
push str.Failed_to_start_downloading_update
mov eax, dword [eax + 4]
push dword [eax + esi + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
pop esi
jmp fcn.0040d980