joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421481
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0x434
mov eax, 0x46585d
call fcn.004422f9
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 4], ebx
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerRunOnceEntries
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x43c]
call fcn.00401410
test eax, eax
jne 0x4215e4
push 0x40e
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
mov esi, ebx
call fcn.004412d0
add esp, 0xc
lea eax, [ebp - 0x440]
push ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0x430], 0x208
push ebx
jmp 0x4215bd
inc esi
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov byte [ebp - 4], 1
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x42c]
call fcn.00401410
test eax, eax
jne 0x42155f
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x42c]
push eax
mov ecx, edi
call fcn.0042a573
test eax, eax
jne 0x4215d3
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x42c]
call fcn.00401410
test eax, eax
jne 0x421596
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x42c]
push eax
mov ecx, edi
call fcn.0042a573
test eax, eax
jne 0x4215d3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x42c]
call fcn.004013e0
push ebx
push ebx
lea eax, [ebp - 0x440]
push eax
push ebx
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x421511
jmp 0x4215e4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x42c]
call fcn.004013e0
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.004013e0
mov eax, ebx
call fcn.004422a8
ret 4
Function at 0x42387a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466103
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3034
call fcn.00443170
mov eax, dword [0x4937f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
or dword [ebp - 0x3028], 0xffffffff
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x3028], edi
cmp edi, 0xffffffff
jne 0x423928
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp byte [ebp + 0x14], bl
je 0x423900
cmp ecx, 0x20
je 0x4238f9
cmp ecx, 0x21
jne 0x423900
xor eax, eax
jmp 0x423aa5
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x423928
mov dword [ebp - 0x3038], eax
push 0x4899c4
lea eax, [ebp - 0x3038]
push eax
call fcn.00442239
push 0x2800
call fcn.00440f4f
pop ecx
mov esi, eax
mov dword [ebp - 0x3040], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x302c], ebx
mov dword [ebp - 0x3024], 0x2800
lea eax, [ebp - 0x3024]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call sub.msi.dll_MsiRecordSetStringA
mov ebx, eax
mov dword [ebp - 0x3030], ebx
test ebx, ebx
je 0x42399e
push 0x1004
push 0
push ebx
lea ecx, [ebp - 0x1018]
call fcn.0041f506
push eax
lea eax, [ebp - 0x201c]
push eax
call fcn.004415a0
add esp, 0xc
push 0x489990
lea eax, [ebp - 0x201c]
jmp 0x423922
mov eax, dword [ebp - 0x3024]
test eax, eax
je 0x423a32
push 0
lea ecx, [ebp - 0x303c]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4239f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x4239f0
mov dword [ebp - 0x3034], ecx
push 0x4899c4
lea eax, [ebp - 0x3034]
jmp 0x423922
mov eax, dword [ebp - 0x3024]
cmp dword [ebp - 0x303c], eax
je 0x423a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x423a2c
mov dword [ebp - 0x3044], ecx
push 0x4899c4
lea eax, [ebp - 0x3044]
jmp 0x423922
mov eax, dword [ebp - 0x3024]
add dword [ebp - 0x302c], eax
test eax, eax
jne 0x423945
mov byte [ebp - 4], al
push esi
call fcn.00441040
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x423a97
cmp edi, 0xffffffff
je 0x423aa3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004412b3
leave
ret
Function at 0x423b6c
Capabilities:
Check os version

