joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ae63
Capabilities:
Create thread

Disassembly:
push 0x7c
mov eax, 0x448710
call fcn.0042f3f0
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
lea edi, [esi + 0x18]
mov dword [ebp - 0x88], ecx
mov ecx, edi
cmp eax, ebx
jne 0x41ae98
push 0x4016c0
jmp 0x41ae99
push eax
call fcn.0040b36d
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
mov word [esi + 9], 0x100
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], ebx
call fcn.0041ac0e
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x50]
cmp dword [ebp - 0x70], ebx
je 0x41aed8
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x80]
push eax
call fcn.0040b217
jmp 0x41aee3
push dword [ebp - 0x84]
call fcn.0040b36d
cmp dword [esi + 0x28], ebx
je 0x41afad
cmp dword [edi + 0x14], 8
jb 0x41aef6
mov eax, dword [edi]
jmp 0x41aef8
mov eax, edi
push ebx
push dword [ebp - 0x88]
lea edi, [esi + 0x34]
push eax
push ebx
push edi
call fcn.0042bf95
add esp, 0x14
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x41af3e
mov edi, dword [edi]
push ebx
push ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.0042be87
mov ecx, dword [ebp - 0x48]
add esp, 0x14
cmp dword [ebp - 0x34], 8
jae 0x41af5d
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x41af69
lea eax, [ebp - 0x64]
push ebx
push ebx
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042bf95
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp dword [ebp - 0x18], 8
jae 0x41af85
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c9db
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040aa24
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040aa24
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040aa24
lea eax, [esi + 0x6c]
push eax
push ebx
push esi
push 0x41ab91
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 1
lea ecx, [ebp - 0x80]
mov dword [esi + 0x70], eax
call fcn.0040aa24
call fcn.0042f482
ret 0xc
Function at 0x421c67
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x449eda
call fcn.0042f3f0
mov esi, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], cx
push eax
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0042806c
xor edi, edi
inc edi
push edi
mov ecx, esi
call fcn.0042823b
push edi
push edi
mov ecx, esi
call fcn.004285e2
push edi
push edi
mov ecx, esi
call fcn.00427ffe
call fcn.0042d37a
test al, al
lea eax, [ebp - 0x2c]
je 0x421d78
push 0x3f0
push eax
call fcn.0042c681
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x421cd9
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428216
lea eax, [ebp - 0x2c]
push 0x3ee
push eax
call fcn.0042c681
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x421cfd
lea eax, [ebp - 0x2c]
push eax
push edi
mov ecx, esi
call fcn.0042865d
push edi
push edi
mov ecx, esi
call fcn.00428621
lea eax, [ebp - 0x2c]
push 0x3ed
push eax
call fcn.0042c681
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x421d2b
lea eax, [ebp - 0x2c]
push eax
push 2
pop ebx
push ebx
mov ecx, esi
call fcn.0042865d
push edi
push ebx
mov ecx, esi
call fcn.004285e2
push edi
push ebx
mov ecx, esi
call fcn.00428621
mov ecx, esi
call fcn.00427f9c
cmp eax, ebx
jne 0x421dce
mov eax, dword [0x450100]
mov ebx, eax
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x421d69
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebx], 0xffffffff
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x421dce
push 0x3f1
push eax
call fcn.0042c681
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x421d91
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428216
lea eax, [ebp - 0x2c]
push 0x3ea
push eax
call fcn.0042c681
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x421db5
lea eax, [ebp - 0x2c]
push eax
push edi
mov ecx, esi
call fcn.0042865d
push edi
push edi
mov ecx, esi
call fcn.00428621
mov ecx, esi
call fcn.00427f9c
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00427ffe
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040aa24
call fcn.0042f482
ret
Function at 0x421def
Capabilities:
Get disk size

