joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100012c0
Capabilities:
Set global application hook

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x10]
cmp edx, eax
jne 0x100012e9
xor al, al
pop edi
pop esi
pop ebp
ret
mov ecx, dword [0x100047d4]
xor eax, eax
test ecx, ecx
jle 0x1000130c
mov ecx, 0x10004004
cmp dword [ecx], edx
je 0x10001315
mov esi, dword [0x100047d4]
inc eax
add ecx, 0x14
cmp eax, esi
jl 0x100012fa
cmp dword [0x100047d4], 0x64
jl 0x1000131b
xor al, al
pop edi
pop esi
pop ebp
ret
mov eax, dword [0x100047d4]
mov edx, dword [0x100047d4]
inc edx
push ebp
lea ecx, [eax + eax*4]
mov dword [0x100047d4], edx
lea esi, [ecx*4 + section.SharedDa]
mov dword [esi], edi
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
mov dword [esi + 0x10], 0
mov ecx, dword [section..data]
push ecx
push 0x10001290
push 3
call edi
mov dword [esi + 0xc], eax
mov edx, dword [section..data]
push ebp
push edx
push 0x10001290
push 4
call edi
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov al, 1
pop ebp
ret

Function at 0x10001440
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
call ebx
push 0
mov edi, eax
mov dword [0x100047d4], 0
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
test esi, esi
je 0x100014bf
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push esi
call ebp
test eax, 0x10000000
je 0x100014b0
test eax, 0xc00000
je 0x100014b0
push esi
call fcn.100012c0
add esp, 4
test al, al
je 0x10001497
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, edi
cmp eax, 0x64
jl 0x100014b0
push 0
push 0
call fcn.10001390
add esp, 8
call ebx
mov edi, eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x1000146f
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
xor esi, esi
mov eax, esi
push 0
and eax, 0xf
dec al
neg al
sbb eax, eax
inc eax
push eax
call fcn.10001390
add esp, 8
test eax, eax
je 0x10001502
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call edi
inc esi
cmp esi, 0x14d
jl 0x100014c7
push 1
push 0
call fcn.10001390
add esp, 8
mov dword [0x100047d4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x10001a40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
push esi
test eax, eax
je 0x10001ad8
push ebx
inc eax
push edi
push eax
call fcn.10003abc
add esp, 4
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov ebx, eax
mov edx, ebx
cmovae ecx, dword [ebp + 8]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10001a73
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001a85
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.10005070
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
pop edi
pop ebx
pop esi
cmp edx, 0x10
jb 0x10001b03
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001b07
push edx
push ecx
call fcn.10003741
add esp, 8
mov esp, ebp
pop ebp
ret
call fcn.10005d70
int3
Function at 0x10001b10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10001cc3
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x10001cbd
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10001cb6
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jle 0x10001cb6
mov edx, dword [edi + 0x10]
lea ecx, [esi + 1]
cmp ecx, edx
ja 0x10001ba5
mov dword [edi + 0x10], ecx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10001b9f
mov eax, dword [edi]
mov byte [eax + ecx], 0
jmp 0x10001beb
mov eax, dword [edi + 0x14]
mov ebx, ecx
sub ebx, edx
sub eax, edx
cmp ebx, eax
ja 0x10001bd7
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov dword [edi + 0x10], ecx
jb 0x10001bbf
mov eax, dword [edi]
push ebx
lea esi, [eax + edx]
push 0
push esi
call fcn.10004810
mov byte [esi + ebx], 0
add esp, 0xc
mov esi, dword [ebp - 8]
jmp 0x10001be8
push ecx
push ebx
mov byte [ebp - 8], 0
mov ecx, edi
push dword [ebp - 8]
push ebx
call fcn.10003490
mov ebx, dword [ebp - 4]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10001bf5
mov eax, dword [edi]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esi - 1]
mov dword [ebp - 0x14], 0
cmp dword [edi + 0x10], ecx
mov eax, edi
mov dword [ebp - 0x10], 0xf
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0x24], 0
jb 0x10001c33
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10003350
lea eax, [ebp - 0x24]
cmp edi, eax
je 0x10001c86
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x10001c73
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10001c69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ccc
mov eax, edx
push ecx
push eax
call fcn.10003741
add esp, 8
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [edi + 0x10], xmm0
jmp 0x10001cb6
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x10001cb6
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001cac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ccc
push edx
push ecx
call fcn.10003741
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10005d70
int3
Function at 0x402bc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x70], 0x406000
mov ecx, dword [ebp - 0xc8]
mov dword [0x406520], ecx
mov edx, dword [ebp - 0xc8]
mov dword [edx], 0x84
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x64], 0x300
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00402dd0
cmp dword [ebp + 0x10], 0
je 0x402c2e
push 0x10
mov ecx, dword [ebp + 0x10]
push ecx
push 0x406510
call fcn.004046b0
add esp, 0xc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edx, dword [ebp - 0xc8]
mov dword [edx + 0x18], eax
push 0x94
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.00404650
add esp, 0xc
mov dword [ebp - 0x94], 0x94
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x84], 2
jne 0x402c93
cmp dword [ebp - 0x90], 5
jae 0x402da2
cmp dword [ebp - 0xa4], 1
jbe 0x402da2
mov eax, dword [ebp - 0xa4]
shl eax, 1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x74], 0xffffffff
mov dword [ebp - 0xc0], 0
jmp 0x402cd6
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xc0], 0x20
jge 0x402d14
mov eax, dword [ebp - 0xbc]
and eax, 0x80000000
test eax, eax
je 0x402cf0
jmp 0x402d14
mov ecx, dword [ebp - 0xbc]
shl ecx, 1
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
shr eax, 1
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x74], eax
jmp 0x402cc7
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
shr eax, 1
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x74]
lea ecx, [eax*4 + 4]
push ecx
push 0
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x78], eax
mov dword [ebp - 0xc4], 0
jmp 0x402d6f
mov edx, dword [ebp - 0xc4]
add edx, 1
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax + 0x74]
ja 0x402da0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x78]
mov edx, dword [ebp - 0xc4]
mov dword [ecx + edx*4], eax
jmp 0x402d60
jmp 0x402dbc
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x78], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x74], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404130
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40414d
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x404194
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
je 0x40417a
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
test eax, eax
jne 0x404158
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x22
jne 0x404192
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x4041ae
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x20
jle 0x4041ae
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x404194
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
test edx, edx
je 0x4041d2
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x4041d2
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x4041ae
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x4041fb
mov edx, dword [ebp - 0x14]
and edx, 0xffff
mov dword [ebp - 0x50], edx
jmp 0x404202
mov dword [ebp - 0x50], 0xa
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403914
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40e008], 0x8088405
inc edx
mov dword [ebx + 0x40e008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x401550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x401560
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [0x41f050]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401570
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [0x41f008]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4015a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4273d0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push edx
xor edi, edi
or eax, 0x2001f
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [0x41f010]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x401615
xor eax, eax
cmp ecx, edi
je 0x401603
push ecx
call dword [section..rdata]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov esi, eax
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x401623
cmp ecx, edi
je 0x4016c0
push ecx
jmp 0x4016ba
mov esi, dword [0x41f00c]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x40168e
jmp 0x401650
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.004015a0
mov ebp, eax
cmp ebp, edi
jne 0x4016dd
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x401650
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4016a1
push eax
call dword [section..rdata]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push ebp
push eax
mov dword [esp + 0x20], edi
call dword [0x41f018]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4016c0
push eax
call dword [section..rdata]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040dfa7
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4016ec
push eax
call dword [section..rdata]
mov eax, ebp
jmp 0x4016c2
Function at 0x4041a0
Capabilities:
Check if file exists

Disassembly:
test esi, esi
je 0x4041db
push esi
call dword [0x41f22c]
test eax, eax
je 0x4041db
push esi
call fcn.0040c500
add esp, 4
test eax, eax
je 0x4041db
push esi
call fcn.0040cac0
add esp, 4
test eax, eax
jne 0x4041db
call fcn.0040c3f0
push eax
push esi
call fcn.0040c400
add esp, 8
xor eax, eax
ret
mov eax, 1
ret

Function at 0x4045c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov ebx, eax
push edi
mov edi, dword [ebx + 4]
lea esi, [ebx + 4]
call fcn.00403fc0
test eax, eax
je 0x4045e4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edi
push eax
call edx
mov eax, ebx
call fcn.00404690
push ebx
call fcn.00404780
mov ecx, dword [esi]
mov eax, dword [ebx + 0x28]
mov edi, dword [0x41f304]
push 0x3ee
push ecx
mov dword [esp + 0x14], eax
call edi
mov edx, dword [esp + 0xc]
push edx
push eax
call dword [0x41f244]
cmp dword [ebx + 0x2c], 0
push 1
jne 0x404651
mov eax, dword [esi]
push eax
call edi
push 0
push eax
call dword [0x41f314]
mov ecx, dword [esi]
push 2
push ecx
call edi
push 0x421b38
push eax
call dword [0x41f244]
push esi
call fcn.00403d20
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi]
push edx
call edi
mov ebx, dword [0x41f244]
push 0x421b38
push eax
call ebx
mov eax, dword [esi]
push 2
push eax
call edi
push 0x421b30
push eax
call ebx
push esi
call fcn.00403d20
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406450
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x4273d0]
xor eax, esp
mov dword [esp + 0x214], eax
push edi
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWARE360zip
push 0x80000002
mov edi, ecx
call dword [0x41f010]
test eax, eax
je 0x4064a0
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040dfa7
add esp, 0x218
ret
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push str.MainVersion
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], 0x208
call dword [0x41f004]
test eax, eax
jne 0x4064f9
lea edx, [esp + 0x10]
call fcn.00405970
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040dfa7
add esp, 0x218
ret
mov ecx, dword [esp + 0x218]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0040dfa7
add esp, 0x218
ret

