joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435440
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46def8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042fd40
test eax, eax
je 0x435548
lea ecx, [esp + 0xc]
call fcn.00409e10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042fd40
mov ecx, eax
call fcn.0042d500
test eax, eax
je 0x43552f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43552f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43552f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0040a010
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x435511
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43552f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x49cd18]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x472c08
call fcn.0040a010
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x435590
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042fd40
test eax, eax
je 0x43567f
mov ecx, edi
call fcn.0042fd40
mov ecx, eax
call fcn.0042d3b0
test eax, eax
jne 0x43567f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43567f
mov eax, dword [0x49cd18]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4355f2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042fd40
mov ecx, eax
call fcn.0042d5e0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43567f
cmp ebx, eax
jne 0x43567f
cmp dword [esp + 0x10], eax
jne 0x435665
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4382b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e188
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4382e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4383fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4382fd
mov eax, 0xffffffc7
jmp 0x4383fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43830e
cmp dword [esi + 8], eax
jne 0x4382fd
cmp dword [esi + 8], eax
jne 0x438327
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x438327
mov eax, 0xffffffc7
jmp 0x4383fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43833b
push eax
mov ecx, ebx
call fcn.00437ae0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00409e10
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43836c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00409e30
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00437250
test eax, eax
mov dword [esp + 0x38], eax
je 0x43839f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x472c08
call fcn.0040a010
mov eax, dword [esp + 0x38]
jmp 0x4383fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00438110
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4383e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00438130
mov esi, eax
test esi, esi
jne 0x438413
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00438110
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4383b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x472c08
call fcn.0040a010
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x472c08
call fcn.0040a010
mov eax, esi
jmp 0x4383fe

Function at 0x43b540
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43b5a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43b5a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43b5a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43b5a0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43b5e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4414f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004676d8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440e90
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00467606
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00463eca
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00463eca
push 1
push 0
push 0
mov ecx, esi
call fcn.00463e72
push 1
push 0
push 1
mov ecx, esi
call fcn.00463e72
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046774a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441670
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004676d8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440e90
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00467606
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x441734
cmp dword [esp + 0x40], 1
jne 0x441732
cmp ecx, eax
jge 0x441734
mov eax, ecx
cmp eax, 0xc8
jge 0x441740
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004414f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046774a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441ec0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004622ea
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00467980
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00468f01
test eax, eax
je 0x441fdc
mov ecx, dword [esp + 0x3c]
call fcn.004679ad
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441fa0
push edi
mov ecx, esi
call fcn.00465011
mov ecx, esi
call fcn.00442140
cmp dword [esp + 0x38], 1
jne 0x441fd5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046514c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x444a00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444a33
push esi
call fcn.00447af0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x444a2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444ab9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444aa2
mov eax, dword [esi + 8]
test eax, eax
je 0x444a57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x444a9e
cmp eax, 2
je 0x444aa2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x444a4a
cmp eax, 3
je 0x444a7d
cmp eax, 1
jne 0x444a4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x444a4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x444a4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444ae0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444ac8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444ae0
add esp, 4
pop esi
ret

Function at 0x4630e0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x463118
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00461194
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046116c
jmp 0x463124
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4647ce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x464810
call fcn.0046a2ec
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464810
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464807
xor eax, eax
jmp 0x464818
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046481e
pop edi
pop esi
pop ebx
ret 4

Function at 0x46a81c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46a84a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a868
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046a782
jmp 0x46a868
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46a868
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046a782
test edi, edi
mov eax, edi
jne 0x46a852
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401172
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], cx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x54], 0x44
push eax
push 0x24
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [ebp - 0x50], eax
push eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4011f0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
leave
ret
xor eax, eax
leave
ret
Function at 0x401dea
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x409534], 0
push esi
jne 0x401e21
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x401dfb
mov dword [ecx*4 + 0x409530], eax
inc ecx
cmp ecx, 0x100
jl 0x401df6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x401e52
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x409530]
xor eax, esi
inc ecx
dec edx
jne 0x401e34
pop edi
not eax
pop esi
ret 0xc
Function at 0x4037c8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
xor ebx, ebx
push 8
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40383a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x403813
cmp dword [ebp + 0x10], ebx
jne 0x403841
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.004037c8
test eax, eax
jne 0x403825
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4037fa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x40383a

