joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4113e7
Capabilities:
Check os version

Disassembly:
mov eax, 0x4303b4
call fcn.00423e18
sub esp, 0x3e0
push ebx
push esi
lea eax, [ebp - 0xe0]
push edi
mov dword [ebp - 0x10], ecx
push eax
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xdc], 5
jb 0x411539
cmp dword [ebp - 0xd8], 2
jb 0x411539
push 0x4388cc
push dword [ebp + 8]
call fcn.004246d0
pop ecx
pop ecx
test eax, eax
push 1
je 0x411527
lea eax, [ebp + 0xb]
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.004014ff
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 4], ebx
je 0x411519
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x24], al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x4c]
push eax
push 0x2c
mov byte [ebp - 4], 1
call fcn.00415f9f
mov dword [ebp - 0x14], ebx
xor esi, esi
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x41150e
mov eax, dword [ebp - 0x1c]
push 0x28
sub eax, ecx
pop edi
cdq
idiv edi
cmp dword [ebp - 0x14], eax
jae 0x41150e
add ecx, esi
call fcn.0040172d
push eax
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1e4]
push str.dotnetfxsp1.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2e8]
push 1
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.004140cf
test eax, eax
je 0x4114eb
inc dword [ebp - 0x14]
add esi, edi
jmp 0x41148a
mov ecx, dword [ebp - 0x10]
call fcn.00415d07
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004161aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040195c
xor eax, eax
jmp 0x411528
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004161aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040195c
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push 0x4388cc
push dword [ebp + 8]
call fcn.004246d0
pop ecx
test eax, eax
pop ecx
jne 0x411525
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x3ec]
push 1
push eax
push str.dotnetfxsp1.exe
call fcn.004140cf
test eax, eax
jne 0x411525
mov ecx, dword [ebp - 0x10]
call fcn.00415d07
jmp 0x41150a
Function at 0x411a50
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
mov eax, 0x4303c8
call fcn.00423e18
sub esp, 0x118
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
push 1
pop esi
cmp ecx, 0x2000
mov dword [eax], esi
je 0x411acb
cmp ecx, 0xbc2
je 0x411acb
xor ebx, ebx
cmp ecx, 0x800704c7
je 0x411a92
cmp ecx, 0x642
jne 0x411a9e
cmp dword [ebp + 0x18], ebx
je 0x411a9e
mov dword [eax], ebx
jmp 0x411bc5
cmp ecx, ebx
je 0x411bc5
cmp ecx, 0x1008
je 0x411bc5
mov ecx, dword [ebp - 0x10]
mov dword [0x43fe44], 0x66d
call fcn.00415d07
xor eax, eax
jmp 0x411bc7
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x1f]
mov byte [ebp - 0x20], bl
mov ecx, dword [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
push 0x10
push eax
push 0x438ad0
push str.DotNetDelayReboot
push dword [0x43266c]
call fcn.00401046
mov ecx, eax
add ecx, 0x4024
call fcn.00402386
cmp byte [ebp - 0x20], 0x59
mov byte [ebp + 0x17], bl
je 0x411b16
cmp byte [ebp - 0x20], 0x79
jne 0x411b1a
mov byte [ebp + 0x17], 1
call fcn.0041d9cd
test eax, eax
jne 0x411b3c
cmp dword [ebp + 8], 0xbc2
jne 0x411b31
cmp byte [ebp + 0x17], bl
je 0x411b3c
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x411b46
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], ebx
mov dword [eax + 0x38], esi
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], ebx
call fcn.0040f7b6
test eax, eax
jne 0x411bb6
push 0x40
lea edi, [ebp - 0x123]
pop ecx
mov byte [ebp - 0x124], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push str.InstallerLocation
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp + 0x18], ebx
pop edi
je 0x411bc5
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x412420
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov eax, 0x430417
call fcn.00423e18
sub esp, 0x5c0
and byte [ebp - 0x5cc], 0
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x5cb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5cc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0xf]
push 1
push eax
lea eax, [ebp - 0x5cc]
push eax
lea ecx, [ebp - 0x64]
call fcn.004014ff
and dword [ebp - 4], 0
mov eax, 0x438b68
mov ecx, eax
mov dword [ebp - 0x3c], 0x43247c
test ecx, ecx
mov dword [ebp - 0x1c], 0x432474
jne 0x412494
mov eax, 0x43ce64
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040b88c
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.00415f1a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040195c
or edi, 0xffffffff
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x1cc]
lea ecx, [ebp - 0x64]
push eax
mov byte [ebp - 4], 2
call fcn.0040172d
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, edi
je 0x41258b
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x41256e
lea eax, [ebp - 0xd]
push 1
push eax
lea eax, [ebp - 0x5cc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004014ff
lea eax, [ebp - 0xe]
push 1
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.004014ff
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 4
call fcn.00415f1a
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.0040195c
lea ecx, [ebp - 0x3c]
call fcn.0040172d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0040195c
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4124ec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.0040195c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x413d1c
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and byte [ebp - 0x108], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
mov ebx, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
and dword [ebx], 0
and byte [ebp + 0xf], 0
stosw word es:[edi], ax
mov ecx, esi
stosb byte es:[edi], al
call fcn.00401046
add eax, 0xac
push eax
push str.2.0.2600.0
call fcn.0041d6e4
pop ecx
test eax, eax
pop ecx
jge 0x413d87
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push str.__s___q
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x438e38
jmp 0x413dd6
mov ecx, esi
mov byte [ebp + 0xf], 1
call fcn.00401046
mov ecx, eax
call fcn.0041a725
push dword [ebp + 8]
test eax, eax
je 0x413dbc
lea eax, [ebp - 0x108]
push str.__s___quiet__norestart
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, str._quiet__norestart
jmp 0x413dd6
lea eax, [ebp - 0x108]
push str.__s___c:_msiinst__delayrebootq_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, str._c:_msiinst__delayrebootq_
mov ecx, esi
call fcn.00401046
mov ecx, eax
call fcn.0041a725
test eax, eax
je 0x413dfd
mov ecx, esi
call fcn.00401046
push eax
push 1
push edi
push dword [ebp + 8]
call fcn.0041df0d
jmp 0x413e0b
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0041d7ee
mov esi, eax
test esi, esi
je 0x413ec9
cmp esi, 0xbc2
je 0x413e38
push 0
push esi
mov dword [0x43fe44], 0x484
call fcn.0041cb67
pop ecx
mov eax, esi
pop ecx
jmp 0x413ecb
cmp byte [ebp + 0xf], 0
je 0x413ec3
and dword [ebp + 8], 0
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 8]
mov dword [ebx], 2
call fcn.0040f7b6
test eax, eax
jne 0x413eb2
and byte [ebp - 0x20c], al
push 0x40
pop ecx
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0xc]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.InstallerLocation
mov dword [ebp + 0xc], 0x104
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp + 8], 0
je 0x413ec9
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413ec9
mov dword [ebx], 1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4151b7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43063e
call fcn.00423e18
sub esp, 0x18c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x12]
mov ebx, 0x43247c
mov esi, 0x432474
push edi
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x4c], esi
call fcn.00401581
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.004153be
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040172d
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x415240
lea ecx, [ebp - 0x10]
call fcn.0040a78d
mov ecx, dword [ebp + 0xc]
cmp eax, edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
sete byte [ebp + 0xf]
call fcn.0040195c
cmp byte [ebp + 0xf], 0
je 0x415376
and byte [ebp - 0x198], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x197]
and dword [ebp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push str.Version
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4152c0
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.00401581
mov dword [ebp - 0x18], 1
jmp 0x415392
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x44]
call fcn.004014ff
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.0040b7af
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040195c
mov eax, 0x438f40
mov dword [ebp - 0x44], ebx
mov ecx, eax
mov dword [ebp - 0x24], esi
test ecx, ecx
mov edi, 0x43ce64
jne 0x415309
mov eax, edi
lea ecx, [ebp + 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b88c
mov eax, 0x438f3c
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [ebp - 0x94], ebx
test ecx, ecx
mov dword [ebp - 0x74], esi
jne 0x415332
mov eax, edi
lea ecx, [ebp - 0x11]
push 0
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b88c
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 6
call fcn.00416070
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0040195c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040195c
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.0040b7f9
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040195c
cmp dword [ebp - 0x10], 0
je 0x4153ad
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41784e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
and dword [ebp - 0x14], 0
push esi
push edi
mov edi, ecx
call fcn.0040104a
push 1
lea eax, [ebp - 0xd0]
pop esi
mov dword [ebp - 0xd0], 0x94
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 4], eax
sub eax, 0
mov dword [ebp - 8], ecx
je 0x4178fe
dec eax
je 0x4178f3
dec eax
jne 0x417905
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x3c]
push 4
dec eax
pop ecx
je 0x4178e3
dec eax
je 0x4178da
dec eax
jne 0x4178e6
mov dword [ebp - 0x18], 5
jmp 0x4178e6
mov dword [ebp - 0x18], 3
jmp 0x4178e6
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0xcc], ecx
jb 0x417905
mov dword [ebp - 0x14], esi
jmp 0x417905
movzx eax, cx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
jmp 0x417905
mov dword [ebp - 0x18], 7
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00401046
mov ecx, eax
call fcn.00418c2b
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x417cda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
dec edx
test eax, eax
je 0x417d14
mov eax, dword [ecx + 0x70]
push esi
lea esi, [edx + 1]
mov edx, dword [ebp + 8]
push edi
mov ecx, dword [ebp + 0x10]
movzx edi, byte [edx]
and ecx, 0xff
xor ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 8
mov ecx, dword [eax + ecx*4]
inc edx
xor edi, ecx
dec esi
mov dword [ebp + 0x10], edi
jne 0x417cf2
pop edi
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x419eb5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419f6b
lea eax, [ebp - 0x118]
push 0xff
push eax
push dword [ebp + 0xc]
call fcn.0041ccc4
add esp, 0xc
cmp dword [ebp + 0xc], 0x452
jne 0x419f5b
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x419f17
lea eax, [ebp - 0x118]
push 0x438278
push eax
call fcn.00425740
pop ecx
test eax, eax
pop ecx
jne 0x419f33
mov eax, 0x486
push eax
mov dword [0x43fe44], eax
call fcn.0041cc4d
pop ecx
push dword [0x43fe44]
call fcn.00425642
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.0041deaa
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
leave
ret 8
Function at 0x41a360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, str.SetupBitmapCls
push edi
lea eax, [ebp - 0x14]
push esi
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 4
xor ebx, ebx
pop eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x44d8]
push 0x7f00
push ebx
mov dword [ebp - 0x50], 0x41a4b8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [edi + 0x44d8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x41a3e3
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x41a485
push 0xd0
call fcn.00423e37
mov esi, eax
pop ecx
cmp esi, ebx
je 0x41a485
mov eax, dword [ebp + 8]
push 1
pop ecx
mov dword [esi + 4], ecx
mov edx, dword [eax]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [esi + 8], edx
mov eax, dword [eax]
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x2c]
push eax
push 0x18
push dword [esi]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebx
sub eax, dword [ebp - 0x28]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 8], eax
call ebx
sub eax, dword [ebp - 0x24]
push esi
push dword [edi + 0x44d8]
xor ecx, ecx
cdq
push ecx
push ecx
push dword [ebp - 0x24]
sub eax, edx
sar eax, 1
push dword [ebp - 0x28]
mov dword [edi + 0x4098], ecx
push eax
push dword [ebp + 8]
push 0x86000000
push str.SetupBitmapWin
push str.SetupBitmapCls
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
test ebx, ebx
jne 0x41a489
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41a4b1
push esi
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push ebx
mov dword [edi + 0x4098], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x4098]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41a85b
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x430ca2
call fcn.00423e18
sub esp, 0x4a4
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x4af]
mov byte [ebp - 0x4b0], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4b0]
lea ecx, [esi + 0x4024]
push eax
push 0x43ce60
push str.ClickOncePackage
push str.Startup
call fcn.00402386
cmp byte [ebp - 0x4b0], bl
jne 0x41a8bf
xor eax, eax
jmp 0x41a9bf
push 1
lea eax, [ebp - 0xe]
pop edi
mov ecx, esi
push edi
push eax
call fcn.00418cd1
push eax
lea ecx, [ebp - 0x38]
call fcn.004014ff
lea eax, [ebp - 0xd]
push edi
push eax
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.004014ff
push ebx
lea eax, [ebp - 0x88]
push ebx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040afc7
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.0040aee5
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040b7af
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.0040195c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.0040195c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0040195c
lea ecx, [ebp - 0x38]
call fcn.0040172d
push eax
call fcn.0041d5d6
test eax, eax
jne 0x41a990
lea eax, [ebp - 0xd]
push edi
push eax
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x60]
call fcn.004014ff
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 4
call fcn.0040b7af
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0040195c
push edi
push ebx
push ebx
lea ecx, [ebp - 0x38]
call fcn.0040172d
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
lea ecx, [ebp - 0x38]
sbb esi, esi
or dword [ebp - 4], 0xffffffff
neg esi
call fcn.0040195c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41c0e3
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x430dca
call fcn.00423e18
push ecx
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 0x120]
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov byte [esi + 0x110], 1
mov dword [esi + 0x118], edi
mov dword [ebp - 0x14], esi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
push dword [ebp + 8]
lea eax, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], 0x432ecc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.0041c69c
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [esi + 0x114], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x108], eax
jne 0x41c177
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
jmp 0x41c1fa
push 0x2e
mov dword [esi + 0x10c], 1
call fcn.00423e37
push 0x2e
push edi
push eax
mov dword [esi + 0x11c], eax
call fcn.00424670
add esp, 0x10
mov ecx, esi
push edi
push edi
push dword [esi + 0x114]
push dword [esi + 0x108]
call fcn.0041c92a
test eax, eax
je 0x41c1fa
lea eax, [ebp - 0x10]
push edi
push eax
push 0x2e
push dword [esi + 0x11c]
push dword [esi + 0x108]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c1fa
cmp dword [ebp - 0x10], edi
je 0x41c1fa
mov ecx, esi
call fcn.0041c296
test eax, eax
je 0x41c1fa
mov eax, dword [esi + 0x11c]
mov ax, word [eax + 0xe]
cmp ax, di
je 0x41c1fa
movzx eax, ax
push eax
mov ecx, esi
call fcn.0041c618
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41c618
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
jle 0x41c695
mov esi, 0x138
push esi
call fcn.00423e37
mov ebx, eax
push esi
push 0
push ebx
call fcn.00424670
add esp, 0x10
lea eax, [ebp - 8]
push 0
push eax
push esi
push ebx
push dword [edi + 0x108]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c695
cmp dword [ebp - 8], 0
je 0x41c695
push ebx
lea ecx, [edi + 0x120]
call fcn.0041c96b
push 1
push 0
push dword [ebx + 0x10c]
mov ecx, edi
push dword [edi + 0x108]
call fcn.0041c92a
test eax, eax
je 0x41c695
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jl 0x41c631
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41c69c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push 0x80
push 3
push edi
push 3
lea eax, [esi + 4]
push SysReAllocStringLen
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41c6e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x118], eax
jmp 0x41c730
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x78]
push 0x40
push eax
push ebx
call esi
mov ecx, dword [ebp - 0xc]
push edi
push edi
push dword [ebp - 0x3c]
push ebx
call fcn.0041c92a
test eax, eax
je 0x41c730
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x13c]
push 0x18
push eax
push ebx
call esi
movzx eax, word [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
push 1
push edi
push eax
push ebx
call fcn.0041c92a
test eax, eax
jne 0x41c734
xor eax, eax
jmp 0x41c786
cmp word [ebp - 0x136], di
mov dword [ebp - 8], edi
jbe 0x41c770
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x38]
push 0x28
push eax
push ebx
call esi
cmp word [ebp - 8], di
mov eax, dword [ebp - 0x24]
je 0x41c75a
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x28]
inc dword [ebp - 8]
mov dword [ebp - 4], eax
mov ax, word [ebp - 8]
cmp ax, word [ebp - 0x136]
jb 0x41c740
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.0041c78b
add dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret