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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1d10
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ff1a0]
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 edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
mov esi, dword [ebp + 0xc]
je 0x424b78
cmp dword [esi + 0x10], 0
je 0x424b78
cmp dword [edi + 0x14], 8
jb 0x424a8f
mov eax, dword [edi]
jmp 0x424a91
mov eax, edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
cmp eax, 1
sete al
test al, al
jne 0x424aae
mov eax, 0xfffffffe
jmp 0x424b7b
cmp dword [esi + 0x10], 0
je 0x424ad7
cmp dword [esi + 0x14], 8
jb 0x424abe
mov eax, dword [esi]
jmp 0x424ac0
mov eax, esi
push eax
call ebx
cmp eax, 1
sete al
test al, al
je 0x424ad7
push 1
call fcn.00423ad0
add esp, 4
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.004188e0
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.004188e0
add esp, 0x10
mov byte [ebp - 4], 1
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x424b07
mov esi, dword [esi]
cmp dword [eax + 0x14], edi
jb 0x424b0e
mov eax, dword [eax]
push esi
push eax
call fcn.0049350d
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], edi
jb 0x424b2f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
mov ebx, 0xf
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], edi
jb 0x424b5a
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
xor eax, eax
test esi, esi
sete al
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea eax, [eax*4 - 3]
jmp 0x424b7b
or eax, 0xffffffff
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.004911d1
mov esp, ebp
pop ebp
ret
Function at 0x42b0e0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0042c710
test eax, eax
jne 0x42b109
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x42b157
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.004911d1
mov esp, ebp
pop ebp
ret
Function at 0x42b250
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5bcc
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x340]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x42b483
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x42b483
push 0x228
lea eax, [esp + 0x10c]
push ebx
push eax
call fcn.004911e0
add esp, 0xc
lea ecx, [esp + 0x104]
push ecx
push esi
mov dword [esp + 0x10c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x42b4a9
push 1
push 2
lea ecx, [esp + 0x1c]
call fcn.00413cc0
mov dword [esp + 0x348], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.Process32FirstW_FAILED._GetLastError:
push edx
call fcn.00416b90
add esp, 0xc
push eax
call fcn.004135f0
push 0x1c
mov edi, 0xf
push str.CProcUtility::IsProcessExist
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.0040ebe0
mov byte [esp + 0x348], 1
push edi
push str.ProcUtility.cpp
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.0040ebe0
mov byte [esp + 0x348], 2
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x18]
call fcn.00413de0
mov byte [esp + 0x348], 3
push eax
lea ecx, [esp + 0xb4]
push ecx
push 0x6a5
lea edx, [esp + 0xd8]
push edx
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x348], 2
cmp dword [esp + 0xfc], 8
jb 0x42b3df
mov eax, dword [esp + 0xe8]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], cx
mov byte [esp + 0x348], 1
cmp dword [esp + 0xe0], 0x10
jb 0x42b41d
mov edx, dword [esp + 0xcc]
push edx
call fcn.00490458
add esp, 4
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov byte [esp + 0x348], bl
cmp dword [esp + 0xc4], 0x10
jb 0x42b453
mov eax, dword [esp + 0xb0]
push eax
call fcn.00490458
add esp, 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
mov dword [esp + 0x348], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00412cc0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [esp + 0x104]
push ecx
push esi
call ebx
test eax, eax
je 0x42b47c
mov edi, edi
mov ecx, edi
call fcn.0040f1e0
push eax
lea edx, [esp + 0x12c]
push edx
call fcn.00493482
add esp, 8
test eax, eax
je 0x42b4ed
lea eax, [esp + 0x104]
push eax
push esi
call ebx
test eax, eax
jne 0x42b4c0
jmp 0x42b47c
mov al, 1
jmp 0x42b485
Function at 0x42b9c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b944d
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44c], ebx
mov edi, dword [eax]
mov dword [ebp - 0x45c], esi
cmp edi, ebx
jne 0x42ba0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x21c], ax
call fcn.004911e0
push 0x206
lea eax, [ebp - 0x422]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x424], dx
call fcn.004911e0
add esp, 0x18
xor ecx, ecx
mov eax, 0x104
push 0x10
mov word [ebp - 0x440], cx
push str.SeDebugPrivilege
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
call fcn.0040e680
mov dword [ebp - 4], 1
lea edx, [ebp - 0x440]
push edx
call fcn.0042a520
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x42c], 8
jb 0x42babe
mov eax, dword [ebp - 0x440]
push eax
call fcn.00490458
add esp, 4
push edi
push ebx
xor ecx, ecx
push 0x400
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
mov word [ebp - 0x440], cx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x42bb9e
lea edx, [ebp - 0x448]
push edx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42bb9e
mov ecx, dword [ebp - 0x444]
mov edx, dword [ebp - 0x448]
lea eax, [ebp - 0x444]
push eax
push ecx
push ebx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x42bb31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42bb9e
mov eax, dword [ebp - 0x444]
push eax
call fcn.00491435
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x42bb9e
mov edx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x444]
push ecx
push edx
push edi
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42bb95
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x424]
push eax
mov eax, dword [edi]
lea ecx, [ebp - 0x450]
push ecx
lea edx, [ebp - 0x21c]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push edi
call fcn.0049125a
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42bbb6
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call fcn.0040e680
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
Function at 0x42c710
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004911e0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42c7ca
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x42c778
cmp dword [ebp - 0x110], 1
jne 0x42c7ca
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x42c7ca
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x42c79a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x42c7b2
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x42c7ca
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
call fcn.004911d1
mov esp, ebp
pop ebp
ret
Function at 0x42e480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x418]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareFXTest
push SysReAllocStringLen
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e537
push esi
mov esi, dword [ebp - 0x418]
cmp esi, ebx
je 0x42e536
push 0x40e
lea edx, [ebp - 0x412]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x414], cx
call fcn.004911e0
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x420]
push edx
push ebx
push str.LogLevel
push esi
mov dword [ebp - 0x41c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e529
cmp dword [ebp - 0x420], 4
jne 0x42e529
mov eax, dword [ebp - 0x414]
mov bl, 1
mov dword [edi], eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004911d1
mov esp, ebp
pop ebp
ret
Function at 0x42eb00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1dd2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + 0x60]
mov dword [ebx], 0x4c45e4
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ecx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.0040d340
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.0040aaf0
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x42eba2
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.0040dbb0
mov dword [ebp - 4], 4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040a6a0
mov byte [ebp - 4], 5
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x502ac4]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x431e90
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x43ac50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x43ac63
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x43acdd
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00490650
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x43acb1
sub eax, edi
jmp 0x43acb3
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x43aca2
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x43acd0
sub eax, edi
jmp 0x43acd2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x43acc1
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x43ad92
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x43ad03
mov ebx, ecx
test ebx, ebx
je 0x43ad56
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x43ad25
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.0043e610
jmp 0x43ad3e
cmp eax, 2
jne 0x43ad44
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x43ad37
xor eax, eax
jmp 0x43ad41
mov edx, ebx
call fcn.0043e8a0
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00490650
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x43ad7e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x43ad92
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x43ac60
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e880
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x43e88b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.0043e8a0
Function at 0x447f00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc5e4
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.IInstImpl.0
mov dword [ebp - 0x30], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ebx
push ebx
mov word [esi + 0x1c], cx
push eax
lea ecx, [esi + 0x1c]
call fcn.0040f1f0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x38]
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0x4c42e8
mov word [ecx], dx
call fcn.0040e680
mov byte [ebp - 4], 2
mov dword [esi + 0x68], ebx
mov byte [ebp - 4], 3
mov al, byte [ebp + 0xc]
mov cl, byte [ebp + 0x10]
mov dl, byte [ebp + 0x14]
mov byte [esi + 0x70], al
mov al, byte [ebp + 0x18]
mov byte [esi + 0x71], cl
mov byte [esi + 0x72], dl
mov byte [esi + 0x73], al
cmp dword [esi + 0x2c], ebx
jne 0x447fef
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00410830
mov ecx, eax
call fcn.00411970
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x1c]
call fcn.00409ad0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x447fdf
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 8]
cmp ebx, ecx
je 0x448017
mov eax, ecx
sub eax, ecx
sar eax, 2
lea edi, [eax*4]
push edi
push ecx
push ebx
call fcn.004909c0
add esp, 0xc
add edi, ebx
mov dword [esi + 0xc], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44be80
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc508
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x44bf2c
cmp dword [esi + 0x10], 0
je 0x44bf24
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x44bec7
mov eax, dword [esi]
jmp 0x44bec9
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x44bee5
push esi
call fcn.00423700
push esi
call fcn.00423300
add esp, 8
jmp 0x44bf24
cmp dword [esi + 0x10], 0
je 0x44bf24
cmp dword [esi + 0x14], edi
jb 0x44bef4
mov eax, dword [esi]
jmp 0x44bef6
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x44bf24
mov ecx, esi
call fcn.004222c0
test al, al
jne 0x44bf24
cmp dword [esi + 0x14], edi
jb 0x44bf1b
mov eax, dword [esi]
jmp 0x44bf1d
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0x1c
cmp esi, dword [ebx + 0xc]
jne 0x44beb3
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x44bfac
mov edi, 7
lea esp, [esp]
xor eax, eax
push eax
push 0x4c42e8
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.0040e680
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00427f90
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x44bf91
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
add esi, 0x1c
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
cmp esi, dword [ebx + 0x1c]
jne 0x44bf40
mov esi, dword [ebx + 0x28]
cmp esi, dword [ebx + 0x2c]
je 0x44bfd8
mov eax, dword [esi]
push 0
lea ecx, [esi + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov cl, byte [esi + 0x58]
lea eax, [esp + 0x14]
lea edx, [esi + 4]
push eax
call fcn.0041d880
add esi, 0x5c
cmp esi, dword [ebx + 0x2c]
jne 0x44bfb4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x455c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bbd08
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00410830
lea ebx, [esp + 0x20]
mov ecx, eax
call fcn.00411e50
xor ebx, ebx
mov dword [esp + 0x68], ebx
push 0xf
push str.Maxthon3Users
lea ecx, [esp + 0x28]
call fcn.00410dc0
cmp dword [esp + 0x30], ebx
je 0x455d68
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x455c78
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x455d68
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x68], 1
push ebx
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00425430
mov esi, dword [esp + 0x20]
add esp, 0x10
cmp esi, dword [esp + 0x14]
je 0x455d14
add edi, 8
push str.Addons
lea edx, [esp + 0x40]
push esi
push edx
call fcn.00410b20
add esp, 0xc
mov byte [esp + 0x68], 2
mov ecx, eax
call fcn.00425930
mov byte [esp + 0x68], 1
cmp dword [esp + 0x50], 8
jb 0x455cf8
mov eax, dword [esp + 0x3c]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
add esi, 0x1c
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
cmp esi, dword [esp + 0x14]
jne 0x455cc0
mov byte [esp + 0x68], bl
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x455d5c
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x455d53
cmp dword [esi + 0x14], 8
jb 0x455d39
mov eax, dword [esi]
push eax
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x455d28
mov esi, dword [esp + 0x10]
push esi
call fcn.00490458
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x455d84
mov eax, dword [esp + 0x20]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret
Function at 0x46a100
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x58], 0
je 0x46a172
cmp byte [esi + 0x6c], 0
je 0x46a156
cmp dword [esi + 0x5c], 8
lea eax, [esi + 0x48]
jb 0x46a11e
mov eax, dword [eax]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46a155
lea eax, [esi + 0x70]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
cmp byte [esi + 0x65], 0
je 0x46a172
cmp dword [esi + 0x5c], 8
lea eax, [esi + 0x48]
jb 0x46a167
mov eax, dword [eax]
mov ecx, dword [esi + 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
pop ebp
ret 8