joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425a10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, edx
mov dx, word [eax]
push edi
mov word [ebp - 0xc], dx
xor edx, edx
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - 0x290], ecx
lea ecx, [ebp - 0x2a8]
mov word [ebp - 6], dx
push ecx
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xa], 0x5c003a
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x425a80
mov edi, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x294]
shrd edi, ecx, 0x14
shr ecx, 0x14
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp edi, eax
jbe 0x425aa0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret
push str.reeSpace
push 0x485678
call fcn.004087e0
add esp, 8
push 0x485bf4
push eax
lea ecx, [esi + 0x8d20]
push ecx
call fcn.0040260f
push eax
call fcn.0040260f
mov eax, dword [esi]
push 0xa
push 0x40
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
push eax
call fcn.0045990c
push 0x485ab0
push 0x485aac
call fcn.004087e0
add esp, 0x18
mov esi, eax
call fcn.0041d470
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0041c860
mov eax, dword [eax]
test eax, eax
jne 0x425b10
mov eax, esi
lea ecx, [ebp - 0x8c]
push ecx
push eax
push 0x100
lea edx, [ebp - 0x28c]
push 0x100
push edx
call fcn.004595e4
mov ecx, dword [ebp - 0x290]
add esp, 0x14
push 0x10
push 0
lea eax, [ebp - 0x28c]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00458db6
mov esp, ebp
pop ebp
ret
Function at 0x426090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x8c2c], 2
je 0x4261dd
sub esp, 0x1c
lea ecx, [ebx + 0x24]
mov eax, esp
mov dword [ebp - 0x5c], esp
push ecx
call fcn.004025d0
lea esi, [ebp - 0x3c]
call fcn.00447fb0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x8c2c], 1
jne 0x4260fc
push str.einstallStart
push 0x484278
jmp 0x426106
push str.nstallStart
push 0x484dc4
call fcn.004087e0
add esp, 8
push eax
lea edx, [ebp - 0x3c]
push edx
xor ecx, ecx
mov edx, ebx
call fcn.004248c0
mov ecx, dword [ebx + 0x8c28]
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x3c]
call fcn.00448060
push 0x28
mov byte [ebp - 4], 1
call fcn.00459337
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
test esi, esi
je 0x426176
lea eax, [ebp - 0x58]
call fcn.0040263b
mov dword [ebp - 0x5c], eax
lea edi, [esi + 4]
mov eax, edi
call fcn.004025a9
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
push ecx
mov dword [esi], str.sendStart
call fcn.0040262a
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], 1
jmp 0x426178
xor esi, esi
mov byte [ebp - 4], 1
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, ebx
call edx
lea eax, [ebp - 0x64]
push eax
push 0
push esi
push fcn.00425b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, ebx
call fcn.004235c0
lea ecx, [ebp - 0x58]
call fcn.00402601
lea ecx, [ebp - 0x2c]
call fcn.00402601
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x60]
lea esi, [ebp - 0x3c]
call fcn.00426430
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004592db
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret

Function at 0x427c40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x44], 0
je 0x427c4d
mov al, 1
pop esi
ret
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi - 4]
mov eax, dword [edx + 0x38]
lea ecx, [esi - 4]
call eax
xor al, al
pop esi
ret
Function at 0x428340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b27b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x24
call fcn.00459337
add esp, 4
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4283af
mov eax, dword [esi - 0x808]
call fcn.00403e6c
mov edi, dword [eax + 4]
mov eax, dword [esi - 0x808]
mov ecx, dword [eax + 8]
mov ebx, dword [ecx + 4]
call fcn.00403e6c
mov ecx, dword [esi + 0x20]
push eax
mov eax, dword [ebp - 0x10]
push edi
push eax
mov edx, ebx
call fcn.00429580
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebx
mov eax, dword [edi + 8]
push 5
push eax
call ebx
mov ecx, dword [esi + 0x24]
add ecx, 0xaec
push ecx
call fcn.004079b0
add esp, 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
Function at 0x429900
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477531
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
lea edi, [esi + 0x30]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x190
mov dword [esi + 0x10], 0x19
mov dword [esi + 0x14], 0xbd
mov eax, edi
mov dword [esi], vtable.StageItemUIImpl.0
call fcn.004025a9
lea eax, [esi + 0x4c]
mov dword [ebp - 4], 0
call fcn.004025a9
mov ecx, dword [ebp + 0x18]
push ecx
push edi
mov byte [ebp - 4], 1
call fcn.0040260f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push eax
push 0x19
push 0x190
push edx
push 0xbd
push 0x50000000
push 0
push str.Static
push 0
mov dword [esi + 0x1c], eax
mov byte [esi + 0x28], 1
call edi
push 0
push 0
push 0
push eax
push 0x19
push 0x17c
push 0
push 0x14
push 0x50000000
push 0x484020
push str.Static
push 0
mov dword [esi + 4], eax
call edi
push 1
mov dword [esi + 0x20], eax
mov ecx, dword [ebx]
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
call fcn.00459337
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x429a1a
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
push 0
push 4
push 4
push ebx
push edx
push ecx
mov ecx, 0xb
push eax
lea ebx, [ecx - 2]
call fcn.0044d030
jmp 0x429a1c
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x24], eax
mov eax, dword [eax + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movzx ecx, word [ebp + 0x1c]
mov eax, dword [esi + 0x24]
mov edi, dword [eax + 0x50]
push 0x485cd8
push ecx
push edi
lea ebx, [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x429a58
push ebx
mov ecx, edi
call fcn.0044ce90
add esp, 4
fldz
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esi + 0x2c], 0
call fcn.00429b00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42b770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b70b
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.0046eb00
mov eax, dword [0x49b3d4]
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
lea eax, [ebp - 0x102c]
mov esi, ecx
mov ebx, edx
call fcn.004025a9
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
lea edx, [ebp - 0x102c]
lea ecx, [ebp - 0x1010]
mov word [ebp - 0x1010], ax
call fcn.0042d290
cmp dword [ebp - 0x101c], edi
jne 0x42b85e
push 0x18
mov dword [ebp - 0x1030], edi
call fcn.00459337
add esp, 4
cmp eax, edi
je 0x42b7fc
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 1
mov edi, eax
lea ecx, [ebp - 0x1030]
push ecx
push 0
push edi
push fcn.0042ab10
mov dword [edi + 0xc], esi
push 0
add esi, 0x14
push 0
mov dword [edi + 8], 0
mov dword [edi + 4], ebx
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x42b84f
push 0x485bf4
push str.installJreInThread_fail
add ebx, 0x8d20
push ebx
call fcn.0040260f
push eax
call fcn.0040260f
push edi
call fcn.0042ab10
lea ecx, [ebp - 0x102c]
call fcn.00402601
mov eax, esi
jmp 0x42b8ba
push str.exists_
add ebx, 0x8d58
push ebx
call fcn.0040260f
push 0x485bf4
mov ecx, eax
push edi
lea edx, [ebp - 0x102c]
push edx
or eax, 0xffffffff
mov edi, ecx
call fcn.00403074
push eax
call fcn.0040260f
cmp dword [esi + 8], 0
je 0x42b8ad
mov esi, dword [esi + 8]
fld dword [0x48d2c8]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push 0x64
push 0
mov ecx, esi
call edx
lea ecx, [ebp - 0x102c]
call fcn.00402601
xor eax, eax
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.00458db6
mov esp, ebp
pop ebp
ret
Function at 0x42b9a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x479fd1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x49b3d4]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 8], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
je 0x42ba1e
mov ecx, dword [edi + 8]
fldz
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 0
push 2
call eax
cmp dword [edi + 8], 0
je 0x42ba1e
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x52
call eax
call fcn.00423670
mov esi, dword [esp + 0x10]
call fcn.00423670
mov eax, dword [esp + 0x14]
call fcn.0040263b
push eax
lea eax, [esp + 0x1c]
call fcn.004025d0
lea esi, [ebx + 0x80c]
mov dword [esp + 0x288], 0
cmp word [esi], 0
jne 0x42ba90
cmp word [ebx + 0x604], 0
jne 0x42ba68
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
push 0x104
push esi
lea eax, [ebx + 0x604]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x42ba84
xor ecx, ecx
mov word [esi], cx
cmp word [esi], 0
jne 0x42ba90
lea esi, [ebx + 0x604]
push str.core
push esi
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.0042a1c0
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x288], 0xffffffff
call fcn.00402601
cmp dword [edi + 8], 0
je 0x42bae7
mov ecx, dword [edi + 8]
fld dword [0x48d2d4]
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 0x32
push 2
call eax
cmp dword [edi + 8], 0
je 0x42bae7
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x55
call eax
mov eax, dword [esp + 0x10]
call fcn.0040263b
push eax
lea eax, [esp + 0x54]
call fcn.004025d0
push str.plugin
mov esi, ebx
mov dword [esp + 0x28c], 1
call fcn.00424040
push eax
lea edx, [esp + 0x58]
mov ecx, ebx
call fcn.0042a1c0
add esp, 8
lea ecx, [esp + 0x50]
mov dword [esp + 0x288], 0xffffffff
call fcn.00402601
cmp dword [edi + 8], 0
je 0x42bb63
mov ecx, dword [edi + 8]
fld dword [0x48d2c8]
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 0x64
push 2
call eax
cmp dword [edi + 8], 0
je 0x42bb63
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x57
call eax
lea eax, [esp + 0x34]
call fcn.004025a9
lea edx, [esp + 0x34]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x288], 2
call fcn.0042d290
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call fcn.0042a820
mov eax, dword [esp + 0x18]
add esp, 4
call fcn.0040263b
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov eax, dword [esp + 0x10]
call fcn.0040263b
push eax
call esi
cmp dword [edi + 8], 0
je 0x42bbc3
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x5a
call eax
lea ecx, [esp + 0x34]
call fcn.00402601
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00458db6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42cac0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4773fc
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x49b3d4]
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 ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x484598
push 0x484020
mov esi, ecx
call fcn.004087e0
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
call ebx
add esp, 0x14
push 0
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push str.sutils.jar
push 0x484350
call fcn.004087e0
add esp, 8
push eax
lea ecx, [ebp - 0x420]
push 0x104
push ecx
call ebx
add esp, 0x10
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42cb89
test al, 0x10
jne 0x42cb89
push str.ld_utils.jar_is_found__delete_it
push 0x486764
call fcn.004087e0
add esp, 8
push eax
push str.INFO
mov ecx, edi
call fcn.00416a80
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x420]
push ecx
lea eax, [ebp - 0x43c]
call fcn.004025d0
push 0x486aa4
push 0xae
lea eax, [ebp - 0x43c]
mov dword [ebp - 4], 0
call fcn.00407410
add esp, 8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402601
push esi
push str.sLicense_ru.rtf
push 0x484350
call fcn.004087e0
add esp, 8
push eax
lea edx, [ebp - 0x218]
push 0x104
push edx
call ebx
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x43c]
call fcn.004025d0
push 0x483d84
push 0x6a
lea eax, [ebp - 0x43c]
mov dword [ebp - 4], 1
call fcn.00407410
add esp, 8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402601
push esi
push str.sLicense_uk.rtf
push 0x484350
call fcn.004087e0
add esp, 8
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call ebx
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x43c]
call fcn.004025d0
push 0x483d84
push 0x6c
lea eax, [ebp - 0x43c]
mov dword [ebp - 4], 2
call fcn.00407410
add esp, 8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.00402601
push esi
push str.sLicense_en.rtf
push 0x484350
call fcn.004087e0
add esp, 8
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
lea eax, [ebp - 0x458]
call fcn.004025d0
mov dword [ebp - 4], 3
push 0x483d84
push 0x6b
lea eax, [ebp - 0x458]
call fcn.00407410
add esp, 8
lea ecx, [ebp - 0x458]
call fcn.00402601
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.00458db6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4772cb
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x49b3d4]
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
xor edi, edi
push 0x486cd4
lea eax, [ebp - 0x80]
mov esi, ecx
mov dword [ebp - 0xc0], edi
call fcn.004025d0
add esi, 0xaec
push esi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 4], edi
call fcn.0040260f
lea eax, [ebp - 0x80]
call fcn.0040263b
push eax
mov ecx, str.exec
lea esi, [ebp - 0xb8]
call fcn.00406230
add esp, 4
mov eax, esi
mov byte [ebp - 4], 1
call fcn.0040263b
push eax
lea esi, [ebp - 0x2c]
call fcn.00406810
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0xc0], esp
call fcn.00404e4c
lea eax, [ebp - 0x9c]
call fcn.00404e50
push edi
push edi
lea edi, [ebp - 0x9c]
call fcn.0040327c
push 0xffffffffffffffff
mov ecx, esi
push ecx
xor eax, eax
mov ecx, edi
call fcn.0040317c
push str.Zona.exe
mov edx, edi
mov byte [ebp - 4], 3
mov ebx, 1
push edx
mov dword [ebp - 0xc0], ebx
call fcn.0040260f
call fcn.0040263b
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x42d823
test al, 0x10
jne 0x42d823
push ecx
mov eax, esp
mov dword [ebp - 0xc4], esp
call fcn.00404e4c
lea eax, [ebp - 0x64]
call fcn.00404e50
push 0
push 0
lea edi, [ebp - 0x64]
call fcn.0040327c
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push eax
xor eax, eax
mov ecx, edi
call fcn.0040317c
push str.Zona.jar
mov ecx, edi
mov dword [ebp - 4], 4
mov ebx, 3
push ecx
mov dword [ebp - 0xc0], ebx
call fcn.0040260f
call fcn.0040263b
push eax
call esi
cmp eax, 0xffffffff
je 0x42d823
test al, 0x10
jne 0x42d823
push ecx
mov eax, esp
mov dword [ebp - 0xc4], esp
call fcn.00404e4c
lea eax, [ebp - 0x48]
call fcn.00404e50
push 0
push 0
lea edi, [ebp - 0x48]
call fcn.0040327c
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
mov ecx, edi
call fcn.0040317c
push str.zreg.dll
mov eax, edi
mov dword [ebp - 4], 5
mov ebx, 7
push eax
mov dword [ebp - 0xc0], ebx
call fcn.0040260f
call fcn.0040263b
push eax
call esi
cmp eax, 0xffffffff
je 0x42d823
mov byte [ebp - 0xb9], 0
test al, 0x10
je 0x42d82a
mov byte [ebp - 0xb9], 1
test bl, 4
je 0x42d83a
lea ecx, [ebp - 0x48]
and ebx, 0xfffffffb
call fcn.00402601
test bl, 2
je 0x42d84a
lea ecx, [ebp - 0x64]
and ebx, 0xfffffffd
call fcn.00402601
test bl, 1
je 0x42d85a
lea ecx, [ebp - 0x9c]
call fcn.00402601
lea ecx, [ebp - 0x2c]
call fcn.00402601
lea ecx, [ebp - 0xb8]
call fcn.00402601
lea ecx, [ebp - 0x80]
call fcn.00402601
cmp byte [ebp - 0xb9], 0
je 0x42d882
xor al, al
jmp 0x42d884
mov al, 1
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.00458db6
mov esp, ebp
pop ebp
ret
Function at 0x42d8a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47721b
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x49b3d4]
xor eax, esp
mov dword [esp + 0xa74], eax
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, esp
push eax
lea eax, [esp + 0xa88]
mov dword fs:[0], eax
cmp word [ebx + 0x80c], 0
lea esi, [ebx + 0x80c]
jne 0x42d927
cmp word [ebx + 0x604], 0
lea edi, [ebx + 0x604]
jne 0x42d907
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x42d91b
mov word [esi], ax
cmp word [esi], 0
jne 0x42d927
lea esi, [ebx + 0x604]
push esi
push ecx
push str.s.
push 0x484350
call fcn.004087e0
add esp, 0xc
push eax
lea ecx, [esp + 0x284]
push 0x400
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x486d30
push 0x484148
mov esi, eax
call fcn.004087e0
add esp, 8
push eax
lea eax, [esp + 0x14]
call fcn.004025d0
mov dword [esp + 0xa90], 0
cmp esi, 0xffffffff
je 0x42d9db
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
push 0x485bf4
push 0x484020
call fcn.004087e0
add esp, 8
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0040260f
push eax
call fcn.0040260f
lea eax, [esp + 0x2c]
push eax
push esi
call edi
test eax, eax
jne 0x42d9a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.FL_end
push 0x484148
call fcn.004087e0
add esp, 8
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0040260f
push 0x485bf4
push 0
lea edx, [esp + 0x18]
push edx
lea edi, [ebx + 0x8d20]
or eax, 0xffffffff
call fcn.00403074
push eax
call fcn.0040260f
lea ecx, [esp + 0x10]
call fcn.00402601
mov ecx, dword [esp + 0xa88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa74]
xor ecx, esp
call fcn.00458db6
mov esp, ebp
pop ebp
ret
Function at 0x42ec90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00423e10
cmp word [esi + 0x80c], 0
lea edi, [esi + 0x80c]
jne 0x42ecf5
cmp word [esi + 0x604], 0
lea ebx, [esi + 0x604]
jne 0x42ecd5
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x42ece9
mov word [edi], ax
cmp word [edi], 0
lea ecx, [esi + 0x604]
je 0x42ecf7
mov ecx, edi
lea eax, [esi + 0xaec]
push eax
push ecx
push 0x485754
push 0x484350
mov dword [ebp - 0x410], eax
call fcn.004087e0
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 8
push eax
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call ebx
push 0x208
call fcn.0045854a
add esp, 0x18
cmp word [edi], 0
mov dword [ebp - 0x414], eax
jne 0x42ed7f
cmp word [esi + 0x604], 0
jne 0x42ed57
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
push 0x104
push edi
lea eax, [esi + 0x604]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x42ed73
xor ecx, ecx
mov word [edi], cx
cmp word [edi], 0
jne 0x42ed7f
lea edi, [esi + 0x604]
push edi
push str.sZona.exe__MINIMIZED
push 0x484350
call fcn.004087e0
mov edx, dword [ebp - 0x414]
add esp, 8
push eax
push 0x104
push edx
call ebx
mov bl, byte [esi + 9]
push str.oftwareMicrosoftWindowsCurrentVersionRun
push 0x4841d0
call fcn.004087e0
add esp, 0x18
test bl, bl
je 0x42edd8
mov ecx, dword [ebp - 0x410]
mov edi, dword [ebp - 0x414]
push ecx
mov ecx, eax
mov edx, SysReAllocString
call fcn.00406420
add esp, 4
jmp 0x42ee10
lea edx, [ebp - 0x418]
push edx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42ee10
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x414]
push eax
call fcn.004592db
movzx ecx, byte [esi + 0xa]
push ecx
mov ecx, esi
call fcn.0042e390
add esp, 8
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp byte [esi + 0xb], 0
je 0x42eea6
push 0x414
call fcn.00459337
mov edi, eax
add esp, 4
test edi, edi
je 0x42ee80
lea ecx, [ebp - 0x20c]
push ecx
lea eax, [edi + 4]
xor edx, edx
push 0x208
push eax
mov dword [edi], vtable.CommandWithOneArg.0
mov word [eax], dx
call fcn.004593e1
add esp, 0xc
mov dword [edi], vtable.FirewallAdd.0
jmp 0x42ee82
xor edi, edi
mov esi, dword [esi + 0x8c30]
mov edx, dword [esi]
mov edx, dword [edx]
push 0x100
lea eax, [ebp - 0x40c]
push eax
push edi
mov ecx, esi
call edx
push edi
call fcn.004592db
add esp, 4
mov eax, dword [ebp - 0x410]
push eax
call fcn.004079b0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458db6
mov esp, ebp
pop ebp
ret