joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], ecx
mov word [esp + 8], dx
push 0xffffffffffffffff
mov dword [esp + 0x30], ecx
push ecx
add eax, 0x1a8
lea ecx, [esp + 0xc]
call fcn.0040bb80
push 0x19
mov eax, str.FileAssociationsTool.exe
lea ecx, [esp + 8]
call fcn.0040baa0
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.00411610
add esp, 4
cmp dword [esp + 0x1c], 8
jb 0x408aef
mov ecx, dword [esp + 8]
push ecx
call fcn.00479461
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0047946c
add esp, 0x2c
ret 4

Function at 0x408b20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4900c0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0x90], edi
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x70], cx
add eax, 0x1a8
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], edi
call fcn.0040bb80
push 0xd
mov eax, 0x4be0f4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 1
call fcn.0040baa0
cmp dword [esp + 0xb0], edi
jbe 0x408bd3
push 2
mov eax, 0x4be2c0
lea ecx, [esp + 0x6c]
call fcn.0040baa0
push edi
lea edx, [esp + 0xa0]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.0040b9e0
push 0x40
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0047c520
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x80], 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], 0x44
jae 0x408c0f
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x408c38
push eax
call esi
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x408c53
push 0xbb8
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0xc]
push eax
call esi
cmp dword [esp + 0x80], 8
jb 0x408c6a
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00479461
add esp, 4
xor edx, edx
cmp dword [esp + 0xb4], 8
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], dx
jb 0x408c9a
mov eax, dword [esp + 0xa0]
push eax
call fcn.00479461
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0047946c
add esp, 0x88
ret 0x20
Function at 0x40d170
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x490998
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.0040bb80
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40d1c6
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.0040baa0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.0040bb80
cmp dword [esp + 0x24], 8
jb 0x40d20f
mov edx, dword [esp + 0x10]
push edx
call fcn.00479461
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x40e240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49090a
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], 1
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov ecx, 7
xor edx, edx
mov dword [edi + 0x98], ecx
mov dword [edi + 0x94], eax
mov word [edi + 0x84], dx
mov dword [esp + 0x14], eax
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb0], eax
mov word [edi + 0xa0], dx
mov dword [edi + 0xd0], ecx
mov dword [edi + 0xcc], eax
mov word [edi + 0xbc], dx
lea esi, [edi + 0xd4]
mov byte [esp + 0x14], 2
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov word [esi + 4], ax
push 1
mov eax, 0x4bed88
call fcn.0040c300
call fcn.0040e850
mov dword [edi + 0x6c], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x40e850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareSOHUSoHuVAInstallPath
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e8db
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.0047c520
mov edx, dword [esp + 0x10]
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push str.Path
push edx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e8d0
xor esi, esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0047946c
add esp, 0x214
ret
Function at 0x410520
Capabilities:
Terminate process

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
push eax
lea ebx, [esp + 0x14]
call fcn.00410620
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 4
cmp esi, eax
jbe 0x410548
call fcn.0047a626
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edi, esi
mov edi, edi
mov esi, eax
cmp dword [esp + 0x1c], eax
jbe 0x41055d
call fcn.0047a626
test ebx, ebx
je 0x410567
cmp ebx, dword [esp + 0x10]
je 0x41056c
call fcn.0047a626
cmp edi, esi
je 0x4105dd
test ebx, ebx
jne 0x4105d5
call fcn.0047a626
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x410585
call fcn.0047a626
mov eax, dword [edi]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4105b4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4105d9
call fcn.0047a626
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4105c9
call fcn.0047a626
mov eax, dword [esp + 0x20]
add edi, 4
jmp 0x410550
mov eax, dword [ebx]
jmp 0x41057b
mov eax, dword [ebx]
jmp 0x4105bf
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4105ee
push eax
call fcn.00479461
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.00479461
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x410620
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4927cb
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x254], eax
push ebp
push esi
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
lea ecx, [esp + 0x10]
xor ebp, ebp
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
call fcn.0040c1b0
push ebp
push 2
mov dword [esp + 0x27c], ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x410755
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x3c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4106d2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea ecx, [esp + 0x14]
call fcn.00411c00
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4106c8
push eax
call fcn.00479461
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x410775
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x58]
push edx
push eax
call fcn.0047982d
add esp, 8
test eax, eax
jne 0x41073f
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x4106f4
xor ecx, ecx
jmp 0x4106fd
mov ecx, dword [esp + 0x24]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x20]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x41071b
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x41073f
mov esi, eax
cmp edx, eax
jbe 0x410726
call fcn.0047a626
mov eax, dword [esp + 0x10]
push esi
push eax
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x20]
call fcn.00411e80
lea ecx, [esp + 0x34]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4106d2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea ecx, [esp + 0x14]
call fcn.00411c00
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x410770
push eax
call fcn.00479461
add esp, 4
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.00479461
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.0047946c
add esp, 0x268
ret
Function at 0x4107c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x4b555c
push 1
push 0
push 0x4b556c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4108c0
test esi, esi
je 0x410815
push 0x4bf31c
push esi
call fcn.0047982d
add esp, 8
test eax, eax
je 0x410815
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push esi
push eax
call edx
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test edi, edi
je 0x41085f
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410840
sub eax, edx
sar eax, 1
je 0x41085f
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x4b557c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4108b5
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jge 0x4108a9
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esp, 0xc
ret
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esp, 0xc
ret

