joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e898
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, esi
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c390
test al, 0x10
je 0x41c3ea
push 0x47a060
push 0x47a068
call fcn.00405c30
add esp, 8
push eax
lea eax, [ebp - 0x2c]
call fcn.00401cc7
push 0
push esi
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00401d62
push 0x47aa08
mov eax, edi
push 0
push eax
lea edi, [ebx + 0x8e20]
or eax, 0xffffffff
call fcn.00401d62
push eax
call fcn.00401cf8
lea ecx, [ebp - 0x2c]
call fcn.004012b8
xor al, al
jmp 0x41c3ec
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret

Function at 0x41c410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d528
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, esi
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c450
test al, 0x10
jne 0x41c4aa
push 0x47a060
push 0x4790a8
call fcn.00405c30
add esp, 8
push eax
lea eax, [ebp - 0x2c]
call fcn.00401cc7
push 0
push esi
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00401d62
push 0x47aa08
mov eax, edi
push 0
push eax
lea edi, [ebx + 0x8e20]
or eax, 0xffffffff
call fcn.00401d62
push eax
call fcn.00401cf8
lea ecx, [ebp - 0x2c]
call fcn.004012b8
xor al, al
jmp 0x41c4ac
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret

Function at 0x41ca20
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push str.wnloader_web_setup_mutex
push 0x4790a8
call fcn.00405c30
add esp, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete al
pop ecx
ret
Function at 0x41ca50
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d528
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call edx
mov esi, eax
add edi, 0xb14
cmp edi, esi
je 0x41cad8
push 0
push 1
call fcn.004012f5
cmp dword [esi + 0x14], 8
jae 0x41cab4
mov eax, dword [esi + 0x10]
push esi
inc eax
push edi
call fcn.004014fd
add esp, 8
jmp 0x41cabe
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [ebp - 0x2c]
call fcn.004012b8
mov eax, edi
call fcn.00401489
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41cb0b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cb0b
test al, 0x10
jne 0x41cb0b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
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.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x41cfb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push eax
xor ecx, ecx
push ecx
push 0x47905c
push 0x479538
mov word [esi + 0x90c], cx
lea edi, [esi + 0x704]
call fcn.00405c30
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0xc
push eax
push 0x104
push edi
call ebx
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d005
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 0x702], 0x5c
jne 0x41d03d
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d024
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esi + eax*2 + 0x702], dx
add esi, 0xbec
push esi
push edi
push 0x47a144
push 0x479538
call fcn.00405c30
add esp, 8
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call ebx
add esp, 0x14
push esi
push ecx
push str.oftware_s
push 0x4793b8
call fcn.00405c30
add esp, 0xc
push eax
lea ecx, [ebp - 0x41c]
push 0x104
push ecx
call ebx
add esp, 0x10
push 0
lea edx, [ebp - 0x420]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x41c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41d102
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d0c4
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x420]
push ecx
lea edx, [ebp - 0x214]
push edx
push 1
push 0
push str.exec
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4