Disassembly:
push 0xc0
mov eax, 0x4493ec
call fcn.0042f3f0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x10]
push 7
mov dword [ebp - 0xcc], eax
pop edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
push eax
push 0x404d88
mov dword [ebp - 4], ebx
call fcn.0042da53
pop ecx
pop ecx
test al, al
jne 0x421e4b
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040aa24
mov al, 1
call fcn.0042f482
ret
lea eax, [ebp - 0x48]
push eax
call fcn.0042b569
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
pop ecx
jae 0x421e61
lea eax, [ebp - 0x48]
push ebx
push ebx
lea ecx, [ebp - 0xb4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x421e8f
mov byte [ebp - 0xb5], 1
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040aa24
mov al, byte [ebp - 0xb5]
jmp 0x421e45
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc8], ebx
xor esi, esi
mov dword [ebp - 0xc0], ebx
call fcn.0041cbd3
test eax, eax
jle 0x421e75
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0xac]
call fcn.0041ce31
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.0041d679
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xac]
add dword [ebp - 0xc8], eax
adc esi, ebx
call fcn.0041ce67
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040aa24
mov ecx, dword [ebp - 0xbc]
inc dword [ebp - 0xc0]
call fcn.0041cbd3
cmp dword [ebp - 0xc0], eax
jl 0x421eac
mov eax, dword [ebp - 0xb0]
cmp esi, eax
jb 0x421e75
mov ecx, dword [ebp - 0xb4]
ja 0x421f4b
cmp dword [ebp - 0xc8], ecx
jbe 0x421e75
mov edx, dword [ebp - 0xc8]
shrd edx, esi, 0x14
shrd ecx, eax, 0x14
shr eax, 0x14
xor eax, eax
mov dword [ebp - 0xbc], edx
shr esi, 0x14
mov esi, edx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0xcc]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x421f95
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push 0x3f4
push eax
call fcn.0042c681
push dword [ebp - 0xbc]
lea eax, [ebp - 0x64]
push esi
push 0x421
push eax
call fcn.0042c681
mov ecx, dword [ebp - 0x2c]
add esp, 0x1c
cmp dword [ebp - 0x18], 8
jae 0x421fc8
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x421fd4
lea eax, [ebp - 0x64]
push 0x31
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
lea ecx, [ebp - 0x64]
push 1
cmp eax, 2
jne 0x422005
call fcn.0040aa24
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040aa24
mov byte [ebp - 0xb5], bl
jmp 0x421e7c
call fcn.0040aa24
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040aa24
jmp 0x421e75
Function at 0x4237a1
Capabilities:
Persist via run registry key

Disassembly:
push 0x64
mov eax, 0x449654
call fcn.0042f3f0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x70], eax
cmp ebx, esi
je 0x4238df
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
mov dword [ebp - 4], esi
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push 0x404dac
lea eax, [ebp - 0x48]
push 0x4055cc
push eax
call fcn.0042c0b9
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 2
call fcn.0042c774
mov eax, dword [ebp - 0x64]
add esp, 0x14
cmp dword [ebp - 0x50], 8
jae 0x423820
lea eax, [ebp - 0x64]
push esi
push eax
push ebx
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0042bf95
add esp, 0x14
cmp dword [ebp - 0x70], esi
je 0x423840
push dword [ebp - 0x70]
lea ecx, [ebp - 0x2c]
call fcn.0040cf83
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x404dd0
push 0x80000001
call dword [0x451528]
xor edi, edi
inc edi
cmp eax, esi
je 0x423870
push eax
push 0x405540
jmp 0x4238a5
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x42387c
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x423888
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x1c]
add edx, edx
push edx
push ecx
push edi
push esi
push eax
push dword [ebp - 0x68]
call dword [0x451538]
cmp eax, esi
je 0x4238b3
push eax
push 0x4054b8
push dword [0x450100]
call fcn.0040ad06
add esp, 0xc
cmp dword [ebp - 0x68], esi
je 0x4238c1
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.0040aa24
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040aa24
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.0040aa24
xor al, al
call fcn.0042f482
ret
Function at 0x428d9e
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x449c07
call fcn.0042f3f0
mov eax, dword [ebp + 8]
mov esi, ecx
cmp eax, 3
jne 0x428f21
push 7
pop edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
lea eax, [esi + 0xc8]
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], ebx
jb 0x428ddd
mov eax, dword [eax]
push ebx
push 0x405f9c
push eax
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0042bf95
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp dword [ebp - 0x18], 8
jae 0x428dfd
lea eax, [ebp - 0x2c]
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [0x451518]
mov edx, eax
mov dword [ebp - 0x54], edx
cmp edx, 0xffffffff
jne 0x428e75
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
push 0x59e
push eax
mov byte [ebp - 4], 1
call fcn.0042c681
lea eax, [esi + 0xe4]
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x428e4c
mov eax, dword [eax]
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x428e58
lea ecx, [ebp - 0x48]
push 0x10
push eax
push ecx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040aa24
jmp 0x428f14
cmp dword [esi + 0x80], ebx
je 0x428ebc
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0x4c]
push eax
push 2
lea eax, [ebp - 0x50]
push eax
push edx
mov dword [ebp - 0x50], 0xfeff
call edi
mov ecx, dword [esi + 0xbc]
lea eax, [esi + 0xac]
cmp dword [eax + 0x14], 8
jb 0x428eac
mov eax, dword [eax]
push ebx
lea edx, [ebp - 0x4c]
push edx
add ecx, ecx
push ecx
push eax
push dword [ebp - 0x54]
call edi
jmp 0x428ede
mov ecx, dword [esi + 0xa0]
lea eax, [esi + 0x90]
cmp dword [eax + 0x14], 0x10
jb 0x428ed0
mov eax, dword [eax]
push ebx
lea edi, [ebp - 0x4c]
push edi
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0xc8]
cmp dword [eax + 0x14], 8
jb 0x428ef5
mov eax, dword [eax]
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x428f01
lea ecx, [ebp - 0x2c]
push 1
push eax
push ebx
push ecx
push 0x405f90
push dword [esi + 8]
call dword [0x45153c]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040aa24
jmp 0x428f38
mov dword [esi + 0x8c], eax
mov esi, dword [esi + 0x88]
test esi, esi
je 0x428f38
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.0042f482
ret 4
Function at 0x4292ca
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x18]
mov esi, ecx
push esi
push 0x428f45
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00429034
test al, al
je 0x42934a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42934a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4292fc
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x42930f
mov eax, dword [eax]
push eax
push 0x40f
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov al, 1
jmp 0x42934c
xor al, al
pop esi
pop ebp
ret 0x14