Disassembly:
push 0x1fc
mov eax, 0x466218
call fcn.004422f9
mov ebx, ecx
mov dword [ebp - 0x1f8], ebx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1ec]
push eax
mov dword [ebp - 0x1ec], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x1e8], 5
jne 0x423d1c
cmp dword [ebp - 0x1e4], 2
jne 0x423d1c
cmp byte [ebp - 0xd2], 1
je 0x423d1c
push 0x470fc4
push edi
call fcn.00442e79
pop ecx
pop ecx
test eax, eax
jne 0x423bdb
inc eax
jmp 0x423db4
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x1ed]
push eax
push edi
lea ecx, [ebp - 0xa0]
call fcn.0040c568
mov dword [ebp - 4], 6
cmp dword [ebp - 0x8c], 0
je 0x423d06
xor esi, esi
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x204], esi
mov dword [ebp - 0x200], esi
mov byte [ebp - 4], 7
push ebx
lea eax, [ebp - 0x208]
push eax
push esi
push 0x2c
lea ecx, [ebp - 0xa0]
call fcn.00410ece
push esi
lea eax, [ebp - 0x1ed]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47c540
mov dword [ebp - 0x18], 0x474868
call fcn.00402580
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x208]
mov eax, dword [ebp - 0x204]
sub eax, ecx
push 0x30
mov dword [ebp - 0x1f4], ecx
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x1fc], eax
test eax, eax
je 0x423ceb
mov edi, dword [ebp - 0x1f8]
push ebx
lea eax, [ebp - 0x1ed]
push eax
push str.dotnetfxsp1.exe
lea ecx, [ebp - 0xd0]
call fcn.0040c568
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x1f4]
lea eax, [ebp - 0x70]
push eax
call fcn.0041b0e6
add esp, 0xc
mov byte [ebp - 4], 0xb
push esi
push esi
lea ecx, [ebp - 0x40]
push ecx
push eax
mov ecx, edi
call fcn.004259f6
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00401580
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.00401580
add dword [ebp - 0x1f4], 0x30
dec dword [ebp - 0x1fc]
jne 0x423c80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00401580
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x208]
call fcn.00410425
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00401580
mov eax, ebx
jmp 0x423db4
xor esi, esi
push esi
lea eax, [ebp - 0x1ed]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47c540
mov dword [ebp - 0x18], 0x474868
call fcn.00402580
mov dword [ebp - 4], 1
push 0x470fc4
push edi
call fcn.00442e79
pop ecx
pop ecx
test eax, eax
jne 0x423da3
push 1
lea eax, [ebp - 0x1ed]
push eax
push str.dotnetfxsp1.exe
lea ecx, [ebp - 0x70]
call fcn.0040c568
mov byte [ebp - 4], 2
push esi
push 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.004259f6
mov ebx, eax
neg ebx
sbb bl, bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00401580
inc bl
je 0x423da3
mov ecx, dword [ebp - 0x1f8]
call fcn.00421689
jmp 0x423da6
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401580
mov eax, esi
call fcn.004422a8
ret 4
Function at 0x428236
Capabilities:
Set current directory