Function at 0x4038ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
push edi
lea eax, [ebp - 0x1c]
push 0x1c
push eax
call fcn.00403d62
test eax, eax
je 0x4039ad
lea eax, [ebp - 0x1c]
push eax
call fcn.004038b0
test eax, eax
je 0x4039ad
push dword [ebp - 8]
call fcn.004063bc
mov esi, eax
lea eax, [ebp - 0x120]
xor edi, edi
push eax
push edi
push 0x40909c
push 0x79fb20
mov byte [0x40b310], 0xb
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
push 0x4000100
push 2
push edi
push edi
lea eax, [ebp - 0x120]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x4090a4], eax
jne 0x403971
mov eax, str.Error_writing_temp_file
jmp 0x4039b2
push 1
push edi
call fcn.00403d94
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 8]
and ecx, 1
mov dword [0x795bd0], eax
shl ecx, 2
sub eax, ecx
mov ecx, dword [ebp - 4]
push esi
push edi
lea eax, [eax + ecx - 0x1c]
push 0xffffffffffffffff
mov dword [0x795bcc], eax
call fcn.00403a37
cmp eax, dword [ebp - 8]
je 0x4039b6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, str.Installer_corrupted_or_incomplete._r_n_r_nThis_could_be_the_result_of_a_failed_download_or_corruption_from_a_virus._r_n_r_nIf_desperate__try_the__NCRC_command_line_switch__NOT_recommended_
pop edi
pop esi
leave
ret
mov eax, dword [0x795bc8]
mov dword [0x79ff40], esi
test byte [ebp - 0x1c], 2
mov dword [0x795bd4], eax
je 0x4039d7
inc dword [0x79ff4c]
lea ecx, [esi + 0x4c]
jmp 0x4039ee
lea eax, [esi + 0x94]
mov dword [0x79ff5c], eax
mov ecx, dword [esi + 0x84]
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*8]
mov dword [0x79ff24], ecx
mov eax, dword [esi + 0x10]
imul eax, eax, 0x1c
add eax, ecx
mov dword [0x79ff3c], eax
mov ecx, dword [esi + 8]
imul ecx, ecx, 0x1c
add ecx, eax
xor eax, eax
mov dword [0x7a0790], ecx
jmp 0x4039b2
Function at 0x403a37
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x403a64
mov ecx, dword [0x795bd4]
push edi
add eax, ecx
push edi
push eax
mov dword [0x795bc8], eax
push dword [0x4090a4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00403b62
cmp eax, edi
jl 0x403b5b
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x4090a4]
call ebx
test eax, eax
je 0x403b58
cmp dword [ebp - 4], esi
jne 0x403b58
push dword [ebp + 8]
add dword [0x795bc8], esi
call fcn.00403b62
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403b5b
cmp dword [ebp + 0x10], edi
jne 0x403b27
cmp dword [ebp + 8], edi
jle 0x403b53
mov esi, 0x791bc8
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x403ad7
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x4090a4]
call ebx
test eax, eax
je 0x403b58
cmp edi, dword [ebp - 4]
jne 0x403b58
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403b23
cmp dword [ebp + 0x14], edi
jne 0x403b23
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x795bc8], eax
cmp dword [ebp + 8], 0
jg 0x403aca
jmp 0x403b53
push 0xfffffffffffffffe
jmp 0x403b5a
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403b32
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x4090a4]
call ebx
test eax, eax
je 0x403b58
mov eax, dword [ebp - 4]
add dword [0x795bc8], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403b5b
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x403b62
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x795bc8]
add eax, 0x1f4
sub esi, dword [0x40b2fc]
mov dword [esp + 0x18], eax
add esi, dword [esp + 0x24]
cmp esi, ebx
jle 0x403d56
push ebx
push dword [0x795bd0]
call fcn.00403d94
push ebx
push ebx
push dword [0x40b2fc]
push dword [0x4090a4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [0x7a078c], esi
mov dword [0x7a0780], ebx
mov edi, 0x40b2e0
mov eax, dword [0x795bcc]
mov esi, 0x4000
sub eax, dword [0x795bd0]
cmp eax, esi
jle 0x403be7
mov dword [esp + 0x14], esi
jmp 0x403bed
mov dword [esp + 0x14], eax
mov esi, eax
push esi
push 0x791bc8
call fcn.00403d62
test eax, eax
je 0x403d38
add dword [0x795bd0], esi
mov dword [0x40b300], 0x791bc8
mov dword [0x40b304], esi
mov eax, dword [0x79ff40]
cmp eax, ebx
je 0x403c99
cmp byte [eax + 0x42], bl
jne 0x403c99
cmp dword [esp + 0x10], ebx
je 0x403c5b
mov eax, dword [0x7a078c]
sub eax, dword [0x795bc8]
sub eax, dword [esp + 0x24]
add eax, dword [0x40b2fc]
mov dword [0x7a0780], eax
jmp 0x403c4d
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
push ebx
push edi
call ebp
test eax, eax
jne 0x403c46
jmp 0x403c99
push 4
push dword [0x7a0788]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x404714
je 0x403c99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x18]
jbe 0x403c99
push str.unpacking_data:__d__
push 0x403dad
push ebx
push 0x6f
push dword [0x798f00]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esp + 0x10], eax
push 0x40b300
mov dword [0x40b308], 0x789bc8
mov dword [0x40b30c], 0x8000
call section..text
test eax, eax
jl 0x403d41
mov esi, dword [0x40b308]
mov eax, 0x789bc8
sub esi, eax
je 0x403d00
lea ecx, [esp + 0x1c]
push ebx
push ecx
push esi
push eax
push dword [0x4090a4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403d3d
cmp esi, dword [esp + 0x1c]
jne 0x403d3d
add dword [0x40b2fc], esi
cmp dword [0x40b304], ebx
jne 0x403c16
jmp 0x403d0e
cmp dword [0x40b304], ebx
jne 0x403d41
cmp dword [esp + 0x14], ebx
je 0x403d41
mov eax, dword [0x795bc8]
mov ecx, eax
sub ecx, dword [0x40b2fc]
add ecx, dword [esp + 0x24]
test ecx, ecx
jg 0x403bcd
push ebx
push ebx
push eax
push dword [0x4090a4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403d46
or eax, 0xffffffff
jmp 0x403d58
push 0xfffffffffffffffe
jmp 0x403d43
push 0xfffffffffffffffd
pop eax
jmp 0x403d58
cmp dword [esp + 0x10], ebx
je 0x403d56
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4