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

Disassembly:
push 0xffffffffffffffff
push 0x4421c0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0xffffffff
lea esi, [esp + 0x1c]
mov dword [esp + 0x58], 2
call fcn.00402530
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0xc]
mov ecx, esi
mov byte [esp + 0x58], 3
call fcn.00403020
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x4036ec
xor esi, esi
jmp 0x4036fb
mov esi, dword [esp + 0x14]
push eax
sub esi, eax
call fcn.0042e0ba
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x403718
push eax
call fcn.0042e0ba
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
je 0x403735
push eax
call fcn.0042e0ba
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
je 0x403752
push eax
call fcn.0042e0ba
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret
Function at 0x4049f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443ce6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.00408360
mov dword [esi + 4], eax
mov byte [eax + 0x35], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], eax
mov word [esi + 0x14], ax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4088b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x440c58
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor esi, esi
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
push esi
mov eax, ebx
mov ecx, edi
mov word [edi + 4], si
call fcn.004019b0
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [ebx + 0x20]
lea esi, [edi + 0x20]
call fcn.00407930
mov cl, byte [ebx + 0x30]
mov byte [edi + 0x30], cl
mov dl, byte [ebx + 0x31]
mov byte [edi + 0x31], dl
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 0x408e70
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4420cb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov edi, dword [esi]
test edi, edi
je 0x408eb9
push edi
call fcn.0042b35f
push edi
call fcn.0042e0ba
add esp, 4
mov dword [esi], 0
cmp dword [esi + 0x18], 0
mov edi, 8
je 0x408ed8
cmp dword [esi + 0x1c], edi
jb 0x408ece
mov eax, dword [esi + 8]
jmp 0x408ed1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi + 0x1c], edi
jb 0x408ee9
mov eax, dword [esi + 8]
push eax
call fcn.0042e0ba
add esp, 4
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x409270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x443c2c
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 0x2d
mov edi, 7
push str._programfiles_Internet_Exploreriexplore.exe
lea esi, [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00401aa0
mov dword [esp + 0x84], 1
push 0x32
push str._programfiles_x86__Internet_Exploreriexplore.exe
lea esi, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00401aa0
mov dword [esp + 0x84], 2
lea esi, [esp + 0x3c]
lea esp, [esp]
push esi
lea edi, [esp + 0x24]
call fcn.004099c0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x8c], 3
call fcn.004019b0
mov byte [esp + 0x84], 2
cmp dword [esp + 0x38], 8
jb 0x40934c
mov eax, dword [esp + 0x24]
push eax
call fcn.0042e0ba
add esp, 4
mov ecx, esi
call fcn.0042b195
test al, al
jne 0x4093b8
add ebx, 1
add esi, 0x1c
cmp ebx, 2
jb 0x409310
push fcn.00401950
push 2
xor eax, eax
push 0x1c
lea edx, [esp + 0x48]
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], eax
mov word [ebp + 4], ax
push edx
mov dword [esp + 0x28], 1
mov byte [esp + 0x94], 0
call fcn.0042e37b
mov eax, ebp
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042e4b4
add esp, 0x74
ret 4
lea eax, [ebx*8]
sub eax, ebx
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
lea eax, [esp + eax*4 + 0x40]
push 0
mov ecx, ebp
mov word [ebp + 4], 0
call fcn.004019b0
push fcn.00401950
push 2
push 0x1c
lea ecx, [esp + 0x48]
push ecx
jmp 0x409380

