joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
push edi
sub eax, 0
je 0x4056df
sub eax, 1
jne 0x405873
cmp dword [ebp + 0xc], 0x87
jne 0x405873
push dword [ebp + 0x14]
mov dword [esi + 0x40], 1
call fcn.00407190
mov dword [ebx], eax
jmp 0x405869
mov eax, dword [ebp + 0xc]
cmp eax, 5
jne 0x405753
lea edi, [esi + 0x20]
neg edi
sbb edi, edi
and edi, esi
cmp byte [esi + 0x3c], 0
mov esi, dword [ebp + 0x10]
je 0x405726
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x405717
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40572b
test esi, esi
jne 0x405726
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40572b
cmp esi, 1
je 0x405773
mov edx, dword [ebp + 0x14]
lea ecx, [edi + 0x20]
mov eax, edx
shr eax, 0x10
cwde
push eax
movsx eax, dx
push eax
call fcn.00403500
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x405785
cmp dword [esi + 0x34], 0xffffffff
je 0x405773
cmp dword [esi + 0x38], 0xffffffff
je 0x405773
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x110
jne 0x4057ac
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [esi + 0x40], 1
mov dword [ecx], eax
mov ecx, esi
call fcn.004071c0
mov dword [ebx], eax
jmp 0x405869
cmp eax, 2
jne 0x4057c2
mov dword [esi + 0x40], 1
call fcn.00406360
jmp 0x405863
cmp eax, 0x111
jne 0x405873
mov eax, dword [ebp + 0x10]
mov ecx, 0x300
mov edi, eax
shr edi, 0x10
cmp cx, di
jne 0x40581c
mov ecx, 0x3f0
cmp cx, ax
jne 0x40581c
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [esi + 0x40], 1
push 0x3f0
push 0x300
mov dword [eax], ecx
mov ecx, esi
call fcn.00404330
mov dword [ebx], 0
cmp dword [esi + 0x40], 0
jne 0x405779
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov ecx, 1
cmp cx, ax
jne 0x405840
push ecx
mov eax, esp
mov dword [esi + 0x40], ecx
mov ecx, dword [ebp + 0x14]
push 1
push edi
mov dword [eax], ecx
mov ecx, esi
call fcn.004073f0
jmp 0x405863
mov ecx, 2
cmp cx, ax
jne 0x405873
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [esi + 0x40], 1
push 2
push edi
mov dword [eax], ecx
mov ecx, esi
call fcn.00407060
mov dword [ebx], 0
cmp dword [esi + 0x40], 0
jne 0x405779
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x405c10
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423d50
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x431078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov al, byte [ebp + 0x14]
mov byte [edi + 0xc], al
mov al, byte [ebp + 0x18]
mov byte [edi + 0xd], al
mov al, byte [ebp + 0x1c]
mov byte [edi + 0xe], al
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov byte [ebp - 4], 1
mov ecx, edi
mov byte [edi + 0x2c], 0
mov edx, 0x431c98
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x405d86
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x405d90
mov dword [edi + 0x24], eax
lea eax, [edi + 0x20]
push eax
push 4
push edi
push 0x4060f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x1c], 0
je 0x405d9b
mov eax, dword [edi + 0x1c]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [ebp + 0x14]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x405d70
mov ebx, dword [ebp + 0x24]
cmp esi, ebx
je 0x405d44
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405d3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, ebx
jne 0x405d20
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x28]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x405d66
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405da6
push ecx
push esi
call fcn.00413019
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x80004005
call fcn.00402f20
call fcn.00405e20
push eax
call fcn.00402f20
call fcn.00405e20
push eax
call fcn.00402f20
call fcn.004166ee
int3
Function at 0x4073f0
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423f05
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x431078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
push 0x3f0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [ebp - 4], 0
call fcn.00403eb0
mov ecx, eax
test ecx, ecx
je 0x4075cc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x4075c2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x407484
push ebx
lea ecx, [ebp - 0x18]
call fcn.00404f50
mov esi, dword [ebp - 0x18]
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x4074a6
test esi, esi
jne 0x40749a
xor eax, eax
jmp 0x4074ae
push dword [esi - 8]
push esi
call fcn.00416833
add esp, 8
test eax, eax
js 0x4075c2
cmp eax, dword [esi - 8]
lea edi, [esi - 0x10]
jg 0x4075c2
xor ecx, ecx
mov dword [edi + 4], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401bc0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.00406930
add esp, 4
xor esi, esi
push esi
push pe_nt_image_headers32
push 2
push esi
push 1
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40750a
call fcn.00405e20
test eax, eax
jns 0x40750c
jmp 0x407556
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 2
push 0x4258a8
push esi
call ebx
test eax, eax
jne 0x40752f
call fcn.00405e20
test eax, eax
js 0x40754b
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 0
push edx
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push esi
call ebx
test eax, eax
jne 0x40754b
call fcn.00405e20
test esi, esi
je 0x407556
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407573
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40758d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4075ae
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00402f20
push 0x80004005
call fcn.00402f20
int3
Function at 0x408f20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4240e0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x431078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
or ebx, 0x2001f
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea edx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push edx
push ebx
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test esi, esi
jne 0x4090ae
xor esi, esi
test eax, eax
je 0x408fc4
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x224]
and ebx, 0x300
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
test esi, esi
jne 0x4090ae
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x409067
jmp 0x409020
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00408f20
mov esi, eax
test esi, esi
jne 0x4090a8
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x409020
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x40907e
push eax
call edi
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.00408610
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x4090b5
push ecx
jmp 0x4090b3
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x4090b5
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041345d
mov esp, ebp
pop ebp
ret 4
Function at 0x409280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42412b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x431078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x40932c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x40932c
call fcn.00405e20
mov edi, eax
jmp 0x40944b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40934f
call fcn.00405e20
jmp 0x40943e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40936d
call fcn.00405e20
jmp 0x40943e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40938e
mov edi, 0x8007000e
jmp 0x409440
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x409484
jb 0x4093ac
cmp eax, 0xffffffff
ja 0x409484
cmp eax, 0x400
jbe 0x4093c1
push eax
lea ecx, [ebp - 0x418]
call fcn.00408480
jmp 0x4093e7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x4093e7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4093fe
mov edi, 0x8007000e
jmp 0x409440
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40941e
call fcn.00405e20
jmp 0x40943e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004090e0
mov edi, eax
test esi, esi
je 0x40944b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x409464
lea ecx, [ebp - 0x418]
call fcn.004087e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041345d
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00402f20
int3
Function at 0x40cbb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x40cc2d
mov esi, dword [ebp + 8]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40cbe7
push edi
mov ecx, esi
call fcn.00404f50
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x40cc0e
mov ecx, dword [esi]
test ecx, ecx
je 0x40cc12
push dword [ecx - 8]
push ecx
call fcn.00416833
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x40cc2d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40cc2d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00402f20
int3
Function at 0x40d290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4243f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x431078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffc0e
mov dword [ebp - 0x10], ebx
js 0x40d473
mov ecx, dword [edi + 0x68]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x64]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x40d473
mov dword [ebp - 4], 0
call fcn.00403eb0
mov ecx, eax
test ecx, ecx
je 0x40d487
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x24]
call fcn.0040cbb0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0xb0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jge 0x40d380
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040d0a0
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0040b7f0
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d380
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov byte [edi + 0x80], 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x64]
push dword [eax + ecx*8 + 0x14]
lea esi, [eax + ecx*8]
push dword [esi + 0x10]
push dword [ebp + 0xc]
push dword [esi]
call fcn.00411ad0
add esp, 0x10
test al, al
jne 0x40d450
lea ecx, [ebp - 0x18]
call fcn.00401c80
push 0xec
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00403fe0
lea ecx, [ebp - 0x10]
call fcn.00401c80
push 0xee
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00403fe0
push 1
push 0x425638
lea ecx, [ebp - 0x10]
call fcn.004024a0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004024a0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
push 0x10
push edi
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40d436
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40d44d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40d473
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00402f20
int3
Function at 0x40da70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40da84
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
push edi
xor edi, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40da90
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x42
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40db0c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40db03
push dword [ebp - 4]
push dword [ebp + 8]
push eax
call fcn.00413f40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40db03
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40db03
mov edi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e150
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0xc], edi
shl eax, cl
cmp edx, eax
ja 0x40e28f
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 4], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0040df30
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp edx, ebx
je 0x40e26a
mov ecx, edx
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul esi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor esi, eax
imul eax, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, eax
mov eax, dword [edi + 0xc]
mov edi, dword [eax + esi*8]
lea ebx, [eax + esi*8]
mov dword [ebp + 8], ebx
cmp edi, dword [ebp - 4]
jne 0x40e1ec
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
jmp 0x40e25c
mov eax, dword [ebx + 4]
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
jne 0x40e225
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x40e220
mov edi, dword [ecx + 4]
mov ebx, dword [ebp - 8]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov dword [ebx + 4], ecx
jmp 0x40e25c
mov esi, eax
cmp edi, eax
je 0x40e23f
movzx ebx, word [ecx + 8]
nop
mov eax, dword [eax + 4]
mov esi, eax
cmp bx, word [eax + 8]
je 0x40e273
cmp edi, eax
jne 0x40e230
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, edx
mov edi, dword [ebp - 0xc]
cmp edx, dword [ebp - 4]
jne 0x40e1b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 4]
mov ebx, dword [eax]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x40e25c
push str.invalid_hash_bucket_count
call fcn.00412fc4
int3
Function at 0x40e5c0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test ebx, ebx
je 0x40e674
cmp ebx, 0x103
ja 0x40e674
mov edi, dword [ebp + 8]
lea esi, [esi + ebx*2]
test edi, edi
je 0x40e5ff
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add ebx, eax
add ebx, 4
cmp ebx, 0x103
ja 0x40e674
test edi, edi
je 0x40e62f
movzx eax, word [edi]
test ax, ax
je 0x40e62f
sub edi, esi
jmp 0x40e620
mov word [esi], ax
add esi, 2
movzx eax, word [edi + esi]
test ax, ax
jne 0x40e620
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx edi, ax
mov eax, edi
mov dword [ebp - 4], eax
lea ecx, [ecx]
movzx eax, di
push eax
push str._04X
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40e67d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x40e674
inc edi
cmp di, word [ebp - 4]
jne 0x40e640
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f320
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x431078]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x450], eax
jne 0x40f380
mov eax, 0x22
mov word [ebp - 0x448], ax
lea eax, [ebp - 0x446]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.___S__UPDATE
lea eax, [ebp - 0x448]
push eax
call edi
jmp 0x40f392
push str._S__UPDATE
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x44c]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallTextify
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f3c2
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40f3df
push str.__PORTABLE__D
lea eax, [ebp - 0x448]
push eax
call edi
push dword [ebp - 0x450]
lea eax, [ebp - 0x448]
push eax
call edi
cmp dword [ebp + 0x14], 0
je 0x40f41c
push 1
push 0
lea eax, [ebp - 0x448]
push eax
push esi
push str.runas
push dword [ebp - 0x454]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
pop edi
setg cl
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041345d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x494], 0
push eax
lea eax, [ebp - 0x498]
mov dword [ebp - 0x490], 0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x448]
mov dword [ebp - 0x48c], 0
push eax
push esi
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x498], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40f502
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041345d
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x4a4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4a8]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0041345d
mov esp, ebp
pop ebp
ret