joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405fcc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x44
mov eax, 0x4bddb7
call fcn.00435f69
mov edi, ecx
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], eax
call fcn.0040e64e
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040e64e
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 3
call dword [eax + 0x3c]
mov dword [edi + 0x3b8], eax
jmp 0x406028
mov eax, dword [edi + 0x3b8]
mov dword [ebp - 4], 2
cmp eax, 0x80004004
je 0x406078
cmp dword [ebp - 0x34], 0
jne 0x406078
test eax, eax
je 0x406078
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00405f5a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0040e672
push dword [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00435fda
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e672
lea eax, [edi + 0x33c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00405e79
xor esi, esi
pop ecx
pop ecx
cmp dword [edi + 0x324], esi
jbe 0x4060b6
cmp esi, 0x20
jae 0x4060b6
mov eax, dword [edi + 0x320]
push dword [eax + esi*4]
lea eax, [ebp - 0x38]
push eax
call fcn.00405e79
inc esi
pop ecx
pop ecx
cmp esi, dword [edi + 0x324]
jb 0x406094
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e8
ja 0x4060e0
cmp byte [edi + 0x318], 0
jne 0x4060d5
cmp dword [ebp - 0x40], 0
je 0x4060e0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [edi + 0x280]
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x378]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0x1e0]
call fcn.00405ea3
mov ecx, edi
call fcn.00402e05
cmp dword [ebp - 0x34], 0
jne 0x4061b6
cmp dword [edi + 0x364], 0
je 0x406275
lea eax, [edi + 0x354]
push eax
lea ecx, [edi + 0x204]
call fcn.00403d87
jmp 0x406275
lea ecx, [ebp - 0x50]
call fcn.0040e64e
xor ebx, ebx
mov byte [ebp - 4], 8
cmp dword [edi + 0x1d4], ebx
jbe 0x4061e6
mov eax, dword [edi + 0x1d0]
lea ecx, [ebp - 0x50]
push dword [eax + ebx*4]
call fcn.0040e816
inc ebx
cmp ebx, dword [edi + 0x1d4]
jb 0x4061cc
cmp dword [ebp - 0x4c], 0
lea ebx, [edi + 0x1ec]
mov ecx, ebx
lea eax, [ebp - 0x44]
je 0x4061fa
lea eax, [ebp - 0x50]
push eax
call fcn.0040e672
cmp dword [edi + 0x324], 0
jbe 0x406245
lea eax, [edi + 0x33c]
mov ecx, ebx
push eax
call fcn.0040e816
push 0x4c5c70
mov ecx, ebx
call fcn.0040e8a3
mov eax, dword [edi + 0x320]
mov ecx, ebx
push dword [eax]
call fcn.0040e816
mov eax, dword [edi + 0x320]
lea ecx, [edi + 0x1f8]
push dword [eax]
call fcn.0040e672
cmp dword [edi + 0x1f0], 0
jne 0x406259
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.0040e672
cmp dword [edi + 0x3b8], 0
jne 0x40626c
mov dword [edi + 0x3b8], 0x80004005
push dword [ebp - 0x50]
call fcn.00435fda
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x38]
call fcn.00435fda
pop ecx
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 9
call dword [eax + 0x34]
push dword [ebp - 0x44]
call fcn.00435fda
pop ecx
call fcn.00435ec7
ret
Function at 0x406344
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x228
mov eax, 0x4bdddd
call fcn.00435f32
mov edi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], eax
call fcn.0040629f
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0047a580
push esi
lea eax, [ebp - 0x218]
push str.LANG__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x4c5c98
push eax
push dword [0x4f8c70]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4063bb
xor al, al
jmp 0x4064a7
push esi
push dword [0x4f8c70]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x4f8c70]
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp dword [ebp - 0x220], ebx
je 0x4063b4
cmp esi, 0x100000
ja 0x4063b4
lea ecx, [ebp - 0x234]
call fcn.0040e486
push esi
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.00406320
push esi
push dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
push eax
call fcn.00479640
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov eax, edx
mov ecx, ebx
test esi, esi
je 0x406454
mov edi, eax
mov dl, byte [ecx + edi]
test dl, dl
je 0x406448
cmp dl, 0xd
je 0x406443
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jb 0x406434
mov edi, dword [ebp - 0x224]
mov edx, dword [ebp - 0x21c]
mov byte [eax], bl
mov ecx, edi
sub eax, edx
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
call fcn.004064af
test al, al
je 0x406492
push ebx
mov ecx, edi
call fcn.004062f0
test eax, eax
je 0x406492
push dword [ebp - 0x228]
push eax
call fcn.0040f13d
pop ecx
pop ecx
test al, al
je 0x406492
mov bl, 1
jmp 0x406499
mov ecx, edi
call fcn.0040629f
push dword [ebp - 0x234]
call fcn.00435fda
pop ecx
mov al, bl
call fcn.00435edc
ret 8
Function at 0x4081fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov edx, dword [edx]
and edx, 7
cmp eax, 5
jae 0x408219
xor eax, eax
jmp 0x408336
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [eax - 4]
add ecx, ebx
push esi
mov dword [ebp + 0xc], ecx
lea esi, [edi + ebx]
jmp 0x408234
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x408238
inc esi
cmp esi, ecx
jb 0x40822b
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, ebx
sub edi, ebx
cmp esi, dword [ebp + 0xc]
jae 0x408323
cmp ecx, 2
jbe 0x40828e
xor edx, edx
movzx ebx, byte [esi + 4]
lea eax, [ebx + 1]
test al, 0xfe
jne 0x408314
movzx eax, byte [esi + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp + 0x10]
add eax, 5
add eax, edi
cmp dword [ebp + 0x18], 0
je 0x4082ba
add ebx, eax
jmp 0x4082bc
shr edx, cl
test edx, edx
je 0x408252
cmp edx, 4
ja 0x4082ac
cmp edx, 3
je 0x4082ac
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi + 1]
inc eax
test al, 0xfe
jne 0x408252
or edx, 8
shr edx, 1
inc edi
mov ecx, dword [ebp + 0xc]
jmp 0x408226
sub ebx, eax
test edx, edx
je 0x4082f1
and edx, 6
mov eax, ebx
shl edx, 2
mov ecx, edx
shr eax, cl
inc eax
test al, 0xfe
jne 0x4082ef
mov eax, 0x100
shl eax, cl
dec eax
xor ebx, eax
mov eax, dword [ebp + 0x10]
add eax, 5
add eax, edi
cmp dword [ebp + 0x18], 0
je 0x4082ed
add ebx, eax
jmp 0x4082ef
sub ebx, eax
xor edx, edx
mov eax, ebx
mov byte [esi + 1], bl
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
and bl, 1
neg bl
mov byte [esi + 3], al
push 5
mov byte [esi + 4], bl
pop eax
jmp 0x40831c
or edx, 8
xor eax, eax
shr edx, 1
inc eax
mov ebx, dword [ebp + 8]
add edi, eax
jmp 0x4082b2
xor eax, eax
shr edx, cl
cmp ecx, 2
pop esi
cmova edx, eax
mov eax, dword [ebp + 0x14]
pop ebx
mov dword [eax], edx
mov eax, edi
pop edi
pop ebp
ret