Function at 0x409740
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x441758
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.004019b0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409794
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00409640
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.004019b0
cmp dword [esp + 0x24], 8
jb 0x4097da
mov eax, dword [esp + 0x10]
push eax
call fcn.0042e0ba
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 0x409ae0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x442058
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push esi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
mov eax, dword [esp + 0x648]
xor ebx, ebx
mov dword [edi], ebx
mov ecx, 7
mov dword [edi + 0x20], ecx
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x10], edi
mov word [edi + 0xc], bx
lea esi, [edi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x54], ebx
mov word [edi + 0x44], bx
push 0xffffffffffffffff
lea ecx, [edi + 0x5c]
mov byte [esp + 0x644], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00406630
push ebx
mov byte [esp + 0x644], 3
call fcn.0042e9fb
push eax
call fcn.0042e9cc
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.0042fcc0
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x409c4a
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.0042fcc0
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x409c21
cmp eax, ebx
je 0x409c21
push esi
lea edx, [esp + 0x224]
mov word [esp + eax*2 + 0x224], bx
call fcn.00401980
jmp 0x409c4a
lea eax, [esp + 0x14]
lea edx, [eax + 2]
jmp 0x409c30
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409c30
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00401aa0
mov eax, dword [edi + 0x38]
cmp eax, ebx
je 0x409c81
lea ebp, [eax - 1]
cmp ebp, dword [esi + 0x14]
jbe 0x409c5e
call fcn.0042e886
cmp dword [esi + 0x18], 8
jb 0x409c69
mov eax, dword [esi + 4]
jmp 0x409c6c
lea eax, [esi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x409c81
push 1
push 0x4471d0
mov ecx, esi
call fcn.00409640
cmp dword [edi + 0x38], ebx
jne 0x409c92
push 3
push 0x4474e0
call fcn.00401aa0
mov eax, edi
mov dword [edi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.0042e4b4
add esp, 0x634
ret 4
Function at 0x409cc0
Capabilities:
Delete file

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x54], ebx
push ebp
mov ebp, 8
je 0x409ce2
cmp dword [esi + 0x58], ebp
jb 0x409cd8
mov eax, dword [esi + 0x44]
jmp 0x409cdb
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x74], 0x10
jb 0x409cf4
mov eax, dword [esi + 0x60]
push eax
call fcn.0042e0ba
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
cmp dword [esi + 0x58], ebp
jb 0x409d12
mov ecx, dword [esi + 0x44]
push ecx
call fcn.0042e0ba
add esp, 4
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
cmp dword [esi + 0x3c], ebp
jb 0x409d31
mov edx, dword [esi + 0x28]
push edx
call fcn.0042e0ba
add esp, 4
mov dword [esi + 0x3c], 7
mov dword [esi + 0x38], ebx
mov word [esi + 0x28], bx
cmp dword [esi + 0x20], ebp
jb 0x409d50
mov eax, dword [esi + 0xc]
push eax
call fcn.0042e0ba
add esp, 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 7
pop ebp
mov word [esi + 0xc], bx
pop ebx
ret
Function at 0x40c590
Capabilities:
Check http status code

Disassembly:
sub esp, 8
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp], 0
mov dword [esp + 4], 4
je 0x40c5d8
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
setne al
test al, al
je 0x40c5d8
cmp dword [esp], 0xc8
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret

Function at 0x40c6c0
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x40c6ff
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x40c6ff
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x40dd80
Capabilities:
Get file version info

Disassembly:
sub esp, 0x28
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x453c34]
test eax, eax
je 0x40ddaa
mov dword [ebx], eax
mov al, 1
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042e4b4
add esp, 0x28
ret
mov eax, dword [str.mshtml.dll]
mov ecx, dword [0x4478c0]
mov edx, dword [0x4478c4]
mov dword [esp + 0xc], eax
mov eax, dword [0x4478c8]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x4478cc]
push edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dx, word [0x4478d0]
push eax
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x2c], dx
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x40de82
push esi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x40de6f
mov edx, dword [esp + 0x10]
push esi
push edi
push edx
lea eax, [esp + 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40de68
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x4471d0
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40de68
cmp dword [esp + 8], 0
je 0x40de68
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0xa]
mov dword [0x453c34], eax
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov al, 1
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042e4b4
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
pop edi
xor ecx, esp
xor al, al
call fcn.0042e4b4
add esp, 0x28
ret
Function at 0x40eeb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x441272
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov edi, edx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x2a]
mov dword [esp + 0x240], ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov word [esp + 0x30], bx
call fcn.0042fcc0
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x18], 1
jb 0x40ef50
mov edi, dword [edi + 4]
jmp 0x40ef53
add edi, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40efaa
mov eax, dword [esp + 0x14]
cmp eax, 0x104
ja 0x40ef81
mov word [esp + eax*2 + 0x24], bx
jmp 0x40ef89
mov word [esp + 0x22c], bx
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ef90
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401aa0
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0042e4b4
add esp, 0x22c
ret 4
Function at 0x4121a5
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push esi
mov esi, ecx
jne 0x4122e8
mov eax, dword [esp + 0xc]
cmp eax, 0x110
jne 0x4121ce
push esi
call fcn.00412510
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
ret 0x18
cmp eax, 2
jne 0x4121e9
mov eax, esi
call fcn.004128c0
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x111
jne 0x412278
mov eax, dword [esp + 0x10]
cmp ax, 0x9c42
jne 0x412227
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esp + 0x18]
mov dword [edx], 0
mov eax, 1
pop esi
ret 0x18
cmp ax, 0x3ea
jne 0x412241
call fcn.00412800
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
ret 0x18
cmp ax, 2
jne 0x41225b
call fcn.00412850
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, 1
pop esi
ret 0x18
cmp ax, 1
jne 0x4122e8
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x464
jne 0x4122af
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
push edx
mov dword [ecx + 0x20], 1
call fcn.00413330
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
je 0x4122e8
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x113
jne 0x4122e8
cmp dword [esp + 0x10], 0xfa1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
jne 0x4122d1
mov eax, esi
call fcn.004133b0
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
jne 0x4121c5
xor eax, eax
pop esi
ret 0x18
Function at 0x412800
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x418], 0
je 0x41284a
lea ecx, [esi + 0x58]
push ecx
push 1
mov dword [esi + 0x64], 8
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x41284a
mov dword [esi + 0x418], 0
xor eax, eax
ret

