joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b9b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44b9e3
push esi
call fcn.00459d70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44b9dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44ba69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44ba52
mov eax, dword [esi + 8]
test eax, eax
je 0x44ba07
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44ba4e
cmp eax, 2
je 0x44ba52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44b9fa
cmp eax, 3
je 0x44ba2d
cmp eax, 1
jne 0x44b9fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44b9fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44b9fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044ba90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44ba78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044ba90
add esp, 4
pop esi
ret

Function at 0x44c310
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44c331
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44c331
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44c331
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x466a60
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x4bc
push ebx
mov ebx, dword [esp + 0x4c4]
push esi
push edi
test ebx, ebx
jne 0x466a80
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4bc
ret
push 0x5c
push ebx
call fcn.00466a30
mov esi, eax
add esp, 8
xor eax, eax
test esi, esi
je 0x466b29
mov ecx, 0xac
lea edi, [esp + 0x218]
mov dword [esp + 0x214], eax
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x218]
push 0x2b4
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [esp + 0x428]
push 0x4c7bac
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x466aed
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x4bc
ret
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xc]
sub esi, ebx
rep stosd dword es:[edi], eax
mov ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x466b13
mov esi, ebx
lea edi, [esp + 0xc]
shr ecx, 1
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
lea edx, [esp + 0xc]
push edx
call fcn.00466a60
add esp, 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0x4bc
ret
Function at 0x46a9e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e756c]
xor edx, edx
cmp eax, edx
jne 0x46aa06
xor eax, eax
mov byte [eax + 0x4e746c], al
inc eax
cmp eax, 0x100
jl 0x46a9ee
mov dword [0x4e756c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e746c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46aa97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46aa6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46aa38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46aaa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46aaf3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46aada
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e38e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00471d90
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4ab3b4
call fcn.0048fa1a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x471503
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048fa1a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4714fc
push 0
mov ecx, eax
call fcn.00468610
mov dword [esi + 0xc], eax
jmp 0x471505
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x471505
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x492080
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4920b8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00490134
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049010c
jmp 0x4920c4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49376e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4937b0
call fcn.00499227
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4937b0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4937a7
xor eax, eax
jmp 0x4937b8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004937be
pop edi
pop esi
pop ebx
ret 4

Function at 0x499757
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x499785
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4997a3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004996bd
jmp 0x4997a3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4997a3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004996bd
test edi, edi
mov eax, edi
jne 0x49978d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x572c80
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0x4034e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
push edi
jne 0x4034ff
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
xor ebx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
jl 0x403540
jg 0x40353b
cmp eax, 0x2000000
jbe 0x403540
mov eax, 0x2000000
push eax
call fcn.00403db0
mov edi, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x20]
mov ecx, edi
add esp, 4
or ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esi + 8], 0xffffffff
je 0x403604
test eax, eax
jl 0x40359f
jg 0x403576
cmp edi, 0x2000000
jbe 0x40359f
mov eax, dword [esi + 0xc]
push 0
lea edx, [esp + 0x14]
push edx
mov ebx, 0x2000000
push ebx
push ebp
push eax
call dword [0x410040]
mov edi, dword [esp + 0x18]
add edi, 0xfe000000
adc dword [esp + 0x1c], 0xffffffff
jmp 0x4035ba
mov edx, dword [esi + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
push edx
mov ebx, edi
call dword [0x410040]
xor edi, edi
mov dword [esp + 0x1c], edi
test ebx, ebx
mov dword [esp + 0x18], edi
mov edx, ebp
mov ecx, ebx
je 0x4035f1
mov eax, dword [esi + 8]
movzx ebp, byte [edx]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x411f38]
sub ecx, 1
add edx, 1
test ecx, ecx
mov dword [esi + 8], eax
jne 0x4035c6
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 8]
mov ecx, edi
or ecx, eax
not ebx
jne 0x403568
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
push eax
push ecx
mov ecx, esi
call edx
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402430
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea ecx, [ebp - 4]
call fcn.0040226c
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0040922e
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne bl
add ecx, 0xfffffff0
call fcn.00401df2
mov al, bl
pop ebx
leave
ret 4
Function at 0x4030d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0040927e
test al, al
pop ecx
je 0x4031ce
push dword [ebp + 0xc]
call fcn.0040927e
test al, al
pop ecx
je 0x4031ce
cmp dword [edi + 0x18], 0x10
jb 0x403113
mov eax, dword [edi + 4]
jmp 0x403116
lea eax, [edi + 4]
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4032d5
mov dword [ebp + 8], 1
movzx esi, word [ebp + 8]
push 3
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x403168
mov eax, dword [eax + 4]
jmp 0x40316b
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4032d5
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0xc]
push ebx
push esi
push 3
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
test eax, eax
je 0x4032d5
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
test eax, eax
je 0x4032d5
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jle 0x403134
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4032d5
mov esi, 0x42c738
push esi
push dword [ebp + 0xc]
mov ebx, str.FileExists_
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.00402a59
add esp, 0xc
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00402e85
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x403204
mov eax, dword [eax + 4]
jmp 0x403207
add eax, 4
push esi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00402a59
add esp, 0xc
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00402e85
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x403231
mov eax, dword [eax + 4]
jmp 0x403234
add eax, 4
push str.UpdateExeIcons
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0040299a
cmp dword [eax + 0x18], 0x10
jb 0x40324f
mov eax, dword [eax + 4]
jmp 0x403252
add eax, 4
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call fcn.0040927e
pop ecx
movzx eax, al
push eax
mov edi, 0x42c718
push edi
push dword [ebp - 8]
mov esi, 0x42c6e4
push esi
push dword [ebp + 8]
call fcn.0040927e
pop ecx
movzx eax, al
push eax
push edi
push dword [ebp - 4]
push esi
push dword [ebp - 0xc]
xor esi, esi
push 0x42c468
inc esi
push esi
push dword [0x4388d4]
call fcn.004139e0
add esp, 0x34
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00402285
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.00402285
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00402285
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.00402285
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.00402285
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40374f
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa8
mov eax, dword [0x4377f4]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push edi
xor esi, esi
push eax
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x2c], esi
call fcn.004028ce
mov edi, 0x42c744
push edi
lea ecx, [ebp + 4]
call fcn.0040299a
mov ebx, 0x42c6fc
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040299a
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00414850
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x18]
call fcn.00402285
push esi
push 1
lea ecx, [ebp + 4]
call fcn.00402285
push edi
lea ecx, [ebp + 4]
call fcn.0040299a
push esi
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00414700
add esp, 0x10
push esi
push 1
lea ecx, [ebp + 4]
call fcn.00402285
push 0x42c5d4
lea ecx, [ebp + 0x54]
call fcn.0040299a
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x34], esi
call fcn.00401efc
dec eax
je 0x4038b1
mov dword [ebp + 0x30], esi
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x30]
lea edi, [ecx + eax]
push ebx
lea ecx, [ebp - 0x34]
call fcn.0040299a
push eax
push edi
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp + 4]
push eax
call fcn.00402a92
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x54]
call fcn.004026ab
push esi
push 1
lea ecx, [ebp + 4]
call fcn.00402285
push esi
push 1
lea ecx, [ebp - 0x18]
call fcn.00402285
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.00402285
cmp dword [ebp + 0x6c], 0x10
mov eax, dword [ebp + 0x58]
jae 0x403879
lea eax, [ebp + 0x58]
push eax
call fcn.00407cbf
test al, al
pop ecx
jne 0x403898
cmp dword [ebp + 0x6c], 0x10
mov eax, dword [ebp + 0x58]
jae 0x403890
lea eax, [ebp + 0x58]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
inc dword [ebp + 0x34]
add dword [ebp + 0x30], 0x1c
lea ecx, [ebp + 0x20]
call fcn.00401efc
dec eax
cmp dword [ebp + 0x34], eax
jb 0x40380f
push esi
push 1
lea ecx, [ebp + 0x54]
call fcn.00402285
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.00402285
lea ecx, [ebp + 0x20]
call fcn.00403335
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f6
add ebp, 0x74
leave
ret 4
Function at 0x407cbf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x104
jle 0x407cd3
xor al, al
ret
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x407cea
test al, 0x10
je 0x407cea
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x407ced
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
push 0x9c
xor ebx, ebx
push ebx
push edi
call fcn.0041c310
add esp, 0xc
push edi
mov dword [edi], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x407d1b
xor al, al
jmp 0x407d54
cmp dword [edi + 4], 6
jb 0x407d43
push str.GetProductInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp + 8]
push ecx
push ebx
push ebx
push ebx
push 6
call eax
push ebx
push 1
push 3
push edi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
setne al
pop edi
pop ebx
pop ebp
ret