Function at 0x408425
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x408480
cmp dword [ebp - 0x114], 5
sbb eax, eax
add eax, 1
je 0x408480
lea eax, [ebp - 0x13c]
push eax
call fcn.0040857d
pop ecx
test eax, eax
je 0x408480
mov eax, dword [ebp - 0x124]
shr eax, 0x19
and eax, 1
jmp 0x408482
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435eb6
mov esp, ebp
pop ebp
ret
Function at 0x408739
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3e8]
mov dword [ebp - 0x3e8], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x408779
cmp dword [ebp - 0x3e4], 6
jne 0x408779
cmp dword [ebp - 0x3e0], 0
je 0x4087a3
push str.SetDefaultDllDirectories
push 0x4c5ca0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4087a3
push 0xc00
call eax
test eax, eax
jne 0x408838
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x408838
cmp eax, 0x104
ja 0x408838
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x4087e3
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [0x4c5e10], 0
push esi
mov esi, 0x4c5e10
je 0x408837
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
mov edx, edi
mov cl, byte [esi]
inc esi
movzx eax, cl
mov word [edx], ax
lea edx, [edx + 2]
test cl, cl
jne 0x4087fe
push str..dll
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 8
push 0
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp byte [esi], 0
jne 0x4087fc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435eb6
mov esp, ebp
pop ebp
ret
Function at 0x40e01b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.0047e2cf
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x40e047
call fcn.0040dfbe
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41045f
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x4be05a
call fcn.00435efe
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41047f
mov al, 1
jmp 0x4104c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410490
xor al, al
jmp 0x4104c6
lea ecx, [ebp - 0x44]
call fcn.004106ba
lea ecx, [ebp - 0x1c]
call fcn.0040e64e
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0041079f
test al, al
je 0x4104bb
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00435fda
pop ecx
mov al, bl
call fcn.00435ec7
ret

Function at 0x41062d
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x410cbf
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
pop ebp
ret