Function at 0x42960f
Capabilities:
Get graphical window text

Disassembly:
push 0x1c
mov eax, 0x449e78
call fcn.0042f37d
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x40b
push dword [eax + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0xe
push eax
mov dword [ebp - 0x20], eax
call esi
lea ebx, [eax + 1]
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0040c59b
push dword [ebp - 0x1c]
mov dword [ebp - 4], edi
push ebx
push 0xd
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
call fcn.0040b36d
lea ecx, [ebp - 0x1c]
call fcn.0040c13b
call fcn.0042f469
ret 4

Function at 0x429d45
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, dword [esi]
jne 0x429d60
test ebx, ebx
je 0x429d60
push 0x57
pop eax
jmp 0x429dd1
movzx eax, word [ebp + 0xc]
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x451520]
mov edi, eax
test edi, edi
je 0x429dcb
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x18], eax
test eax, eax
je 0x429dcb
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
jbe 0x429d9d
mov dword [esi], edi
jmp 0x429dc4
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x429dbb
push edi
push eax
push dword [ebp + 0x14]
call fcn.0042e590
add esp, 0xc
xor eax, eax
jmp 0x429dd0
xor eax, eax
inc eax
cmp dword [esi], eax
mov dword [esi], eax
jae 0x429db7
mov eax, 0xea
jmp 0x429dd0
mov eax, 0x716
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42a0e5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x42a110
cmp word [eax], 0
je 0x42a110
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a10c
test al, 0x10
jne 0x42a10c
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x42a119
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x42a144
cmp word [eax], 0
je 0x42a144
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a140
test al, 0x10
jbe 0x42a140
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x42a189
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x450148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push 0x404278
push 0x80000001
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a1fb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x406014
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a1fb
cmp dword [ebp - 0xc], 4
jne 0x42a1fb
cmp dword [ebp - 0x10], 4
jne 0x42a1fb
cmp dword [ebp - 0x14], ebx
jne 0x42a1fb
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0042ef49
leave
ret