Function at 0x406630
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
push esi
lea eax, [esp + 0xc]
push eax
push ebx
xor ebp, ebp
call fcn.0041bb2a
mov esi, eax
test esi, esi
jne 0x40664e
pop esi
pop ebp
add esp, 0xc
ret
push edi
push esi
call fcn.0040e46c
mov edi, eax
add esp, 4
test edi, edi
jne 0x406665
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push edi
push esi
push 0
push ebx
call fcn.0041bb1e
test eax, eax
je 0x4066ac
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x422114
push edi
mov dword [esp + 0x1c], ebp
call fcn.0041bb24
mov ebp, eax
test ebp, ebp
je 0x4066ac
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4066ac
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
push edi
call fcn.0040e38f
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret

Function at 0x4066c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
test esi, esi
je 0x4066fb
push esi
call dword [0x41f22c]
test eax, eax
je 0x4066fb
push esi
call fcn.0040c500
add esp, 4
test eax, eax
je 0x4066fb
push esi
call fcn.0040cac0
add esp, 4
test eax, eax
jne 0x4066fb
call fcn.0040c3f0
push eax
push esi
call fcn.0040c400
add esp, 8
xor eax, eax
ret
push 5
push 0
push 0
push esi
push 0
push 0
call dword [0x41f210]
ret
Function at 0x407150
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [0x428c34]
push 5
push eax
call dword [0x41f2f4]
mov ebp, dword [esi + 4]
lea ebx, [esi + 4]
mov edi, eax
call fcn.00403fc0
test eax, eax
je 0x40717e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push ebp
push eax
call edx
mov eax, dword [ebx]
mov ebp, dword [0x41f2bc]
push edi
push 1
push 0x80
push eax
call ebp
mov ecx, dword [ebx]
push edi
push 0
push 0x80
push ecx
call ebp
mov edx, dword [ebx]
mov edi, dword [0x41f304]
push 0x3ea
push edx
call edi
test eax, eax
je 0x4071b8
mov dword [esi + 0x490], eax
mov eax, dword [ebx]
push 0x3eb
push eax
call edi
test eax, eax
je 0x4071cc
mov dword [esi + 0x494], eax
mov ecx, dword [esi + 0x490]
mov ebp, dword [0x41f314]
push 0
push ecx
call ebp
mov edx, dword [esi + 0x494]
push 0x42164c
push edx
call dword [0x41f244]
call fcn.00408d60
mov eax, esi
call fcn.00408e50
mov edi, esi
call fcn.00408f40
push esi
call fcn.00409110
push ebx
call fcn.00403d20
push 0
push 0
push 1
push 0
call dword [0x41f078]
mov dword [esi + 0x4a4], eax
test eax, eax
je 0x40727f
call fcn.004094f0
cmp dword [esi + 0x54], 0
jne 0x40723a
mov eax, dword [ebx]
push 0
push eax
call ebp
jmp 0x40724a
mov ecx, dword [ebx]
push 5
push ecx
call ebp
mov edx, dword [ebx]
push edx
call dword [0x41f280]
cmp dword [esi + 0x54], 0
je 0x407255
call fcn.00409570
mov ecx, esi
call fcn.00407960
test eax, eax
jne 0x40727f
mov eax, dword [ebx]
push eax
call dword [0x41f2a8]
test eax, eax
je 0x40727f
mov ecx, dword [ebx]
push 0
push 0
push 0x40e
push ecx
call dword [0x41f270]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x407290
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 0x34], 0
je 0x4072b3
mov eax, dword [ecx - 0x1c]
push 1
push 0
push eax
mov dword [ecx + 0x38], 0
call dword [0x41f294]
mov eax, 1
ret 4
mov ecx, dword [ecx - 0x1c]
push 0
push ecx
call dword [0x41f314]
mov eax, 1
ret 4