Function at 0x4084f1
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4377f4]
push ebx
mov ebx, dword [ebp + 0x198]
xor eax, ebp
push esi
mov esi, dword [ebp + 0x19c]
mov dword [ebp + 0x18c], eax
mov eax, dword [esi + 0x18]
cmp eax, 0x10
push edi
lea edi, [esi + 4]
jb 0x40852a
mov ecx, dword [edi]
jmp 0x40852c
mov ecx, edi
cmp eax, 0x10
jb 0x408535
mov eax, dword [edi]
jmp 0x408537
mov eax, edi
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne byte [ebp - 0x75]
cmp byte [ebp - 0x75], 0
jne 0x4085f5
cmp dword [ebx + 0x18], 0x10
jb 0x40855c
mov eax, dword [ebx + 4]
jmp 0x40855f
lea eax, [ebx + 4]
push 0x42cda4
push eax
call fcn.0041e1c6
cmp dword [esi + 0x18], 0x10
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
jb 0x408577
mov edi, dword [edi]
push 0x42cda0
push edi
call fcn.0041e1c6
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
je 0x4085d7
cmp dword [ebp - 0x7c], 0
je 0x4085e6
mov esi, 0x200
jmp 0x4085bb
xor edi, edi
push dword [ebp - 0x80]
mov eax, ebx
sub eax, edi
push eax
lea eax, [ebp + edi - 0x74]
push 1
push eax
call fcn.0041e11e
add edi, eax
add esp, 0x10
cmp edi, ebx
jge 0x4085bb
test eax, eax
jge 0x40859a
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push esi
push 1
push eax
call fcn.0041dfcb
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x408598
mov byte [ebp - 0x75], 1
cmp dword [ebp - 0x7c], 0
je 0x4085e6
push dword [ebp - 0x7c]
call fcn.0041de91
pop ecx
cmp dword [ebp - 0x80], 0
je 0x4085f5
push dword [ebp - 0x80]
call fcn.0041de91
pop ecx
mov ecx, dword [ebp + 0x18c]
mov al, byte [ebp - 0x75]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f6
add ebp, 0x190
leave
ret
Function at 0x40927e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea ecx, [ebp - 4]
call fcn.0040226c
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0040922e
mov esi, dword [ebp - 4]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4092ad
mov bl, 1
jmp 0x4092af
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.00401df2
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x40991a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x4377f4]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
mov esi, 0x1f4
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.0041c310
add esp, 0xc
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x1f8]
push eax
mov ecx, edi
call fcn.0040293b
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041c2f6
leave
ret