Function at 0x42a455
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x450148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 8], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 8]
push 0
push eax
call fcn.00429fab
push 0x3c
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0042f6d0
add esp, 0x14
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], 0x40
mov dword [ebp - 0x28], 5
je 0x42a4e0
cmp dword [ebp - 8], 6
jl 0x42a4e0
mov ecx, dword [0x450100]
push 0x401640
mov esi, ecx
call fcn.0040a9c9
push 0x4013e0
mov ecx, esi
call fcn.0040a9c9
mov dword [ebp - 0x38], 0x401634
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
jne 0x42a4f4
xor al, al
jmp 0x42a50d
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42a502
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x42a50b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ef49
leave
ret
Function at 0x42b43d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x449d5d
call fcn.0042f37d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
cmp ecx, edi
je 0x42b50f
cmp word [ecx], di
je 0x42b50f
movzx edx, word [ebp + 8]
mov eax, dword [0x451f40]
push edx
push ecx
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], eax
call dword [0x451520]
mov ebx, eax
cmp ebx, edi
je 0x42b50f
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x42b50f
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
jbe 0x42b4b1
mov esi, ebx
jmp 0x42b4ce
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x42b4cb
push ebx
push eax
push edi
call fcn.0042e590
add esp, 0xc
jmp 0x42b4d1
xor esi, esi
inc esi
mov dword [ebp - 0x10], esi
shr esi, 1
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.0042b080
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 4], edi
push dword [ebp - 0x30]
push dword [ebp + 8]
push dword [0x451f40]
call fcn.00429d45
add esp, 0x14
test eax, eax
je 0x42b517
lea ecx, [ebp - 0x20]
call fcn.0040c13b
xor al, al
call fcn.0042f469
ret
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
call fcn.0040b36d
lea ecx, [ebp - 0x20]
call fcn.0040c13b
mov al, 1
jmp 0x42b511
Function at 0x42bac9
Capabilities:
Get file version info

Disassembly:
push 0x228
mov eax, 0x449e0b
call fcn.0042f3f0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x234], eax
mov byte [ebp - 0x22d], bl
call fcn.0040cd7a
mov dword [ebp - 4], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
cmp edi, ebx
je 0x42bc32
push edi
call fcn.0042a0e5
pop ecx
test al, al
je 0x42bc32
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x42bb2a
sub eax, ecx
sar eax, 1
lea esi, [eax + 1]
push ebx
push esi
lea ecx, [ebp - 0x22c]
call fcn.00422b90
push 0xffffffffffffffff
push edi
push esi
push dword [ebp - 0x22c]
call fcn.0042f77e
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x22c]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x42bc1f
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x42bc1f
push edi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x22c]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42bc18
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x4060f0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42bc18
cmp dword [ebp - 0x21c], ebx
je 0x42bc18
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push 0x4060f4
lea eax, [ebp - 0x210]
push 0xff
push eax
call fcn.0042a2eb
add esp, 0x1c
test eax, eax
js 0x42bc18
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x210]
push eax
call fcn.0040b36d
mov byte [ebp - 0x22d], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x22c]
call fcn.0040c13b
mov al, byte [ebp - 0x22d]
jmp 0x42bc3f
lea ecx, [ebp - 0x22c]
call fcn.0040c13b
xor al, al
call fcn.0042f482
ret

Function at 0x42bcb3
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x449e43
call fcn.0042f3f0
mov ebx, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], esi
mov word [ebp - 0x24c], ax
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x250]
push eax
push 0x406184
push 0x406110
mov dword [ebp - 4], esi
call fcn.0042b78e
add esp, 0xc
test al, al
je 0x42bd4f
cmp dword [ebp - 0x250], 1
jne 0x42bd4f
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x24c]
push eax
mov ecx, ebx
call fcn.0040b217
lea ecx, [ebp - 0x228]
call fcn.0040c13b
push esi
push 1
lea ecx, [ebp - 0x24c]
call fcn.0040aa24
mov al, 1
jmp 0x42bd95
mov edi, 0x104
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
je 0x42bd7a
cmp eax, edi
ja 0x42bd7a
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.0040b36d
jmp 0x42bd32
lea ecx, [ebp - 0x228]
call fcn.0040c13b
push esi
push 1
lea ecx, [ebp - 0x24c]
call fcn.0040aa24
xor al, al
call fcn.0042f482
ret
Function at 0x42bda0
Capabilities:
Delete file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x450148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0042f6d0
xor eax, eax
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0042f6d0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42be72
cmp eax, esi
jae 0x42be72
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x4061a8
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x42be72
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a0e5
pop ecx
test al, al
je 0x42be59
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a0e5
pop ecx
test al, al
jne 0x42be72
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0040b36d
push edi
call fcn.0042b569
pop ecx
mov al, 1
jmp 0x42be74
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042ef49
leave
ret