Function at 0x4078a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi - 0x1c]
push edi
mov edi, dword [0x41f2a8]
push eax
call edi
test eax, eax
je 0x4078c0
mov ecx, dword [esi - 0x1c]
push 1
push ecx
call dword [0x41f278]
cmp dword [esi + 0x2c], 0
je 0x4078ec
mov edx, dword [esi - 0x1c]
push edx
call edi
test eax, eax
je 0x407954
mov eax, dword [esi - 0x1c]
push 0
push 0
push 0x40e
push eax
call dword [0x41f270]
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x30]
cmp eax, 3
jne 0x40792b
mov ecx, dword [esi + 0x47c]
push 0
push ecx
mov dword [esi + 0x38], eax
call dword [0x41f314]
mov edx, dword [esi + 0x474]
push 0x421788
push edx
call dword [0x41f244]
mov eax, dword [esi - 0x1c]
push 1
push 0
push eax
call dword [0x41f294]
pop edi
pop esi
ret 0xc
cmp eax, 1
jne 0x407943
cmp dword [esi + 0x34], 0
je 0x40794c
add esi, 0xffffffe0
call fcn.00407f30
pop edi
pop esi
ret 0xc
test eax, eax
jne 0x407954
cmp dword [esi + 0x34], eax
jne 0x407954
add esi, 0xffffffe0
call fcn.004096b0
pop edi
pop esi
ret 0xc
Function at 0x408720
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41d466
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4273d0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebp
push esi
push edi
mov eax, dword [0x4273d0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
mov eax, dword [ebp + 0x58]
cmp eax, 3
jne 0x4087ca
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x56]
push ecx
mov dword [esp + 0x1c], 0
mov word [esp + 0x58], ax
call fcn.0040f070
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.softwaremicrosoftwindowscurrentversion_app_paths360zip.exe
push 0x80000002
mov dword [esp + 0x2c], 0x104
call dword [0x41f224]
test eax, eax
jne 0x408891
lea esi, [esp + 0x4c]
call fcn.004066c0
jmp 0x408891
cmp eax, 8
je 0x4087e2
cmp eax, 7
je 0x4087f1
cmp eax, 4
je 0x4087e2
cmp eax, 1
jne 0x408891
cmp eax, 7
je 0x4087f1
cmp eax, 4
je 0x4087f1
cmp eax, 1
jne 0x40886f
lea edx, [esp + 0x18]
push edx
call fcn.00404280
push ecx
mov dword [esp + 0x268], 0
mov eax, esp
mov dword [esp + 0x14], esp
push eax
mov ecx, str.ck_WGS
call fcn.004058a0
push ecx
mov ecx, esp
mov byte [esp + 0x26c], 1
mov dword [esp + 0x1c], esp
push ecx
mov ecx, 0x421794
call fcn.004058a0
lea esi, [esp + 0x20]
mov byte [esp + 0x26c], 0
call fcn.00404340
call dword [0x41f31c]
push eax
mov edi, esi
call fcn.00405ca0
cmp eax, 2
mov dword [esp + 0x264], 0xffffffff
mov eax, esi
jne 0x40886a
call fcn.00404910
jmp 0x4088b2
call fcn.00404910
mov eax, dword [ebp + 0x26c]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov esi, esp
call fcn.00406010
add eax, 0x10
mov dword [esi], eax
call fcn.0040b6e0
add esp, 4
mov edx, dword [ebp + 4]
push edx
call dword [0x41f2a8]
test eax, eax
je 0x4088b2
mov eax, dword [ebp + 4]
push 0
push 0
push 0x40e
push eax
call dword [0x41f270]
xor eax, eax
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0040dfa7
add esp, 0x258
ret 4

Function at 0x4088e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x4a4]
push eax
call dword [0x41f170]
mov ecx, dword [esi + 0x490]
push 0
push ecx
call dword [0x41f314]
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [0x41f294]
xor eax, eax
ret