Function at 0x4108d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4908b2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0xc], esi
mov word [esi + 4], ax
push 1
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x230], eax
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410950
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040c300
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0047946c
add esp, 0x220
ret
Function at 0x410990
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4908b2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0xc], esi
mov word [esi + 4], ax
push 1
push 0x17
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x230], eax
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410a10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040c300
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0047946c
add esp, 0x220
ret

Function at 0x410a50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x490856
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
push 0x206
xor edi, edi
lea ecx, [esp + 0x4e]
xor eax, eax
push edi
push ecx
mov word [esp + 0x54], ax
call fcn.0047c520
add esp, 0xc
push 0x104
lea edx, [esp + 0x4c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
lea edx, [eax + 2]
jmp 0x410ae0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x410ae0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
lea esi, [esp + 0x30]
call fcn.0040c300
push 1
mov ebx, esi
mov dword [esp + 0x260], edi
call fcn.0040bd10
mov ecx, dword [esp + 0x40]
sub ecx, eax
lea edx, [eax + 1]
mov eax, esi
dec ecx
push eax
lea esi, [esp + 0x14]
call fcn.0040b1c0
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov byte [esp + 0x264], 1
call fcn.0040bb80
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x410b4d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00479461
add esp, 4
push 0x4bf5ac
mov ebx, 2
xor eax, eax
lea edx, [esp + 0x30]
call fcn.0040bc30
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov edi, edx
cmp dword [esp + 0x44], esi
jb 0x410b7f
mov eax, dword [esp + 0x30]
push eax
call fcn.00479461
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0047946c
add esp, 0x250
ret
Function at 0x410d40
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x48ff98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
push ebx
push ebp
call fcn.0047a38b
add esp, 8
test eax, eax
jne 0x410ddf
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x410ddf
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x44], ebx
ja 0x410db7
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x24]
call fcn.0040dd00
jmp 0x410dc3
push ebx
mov eax, esi
lea edi, [esp + 0x20]
call fcn.00411f60
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x410de3
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x410de7
push ebx
call fcn.00479461
add esp, 4
xor eax, eax
jmp 0x410e57
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x34], edi
jae 0x410e02
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4bc8c0
push eax
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 0xa]
movzx edx, byte [eax + 8]
shl cx, 8
movzx esi, cx
movzx ecx, byte [eax + 0xe]
movzx eax, byte [eax + 0xc]
or esi, edx
shl cx, 8
shl esi, 0x10
movzx edx, cx
or esi, edx
or esi, eax
cmp dword [esp + 0x34], edi
jb 0x410e55
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00479461
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0047946c
add esp, 0x34
ret

Function at 0x410ee0
Capabilities:
Set registry value

Disassembly:
push ecx
push edi
xor edi, edi
push edi
lea eax, [esp + 8]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x410f3d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410f04
mov ecx, dword [esp + 0xc]
sub eax, edx
mov edx, dword [esp + 4]
sar eax, 1
add eax, eax
push eax
push esi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x410f32
lea edi, [eax + 1]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ecx
ret
Function at 0x410f50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
push ebx
push esi
mov esi, edx
lea edx, [esp + 8]
push edx
push 0xf003f
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410ff4
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0047c520
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push edi
push ecx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410fe9
lea ebx, [eax + 1]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410fd0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.0040c300
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0047946c
add esp, 0x214
ret
Function at 0x4113f0
Capabilities:
Create directory
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x490768
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
xor ebp, ebp
push 0xffffffffffffffff
mov word [esp + 0x1c], ax
mov edi, 7
push ebp
mov eax, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
call fcn.0040bb80
push 0xb
mov eax, str.StartBarBt
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], ebp
call fcn.0040baa0
mov eax, dword [esp + 0x18]
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jae 0x41146f
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0047a38b
add esp, 8
test eax, eax
je 0x4114b1
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebx
jae 0x41148b
lea eax, [esp + 0x18]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4114b1
cmp dword [esp + 0x2c], ebx
jb 0x4114aa
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00479461
add esp, 4
xor eax, eax
jmp 0x4115e2
push 0xffffffffffffffff
xor edx, edx
push ebp
mov eax, esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], dx
call fcn.0040bb80
push 0xd
mov eax, 0x4be0f4
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 1
call fcn.0040baa0
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x38], ax
push ebp
mov eax, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
call fcn.0040bb80
push 9
mov eax, str.logo.ico
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 2
call fcn.0040baa0
push 9
mov eax, 0x4bdfbc
lea ecx, [esp + 0x18]
call fcn.0040baa0
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebx
jae 0x411533
lea ecx, [esp + 0x18]
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x411541
lea edi, [esp + 0x34]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebx
jae 0x41154f
lea eax, [esp + 0x50]
push ecx
push 0x4bc910
push eax
mov esi, str._StartBarBt
call fcn.004107c0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x2c], ebx
jae 0x411571
lea eax, [esp + 0x18]
push ebp
push ebp
push ebp
push eax
push str.startpin
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x48], ebx
jb 0x411594
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00479461
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
cmp dword [esp + 0x64], ebx
jb 0x4115bb
mov eax, dword [esp + 0x50]
push eax
call fcn.00479461
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], cx
cmp dword [esp + 0x2c], ebx
jb 0x4115dd
mov edx, dword [esp + 0x18]
push edx
call fcn.00479461
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0047946c
add esp, 0x64
ret