Function at 0x410d6b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410d91
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x410d91
xor al, al
jmp 0x410da5
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4110b9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.0040e74d
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00435eb6
mov esp, ebp
pop ebp
ret
Function at 0x411e9c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.GlobalMemoryStatusEx
push 0x4c5ca0
mov dword [ebp - 0x64], 0x40
and dword [esi + 4], 0
mov dword [esi], SysReAllocString
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411eff
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x411eff
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00411e1f
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x411f1e
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
cmovb eax, dword [ebp - 0xc]
and dword [esi + 4], 0
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.00435eb6
mov esp, ebp
pop ebp
ret
Function at 0x41a193
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x41a1a1
and dword [esi], 0
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
test eax, eax
je 0x41a1e3
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x14]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
test esi, esi
je 0x41a1e3
add dword [esi], eax
test edx, edx
setne al
movzx eax, al
push eax
call fcn.00419cde
pop ecx
pop esi
pop ebp
ret 0x10

Function at 0x420d14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2e12
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4f230c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00424a85
lea ecx, [esi + 0x30]
call fcn.00420cba
push dword [esi + 0x24]
call fcn.00435fda
pop ecx
lea ecx, [esi + 0xc]
call fcn.00402ae6
mov ecx, esi
call fcn.00420bd1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4297b8
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push edi
push eax
push 0x20019
xor edi, edi
push edi
push 0x4c7be8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x429800
xor eax, eax
jmp 0x4298ea
push ebx
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0047a580
add esp, 0xc
mov dword [ebp - 0x41c], 0x104
lea eax, [ebp - 0x41c]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x420], ebx
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push edi
push 0x4c4d1c
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x414]
push eax
call fcn.00476a41
pop ecx
test al, al
jne 0x4298cc
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0047a580
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.00481b20
lea eax, [ebp - 0x20c]
push eax
call fcn.00476a41
add esp, 0xc
test al, al
jne 0x4298bb
xor eax, eax
jmp 0x4298e9
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.0047e061
pop ecx
pop ecx
jmp 0x4298e7
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0047e061
pop ecx
pop ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00435eb6
mov esp, ebp
pop ebp
ret 4
Function at 0x4298fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x208
push edi
push eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x21c], edi
call fcn.0047a580
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
add esp, 0xc
mov ebx, 0x20019
push eax
push ebx
push edi
push 0x4c7b38
push SysReAllocString
call esi
test eax, eax
je 0x42996c
xor eax, eax
jmp 0x429a3d
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x429965
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x429965
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x4c4d1c
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x214]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00482008
mov edi, 0x4c7be4
push edi
push eax
call fcn.0047b853
add esp, 0xc
test eax, eax
je 0x429965
lea esi, [eax + 2]
push edi
push esi
call fcn.0047b853
pop ecx
pop ecx
test eax, eax
je 0x429965
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00476a41
pop ecx
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435eb6
mov esp, ebp
pop ebp
ret

Function at 0x429a73
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00436e60
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push edi
mov edi, 0x800
xor ebx, ebx
push edi
push ebx
push eax
call fcn.0047a580
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0047a580
add esp, 0x18
lea eax, [ebp - 0x1fa4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x4c7bd0
call fcn.0047e083
pop ecx
lea ecx, [ebp - 0x1fa4]
lea eax, [ecx + eax*2]
push eax
call fcn.0047e061
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0047e061
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0047e061
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.00481b20
add esp, 0x20
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x429b46
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00476ac4
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00435eb6
mov esp, ebp
pop ebp
ret 4
Function at 0x42a243
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x4c0420
call fcn.00435f32
lea eax, [ebp - 0x88]
push str.ExtractAfterRun
push eax
call fcn.00426a5f
mov ecx, eax
call fcn.0042b1a9
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x78], edi
je 0x42a44d
call fcn.00426a5f
mov ecx, eax
call fcn.0042b1e1
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401e2f
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x4c7e54
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
call fcn.0047e083
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004024ca
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00401e2f
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00401e2f
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00475122
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00402377
mov esi, dword [ebp - 0xc4]
jmp 0x42a41f
cmp dword [esi + 0x14], 8
jb 0x42a356
mov eax, dword [esi]
jmp 0x42a358
mov eax, esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00401e2f
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00474ac5
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push edi
test eax, eax
je 0x42a3b7
lea eax, [ebp - 0x70]
push eax
call fcn.0040240e
jmp 0x42a3d2
lea eax, [ebp - 0xb8]
push eax
call fcn.0040240e
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427235
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476cf5
pop ecx
test eax, eax
jne 0x42a3fa
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004771e8
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00402377
add esi, 0x18
cmp esi, dword [ebp - 0xc0]
jne 0x42a34c
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00402377
lea ecx, [ebp - 0xc4]
call fcn.004023ce
push edi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00402377
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.00402377
call fcn.00435edc
ret