Function at 0x409973
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x4377f4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1f0]
xor eax, ebp
push 0x42c5d4
mov ecx, edi
mov dword [ebp + 0x1e0], eax
call fcn.0040291e
push 0x104
xor ebx, ebx
lea eax, [ebp + 0xdc]
push ebx
push eax
call fcn.0041c310
mov esi, dword [ebp + 0x1ec]
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x409a3f
push ebx
push esi
lea eax, [ebp + 0xdc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp eax, ebx
jl 0x409a3f
lea eax, [ebp + 0xdc]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, ebx
jbe 0x409ae1
lea eax, [ebp + eax + 0xdb]
cmp byte [eax], 0x5c
jne 0x409ae1
mov byte [eax], bl
jmp 0x409ae1
cmp esi, 0x26
jne 0x409a57
lea eax, [ebp + 0xdc]
push str.C:Program_Files
push eax
call fcn.0041dc60
pop ecx
pop ecx
cmp esi, 0x1c
jne 0x409ae1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x44], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push str.AppDataLocal
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040299a
push eax
lea eax, [ebp - 0x64]
push str.C:Users_
push eax
call fcn.00402a59
add esp, 0xc
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00402e85
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00402285
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00402285
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x409ac7
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0xdc]
push eax
call fcn.0041dc60
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00402285
lea eax, [ebp + 0xdc]
push eax
mov ecx, edi
call fcn.0040291e
mov ecx, dword [ebp + 0x1e0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f6
add ebp, 0x1e4
leave
ret
Function at 0x40aa22
Capabilities:
Hide graphical window

Disassembly:
push esi
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
and eax, 5
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, word [esp + 0xc]
shl eax, 0x10
push eax
push 0
push 0x401
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
ret 8

Function at 0x40aace
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push esi
push 4
push 0x42c5d4
mov esi, ecx
push str.Do_you_want_to_continue_this_operation_
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x40ab01
movzx eax, word [esp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push 0
call fcn.0041dc1a
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x40ab47
Capabilities:
Terminate process

Disassembly:
push ecx
mov eax, dword [0x4377f4]
xor eax, esp
cmp dword [esp + 0x20], 0x10
mov dword [esp], eax
mov eax, dword [esp + 0xc]
jae 0x40ab61
lea eax, [esp + 0xc]
push 0
push 0x42c5d4
push eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0041dc1a
int3
Function at 0x40d93b
Capabilities:
Create process on windows
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4377f4]
push esi
push edi
xor eax, ebp
mov edi, ecx
mov esi, 0x42c5d4
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
call fcn.0040299a
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, edi
call fcn.0040cf56
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
lea ecx, [ebp - 0x20]
call fcn.00402161
test eax, eax
je 0x40d9ac
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x40d98e
lea eax, [ebp - 0x1c]
push 1
push 0
push eax
push str.iexplore
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call fcn.0041dc1a
sub esp, 0x1c
mov ecx, esp
push str.Uninstall_finished_successfully
call fcn.0040299a
mov ecx, edi
call fcn.0040ab47
int3