Disassembly:
push 0x45c
mov eax, 0x4676fd
call fcn.004422f9
mov esi, ecx
mov dword [ebp - 0x458], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
push ecx
lea eax, [ebp - 0x216]
push eax
mov dword [ebx], ecx
mov byte [ebp - 0x451], cl
call fcn.004412d0
add esp, 0xc
lea eax, [ebp - 0x459]
push 1
push eax
push edi
lea ecx, [ebp - 0x450]
call fcn.004025e0
and dword [ebp - 4], 0
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x42829f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x464]
push str.Installing_MSI_engine__s
push eax
mov dword [ebp - 0x464], str.msiaction.cpp
mov dword [ebp - 0x460], 0x833
call fcn.00411370
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.00401580
push 4
lea eax, [ebp - 0x450]
push eax
mov ecx, esi
call fcn.0043184a
mov ecx, eax
call fcn.00411cbe
mov dword [ebp - 4], 2
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x428300
mov eax, dword [eax]
push eax
push str.2.0.2600.0
call fcn.004407b3
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.00401580
test esi, esi
jns 0x42833c
push edi
lea eax, [ebp - 0x218]
push str.__s___q
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, 0x473650
jmp 0x428384
mov ecx, dword [ebp - 0x458]
mov byte [ebp - 0x451], 1
call fcn.0043184a
mov ecx, eax
call fcn.00436a42
test eax, eax
push edi
lea eax, [ebp - 0x218]
je 0x428373
push str.__s___quiet__norestart
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, str._quiet__norestart
jmp 0x428384
push str.__s___c:_msiinst__delayrebootq_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, str._c:_msiinst__delayrebootq_
mov ecx, dword [ebp - 0x458]
add esp, 0xc
call fcn.0043184a
mov ecx, eax
call fcn.00436a42
test eax, eax
je 0x4283b4
mov ecx, dword [ebp - 0x458]
call fcn.0043184a
push eax
push 1
push esi
push edi
call fcn.0044024c
jmp 0x4283c2
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.004400c0
mov esi, eax
test esi, esi
je 0x4284a3
cmp esi, 0xbc2
je 0x4283ef
push 0
push esi
mov dword [0x499584], 0x484
call fcn.00440351
pop ecx
pop ecx
mov eax, esi
jmp 0x4284a5
cmp byte [ebp - 0x451], 0
je 0x42849d
mov dword [ebx], 2
xor ebx, ebx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 4], 4
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x468]
call fcn.00401410
test eax, eax
jne 0x42848c
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004412d0
add esp, 0xc
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x420]
push eax
push str.InstallerLocation
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], 0x104
call fcn.00401500
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.004013e0
jmp 0x4284a3
mov dword [ebx], 1
xor eax, eax
call fcn.004422a8
ret 8
Function at 0x42a3b1
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push 0xaec
mov eax, 0x467fa1
call fcn.004422f9
mov edi, dword [ebp + 8]
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
xor ebx, ebx
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004412d0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 1
lea eax, [ebp - 0xaf1]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.004025e0
mov dword [ebp - 4], ebx
push 1
lea eax, [ebp - 0xaf1]
push eax
push 0x472da8
lea ecx, [ebp - 0x840]
call fcn.004025e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x870]
call fcn.0042be5c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x840]
call fcn.00401580
or dword [ebp - 0xaf8], 0xffffffff
mov byte [ebp - 4], 3
cmp dword [ebp - 0x858], 8
lea ecx, [ebp - 0xaf0]
lea eax, [ebp - 0x86c]
cmovae eax, dword [ebp - 0x86c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42a54e
lea ecx, [ebp - 0xaf8]
call fcn.0042bc29
mov dword [ebp - 0xaf8], esi
lea eax, [ebp - 0xae4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x42a538
push 1
lea eax, [ebp - 0xaf1]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.004025e0
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0xaf1]
push eax
lea eax, [ebp - 0xac4]
push eax
lea ecx, [ebp - 0x8a0]
call fcn.004025e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x8a0]
push eax
lea ecx, [ebp - 0x840]
call fcn.0042be5c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a0]
call fcn.00401580
cmp dword [ebp - 0x828], 8
lea eax, [ebp - 0x83c]
cmovae eax, dword [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x840]
call fcn.00401580
lea eax, [ebp - 0xaf0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a499
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xaf8]
call fcn.0042bc29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x870]
call fcn.00401580
call fcn.004422a8
ret 4
Function at 0x42e9b6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and esi, dword [edi]
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0042e661
push eax
push esi
push dword [ebp + 8]
call fcn.0042e616
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
inc ebp
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35