Function at 0x412850
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov byte [esi + 0x2e], 1
cmp dword [esi + 0x480], 8
jb 0x41287e
mov eax, dword [esi + 0x46c]
jmp 0x412884
lea eax, [esi + 0x46c]
mov edx, dword [esi + 4]
push 0x124
push eax
push str._fT
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4128aa
mov eax, dword [esi + 4]
push 0
push eax
mov byte [esi + 0x2d], 1
call edi
xor eax, eax
mov byte [esi + 0x2e], al
pop edi
ret

Function at 0x4131b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x443958
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x30]
xor edi, edi
cmp eax, edi
je 0x4131ff
lea ecx, [ebx + 0x24]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x30]
call fcn.00409d70
test al, al
jne 0x413206
mov byte [ebx + 0x2d], 1
xor al, al
jmp 0x413303
mov eax, dword [ebx + 4]
push 0x3eb
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xb
push str.ck_W
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00401aa0
mov dword [esp + 0x38], edi
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x413263
lea eax, [esp + 0x14]
mov edx, dword [ebx + 4]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3ec
push edx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.004133f0
mov ecx, dword [ebx + 0x30]
call fcn.0040ad30
test al, al
jne 0x4132a8
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2d], 1
jb 0x4132a4
mov eax, dword [esp + 0x14]
push eax
call fcn.0042e0ba
add esp, 4
xor al, al
jmp 0x413303
push 6
push 0x447dcc
lea esi, [esp + 0x18]
call fcn.00401aa0
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x4132c7
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 4]
push eax
push 0x3ec
push ecx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.004133f0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2c], 1
jb 0x413301
mov edx, dword [esp + 0x14]
push edx
call fcn.0042e0ba
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042e4b4
add esp, 0x2c
ret
Function at 0x413f70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [esp + 0x424]
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, dword [esp + 0x430]
push edi
mov edi, edx
jb 0x413fa2
mov eax, dword [eax + 4]
jmp 0x413fa5
add eax, 4
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414052
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x414052
push 0x410
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], 0x40f
call fcn.0042fcc0
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x413ff7
mov edi, dword [edi + 4]
jmp 0x413ffa
add edi, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x41403a
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414020
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401aa0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x414049
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x414054
xor al, al
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042e4b4
add esp, 0x420
ret 8

Function at 0x414070
Capabilities:
Set registry value

Disassembly:
sub esp, 8
cmp dword [eax + 0x18], 8
push esi
push edi
mov esi, ecx
jb 0x414082
mov eax, dword [eax + 4]
jmp 0x414085
add eax, 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0x2001f
push 0
push 0x4471d4
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x414104
mov edi, dword [esp + 8]
test edi, edi
je 0x414104
mov ecx, dword [esi + 0x14]
add ecx, ecx
cmp dword [esi + 0x18], 8
jb 0x4140c7
mov edx, dword [esi + 4]
jmp 0x4140ca
lea edx, [esi + 4]
cmp dword [ebx + 0x18], 8
jb 0x4140d5
mov eax, dword [ebx + 4]
jmp 0x4140d8
lea eax, [ebx + 4]
push ecx
push edx
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x4140f7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
add esp, 8
ret
pop edi
xor al, al
pop esi
add esp, 8
ret

Function at 0x414110
Capabilities:
Delete registry key

Disassembly:
push ecx
cmp dword [edi + 0x18], 8
push esi
mov dword [esp + 4], 0
lea esi, [edi + 4]
jb 0x414127
mov eax, dword [esi]
jmp 0x414129
mov eax, esi
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41415e
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebx], 0
je 0x414163
mov byte [ebx + 1], 1
xor al, al
pop esi
pop ecx
ret
mov al, 1
pop esi
pop ecx
ret
cmp dword [edi + 0x18], 8
jb 0x41416b
mov esi, dword [esi]
push esi
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
sete al
pop esi
pop ecx
ret