Function at 0x41d240
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
mov ecx, esi
call edx
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
mov dword [esi + 0x8d2c], eax
cmp eax, 2
jne 0x41d289
push str.nstalled_already
push 0x47a184
call fcn.00405c30
mov ecx, dword [esi + 0x8d28]
add esp, 8
push eax
push str.INFO
call fcn.00414290
mov ecx, esi
pop esi
jmp fcn.0041ca50
Function at 0x41f080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472e70
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x48f310]
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 + 0x8d2c], 2
je 0x41f1e1
sub esp, 0x1c
lea ecx, [ebx + 0x24]
mov eax, esp
mov dword [ebp - 0x5c], esp
push ecx
call fcn.00401cc7
lea esi, [ebp - 0x3c]
call fcn.004415d0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x8d2c], 1
jne 0x41f0ec
push str.einstallStart
push 0x479460
jmp 0x41f0f6
push str.nstallStart
push 0x479b6c
call fcn.00405c30
add esp, 8
push eax
lea edx, [ebp - 0x3c]
push edx
xor ecx, ecx
mov edx, ebx
call fcn.0041d7b0
mov ecx, dword [ebx + 0x8d28]
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x3c]
call fcn.004416a0
push 0x28
mov byte [ebp - 4], 1
call fcn.00450883
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
test esi, esi
je 0x41f17a
lea eax, [ebp - 0x58]
call fcn.00401489
push ecx
mov dword [ebp - 0x5c], eax
mov eax, esp
lea edi, [esi + 4]
mov dword [ebp - 0x60], esp
call fcn.00402a24
mov eax, edi
call fcn.00401f4d
push 0
push 0
call fcn.004012f5
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
push ecx
mov dword [esi], str.sendStart
call fcn.00401d13
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], 1
jmp 0x41f17c
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 - 0x68]
push eax
push 0
push esi
push fcn.0041eb50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, ebx
call fcn.0041c2a0
lea ecx, [ebp - 0x58]
call fcn.004012b8
lea ecx, [ebp - 0x2c]
call fcn.004012b8
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.0041f3d0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00450827
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.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x421930
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 0x46e6a1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48f310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
push ecx
mov dword [esi + 8], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0xc], 0x190
mov dword [esi + 0x10], 0x19
mov dword [esi + 0x14], 0xbd
mov eax, esp
mov dword [esi], vtable.StageItemUIImpl.0
lea ebx, [esi + 0x30]
mov dword [ebp - 0x10], esp
call fcn.00402a24
mov eax, ebx
call fcn.00401f4d
push 0
push 0
mov edi, ebx
call fcn.004012f5
push ecx
mov eax, esp
mov dword [ebp - 4], 0
lea edi, [esi + 0x4c]
mov dword [ebp - 0x10], esp
call fcn.00402a24
mov eax, edi
call fcn.00401f4d
push 0
push 0
call fcn.004012f5
mov edx, dword [ebp + 0x18]
push edx
push ebx
mov byte [ebp - 4], 1
call fcn.00401cf8
fldz
mov eax, dword [ebp + 0xc]
fstp dword [esi + 0x70]
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push eax
push 0x19
push 0x190
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x14]
push eax
push 0xbd
push 0x50000000
push 0
push str.Static
push 0
mov byte [esi + 0x28], 1
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], 0
call edi
push 0
push 0
push 0
push eax
push 0x19
push 0x17c
push 0
push 0x14
push 0x50000000
push 0x479144
push str.Static
push 0
mov dword [esi + 4], eax
call edi
mov edi, dword [ebp + 0x1c]
push 1
mov dword [esi + 0x20], eax
mov ecx, dword [edi]
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
call fcn.00450883
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x421a8e
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
push 0
push 9
push 4
push 4
push edi
push edx
push ecx
push eax
mov ebx, 0xb
call fcn.0043f8f0
jmp 0x421a90
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 + 0x20]
mov eax, dword [esi + 0x24]
mov edi, dword [eax + 0x50]
push 0x479e4c
push ecx
push edi
lea ebx, [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421acc
push ebx
mov ecx, edi
call fcn.0043f750
add esp, 4
fldz
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esi + 0x2c], 0
call fcn.00421b70
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 0x1c
Function at 0x422840
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e61e
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x48f310]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, ecx
push 0x400
mov dword [esp + 0x24], ebx
call fcn.0045081c
mov esi, eax
add esp, 4
mov eax, ebx
call fcn.00401034
mov eax, dword [eax + 0x10]
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x34]
push 0x200
push esi
call eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00450827
mov ecx, dword [ebx + 0x14]
add esp, 4
lea eax, [esp + 0x18]
call fcn.00401344
push 0x18
call fcn.00450883
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x422947
mov eax, ebx
call fcn.00401034
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
push edi
push edi
push edi
push edx
push 0xa
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff6
push eax
push edi
push 0x50000001
push 0x479144
push 0x480f2c
push edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x640000
push edi
push 0x401
push eax
mov dword [esi], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x422949
xor esi, esi
mov ecx, dword [ebx + 8]
lea ecx, [ecx + 4]
lea eax, [esp + 0x24]
mov dword [ebx + 0x54], esi
call fcn.00401344
push 0x424
call fcn.00450883
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x240], edi
cmp eax, edi
je 0x4229fe
mov eax, ebx
call fcn.00401034
mov edi, dword [eax + 0x10]
push str.NFORMATION
push 0x47a184
call fcn.00405c30
add esp, 8
mov esi, eax
call fcn.0041ae80
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
mov eax, edi
call fcn.00418af0
mov eax, dword [eax]
mov edi, esi
test eax, eax
je 0x4229b7
mov edi, eax
mov eax, ebx
call fcn.00401034
mov esi, dword [eax + 8]
mov eax, ebx
call fcn.00401034
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 4]
mov eax, dword [eax + 4]
push edi
push 0x64
add ecx, 0xffffffe2
push ecx
push 0x14
push esi
mov esi, dword [esp + 0x28]
push ebx
mov ebx, 0x14
mov edi, eax
call fcn.0043fd30
mov ebx, dword [esp + 0x20]
mov eax, esi
mov dword [eax], vtable.UrlLinkLabel.0
jmp 0x422a00
xor eax, eax
mov dword [esp + 0x240], 0xffffffff
mov edx, dword [ebx]
mov dword [ebx + 0x58], eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push 0x100
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call edx
mov ecx, dword [ebx + 0x58]
lea eax, [esp + 0x2c]
push eax
add ecx, 0x224
push 0x100
push ecx
call fcn.00450e0b
add esp, 0xc
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x422c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
mov edi, 2
test al, al
je 0x422d41
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test al, al
jne 0x422d41
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp dword [eax + 0x8d2c], edi
je 0x422d41
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
call eax
mov edx, dword [esi]
test al, al
mov eax, dword [edx + 0x3c]
mov ecx, esi
je 0x422d35
call eax
mov dword [eax + 0xb88], 0
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x44]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp byte [eax + 8], 0
je 0x422d41
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
jmp 0x422d41
call eax
mov dword [eax + 0xb88], 3
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp dword [eax + 0x8d2c], edi
je 0x422d8a
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
mov cl, byte [esi + 0x29]
mov edx, dword [eax]
mov byte [ebp - 4], cl
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [esi]
mov byte [ebp - 8], al
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 0
push eax
mov eax, dword [ebp - 8]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
cmp dword [eax + 0x8d2c], edi
jne 0x422dae
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
mov dword [eax + 0xb88], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push 0
mov ecx, edi
call edx
mov edx, dword [ebx]
movzx eax, al
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov edx, dword [esi]
movzx ecx, al
mov eax, dword [edx + 0x3c]
push ecx
mov ecx, esi
call eax
mov ecx, eax
call fcn.0041ed70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4247d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47339b
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.004601c0
mov eax, dword [0x48f310]
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
push ecx
mov eax, esp
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x1030], esp
call fcn.00402a24
lea eax, [ebp - 0x102c]
call fcn.00401f4d
push 0
push 0
lea edi, [ebp - 0x102c]
call fcn.004012f5
xor eax, eax
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov dword [ebp - 4], 0
mov ecx, edi
mov word [ebp - 0x1010], ax
call fcn.00426150
xor edi, edi
cmp dword [ebp - 0x101c], edi
jne 0x4248dd
push 0x18
mov dword [ebp - 0x1030], edi
call fcn.00450883
add esp, 4
cmp eax, edi
je 0x42487b
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 1
mov edi, eax
lea edx, [ebp - 0x1030]
push edx
push 0
push edi
push fcn.00423de0
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 0x4248ce
push 0x47aa08
push str.installJreInThread_fail
add ebx, 0x8e20
push ebx
call fcn.00401cf8
push eax
call fcn.00401cf8
push edi
call fcn.00423de0
lea ecx, [ebp - 0x102c]
call fcn.004012b8
mov eax, esi
jmp 0x424939
push str.exists_
add ebx, 0x8e58
push ebx
call fcn.00401cf8
mov ecx, eax
push 0x47aa08
push edi
lea eax, [ebp - 0x102c]
push eax
or eax, 0xffffffff
mov edi, ecx
call fcn.00401d62
push eax
call fcn.00401cf8
cmp dword [esi + 8], 0
je 0x42492c
mov esi, dword [esi + 8]
fld dword [0x481b6c]
mov edx, dword [esi]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 0x64
push 0
mov ecx, esi
call eax
lea ecx, [ebp - 0x102c]
call fcn.004012b8
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.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x4263d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e42b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x48f310]
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 ebx, ebx
push 0x47b324
lea eax, [ebp - 0x80]
mov esi, ecx
mov dword [ebp - 0xc0], ebx
call fcn.00401cc7
add esi, 0xbec
push esi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 4], ebx
call fcn.00401cf8
lea eax, [ebp - 0x80]
call fcn.00401489
push eax
mov ecx, str.exec
lea esi, [ebp - 0xb8]
call fcn.004037e0
add esp, 4
mov eax, esi
mov byte [ebp - 4], 1
call fcn.00401489
push eax
lea edi, [ebp - 0x2c]
call fcn.00403e60
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0xc0], esp
call fcn.00402a24
lea eax, [ebp - 0x9c]
call fcn.00401f4d
push ebx
push ebx
lea edi, [ebp - 0x9c]
call fcn.004012f5
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor eax, eax
mov ecx, edi
call fcn.00401e6a
push str.Zona.exe
mov edx, edi
mov byte [ebp - 4], 3
mov ebx, 1
push edx
mov dword [ebp - 0xc0], ebx
call fcn.00401cf8
call fcn.00401489
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x426594
test al, 0x10
jne 0x426594
push ecx
mov eax, esp
mov dword [ebp - 0xc4], esp
call fcn.00402a24
lea eax, [ebp - 0x64]
call fcn.00401f4d
push 0
push 0
lea edi, [ebp - 0x64]
call fcn.004012f5
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push eax
xor eax, eax
mov ecx, edi
call fcn.00401e6a
push str.Zona.jar
mov ecx, edi
mov dword [ebp - 4], 4
mov ebx, 3
push ecx
mov dword [ebp - 0xc0], ebx
call fcn.00401cf8
call fcn.00401489
push eax
call esi
cmp eax, 0xffffffff
je 0x426594
test al, 0x10
jne 0x426594
push ecx
mov eax, esp
mov dword [ebp - 0xc4], esp
call fcn.00402a24
lea eax, [ebp - 0x48]
call fcn.00401f4d
push 0
push 0
lea edi, [ebp - 0x48]
call fcn.004012f5
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
mov ecx, edi
call fcn.00401e6a
push str.zreg.dll
mov eax, edi
mov dword [ebp - 4], 5
mov ebx, 7
push eax
mov dword [ebp - 0xc0], ebx
call fcn.00401cf8
call fcn.00401489
push eax
call esi
cmp eax, 0xffffffff
je 0x426594
mov byte [ebp - 0xb9], 0
test al, 0x10
je 0x42659b
mov byte [ebp - 0xb9], 1
test bl, 4
je 0x4265ab
lea ecx, [ebp - 0x48]
and ebx, 0xfffffffb
call fcn.004012b8
test bl, 2
je 0x4265bb
lea ecx, [ebp - 0x64]
and ebx, 0xfffffffd
call fcn.004012b8
test bl, 1
je 0x4265cb
lea ecx, [ebp - 0x9c]
call fcn.004012b8
lea ecx, [ebp - 0x2c]
call fcn.004012b8
lea ecx, [ebp - 0xb8]
call fcn.004012b8
lea ecx, [ebp - 0x80]
call fcn.004012b8
cmp byte [ebp - 0xb9], 0
je 0x4265f3
xor al, al
jmp 0x4265f5
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.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x426620
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e37b
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0xa74], eax
push esi
push edi
mov eax, dword [0x48f310]
xor eax, esp
push eax
lea eax, [esp + 0xa88]
mov dword fs:[0], eax
cmp word [ebx + 0x90c], 0
lea esi, [ebx + 0x90c]
jne 0x4266a7
cmp word [ebx + 0x704], 0
lea edi, [ebx + 0x704]
jne 0x426687
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 0x42669b
mov word [esi], ax
cmp word [esi], 0
jne 0x4266a7
lea esi, [ebx + 0x704]
push esi
push ecx
push str.s.
push 0x479538
call fcn.00405c30
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 0x47b380
push 0x479330
mov esi, eax
call fcn.00405c30
add esp, 8
push eax
lea eax, [esp + 0x14]
call fcn.00401cc7
mov dword [esp + 0xa90], 0
cmp esi, 0xffffffff
je 0x42675b
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
push 0x47aa08
push 0x479144
call fcn.00405c30
add esp, 8
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00401cf8
push eax
call fcn.00401cf8
lea eax, [esp + 0x2c]
push eax
push esi
call edi
test eax, eax
jne 0x426720
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.FL_end
push 0x479330
call fcn.00405c30
add esp, 8
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00401cf8
push 0x47aa08
push 0
lea edx, [esp + 0x18]
push edx
lea edi, [ebx + 0x8e20]
or eax, 0xffffffff
call fcn.00401d62
push eax
call fcn.00401cf8
lea ecx, [esp + 0x10]
call fcn.004012b8
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.0045080d
mov esp, ebp
pop ebp
ret