Function at 0x42ea39
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0042e661
push eax
push esi
push dword [ebp + 8]
call fcn.0042e616
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0042e661
push eax
push esi
push dword [ebp + 8]
Function at 0x42ed2c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42ed28
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42ed46
movzx eax, ax
lea eax, [eax + eax*4]
add al, 0x80
add al, 0x80
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42eda4
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x42ed8b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42ed94
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x42ed9e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x42ed80
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x42ed0a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x42edf1
dec eax
je 0x42ede8
sub eax, 3
je 0x42eddf
mov dword [ebp - 4], 0x40
jmp 0x42ee0e
mov dword [ebp - 4], 4
jmp 0x42edf4
mov dword [ebp - 4], 0x20
jmp 0x42edf4
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x42ee40
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x42edc0
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0042e651
enter 0x6fb4, 0xffffffffffffffd8
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x42ee4c
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431fa9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x469c23
call fcn.00442365
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x432026
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x432026
call fcn.00431591
mov esi, eax
jmp 0x432107
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x432049
call fcn.00431591
jmp 0x4320fa
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x43203f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x43207c
mov esi, 0x8007000e
jmp 0x4320fc
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.004313f2
mov dword [ebp - 4], 1
jmp 0x4320b0
cmp dword [ebp - 0x418], 0
je 0x432072
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x43203f
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.00431e70
mov esi, eax
test edi, edi
je 0x432107
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x432123
lea ecx, [ebp - 0x418]
call fcn.004317cb
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004422b7
ret 0x10
Function at 0x432fc8
Capabilities:
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x469d9a
call fcn.004422f9
mov esi, ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x98], 0
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
xor ebx, ebx
inc ebx
cmp eax, 0xffffffff
cmove eax, ebx
test ecx, ecx
je 0x43303a
lea edi, [ebp - 0x98]
push edi
push eax
push edx
call fcn.0045cf55
test al, al
jne 0x433083
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00433760
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x94]
call fcn.004336ea
push 0x48cd58
lea eax, [ebp - 0x94]
push eax
call fcn.00442239
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x433083
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00433760
mov dword [ebp - 4], 2
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0043353e
push 0x48cce4
lea eax, [ebp - 0x90]
jmp 0x433034
mov eax, dword [ebp - 0x98]
call fcn.004422a8
ret 8
Function at 0x436faf
Capabilities:
Create process on windows

Disassembly:
push 0x8cc
mov eax, 0x46b1b3
call fcn.004422f9
mov esi, ecx
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
xor edi, edi
lea eax, [ebp - 0x80e]
push edi
push eax
call fcn.004412d0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x47c998
push str.ClickOncePackage
push str.Startup
lea ecx, [esi + 0x10]
call fcn.0040d146
cmp word [ebp - 0x810], di
jne 0x437013
xor eax, eax
jmp 0x437170
lea eax, [ebp - 0x870]
push eax
mov ecx, esi
call fcn.00435277
mov dword [ebp - 4], edi
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x43702f
mov eax, dword [eax]
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x8d1]
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.004025e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x870]
call fcn.00401580
push esi
lea eax, [ebp - 0x8d1]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.004025e0
mov byte [ebp - 4], 4
push edi
push edi
lea eax, [ebp - 0x8d0]
push eax
lea ecx, [ebp - 0x840]
call fcn.00402d40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x870]
push ecx
lea ecx, [ebp - 0x8a0]
push ecx
mov ecx, eax
call fcn.004026d0
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x840]
call fcn.00402520
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a0]
call fcn.00401580
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8d0]
call fcn.00401580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x870]
call fcn.00401580
cmp dword [ebp - 0x828], 8
push 4
lea eax, [ebp - 0x83c]
cmovae eax, dword [ebp - 0x83c]
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x8d8], esp
push esi
lea edx, [ebp - 0x8d1]
push edx
push eax
call fcn.0040c568
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 2
call fcn.00454c3a
add esp, 0x34
test al, al
jne 0x437132
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00405070
cmp dword [ebp - 0x828], 8
push esi
push edi
push edi
lea eax, [ebp - 0x83c]
cmovae eax, dword [ebp - 0x83c]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00401580
mov eax, esi
call fcn.004422a8
ret
Function at 0x438bb8
Capabilities:
Get file size

Disassembly:
push 0x88
mov eax, 0x46b69c
call fcn.004422f9
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x438c1f
test eax, eax
je 0x438bd9
mov dword [eax], ebx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
cmp esi, 0xffffffff
jne 0x438c70
push 1
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00433760
mov dword [ebp - 4], ebx
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x94]
call fcn.004336ea
push 0x48cd58
lea eax, [ebp - 0x94]
push eax
call fcn.00442239
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x438c70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x438c70
push 1
lea ecx, [edi + 0xc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00433760
mov dword [ebp - 4], 2
push 1
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.00433599
push 0x48cce4
lea eax, [ebp - 0x90]
jmp 0x438c19
mov eax, esi
call fcn.004422a8
ret 4