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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x208], eax
mov ecx, dword [0x4555a4]
push esi
push 0x104
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 4]
push 0x5c
push edx
mov esi, str.Crash_
call fcn.0042c19e
lea ecx, [eax + 2]
add esp, 8
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
add esi, 2
test ax, ax
jne 0x40add5
push 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea ecx, [esp + 8]
push ecx
push 1
push 0
push 0
call fcn.0040ac60
push eax
push 0x4458d8
call dword [sym.imp.MxCrashCatch.dll_Install]
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x40ae63
call fcn.0040c940
mov esi, eax
cmp dword [esi + 0x50], 8
jb 0x40ae2a
mov eax, dword [esi + 0x3c]
jmp 0x40ae2d
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ae48
cmp dword [esi + 0x50], 8
jb 0x40ae43
mov esi, dword [esi + 0x3c]
jmp 0x40ae56
add esi, 0x3c
jmp 0x40ae56
cmp dword [esi + 0x6c], 8
jb 0x40ae53
mov esi, dword [esi + 0x58]
jmp 0x40ae56
add esi, 0x58
mov edx, dword [ebx]
push esi
push edx
call dword [sym.imp.MxCrashCatch.dll_SelLanIniFile]
add esp, 8
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
mov eax, ebx
call fcn.0042bb57
add esp, 0x20c
ret

Function at 0x40afa0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x43ff78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x1c], eax
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
mov edi, ecx
call fcn.00409db0
add esp, 4
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x10], cx
push ecx
lea eax, [edi + 0x20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
call fcn.00408090
push 0x5c
push esi
mov dword [esp + 0x38], 0
call fcn.0042c19e
add esp, 8
add eax, 2
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x40b020
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40b020
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea eax, [esp + 0x10]
call fcn.00405a80
mov eax, dword [esp + 0xc]
mov edi, 8
cmp dword [esp + 0x20], edi
jae 0x40b04d
lea eax, [esp + 0xc]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40b068
cmp dword [esp + 0x20], edi
jb 0x40b092
mov edx, dword [esp + 0xc]
push edx
jmp 0x40b08a
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x20], edi
jae 0x40b076
lea eax, [esp + 0xc]
push eax
call fcn.00428e20
add esp, 4
cmp dword [esp + 0x20], edi
jb 0x40b092
mov eax, dword [esp + 0xc]
push eax
call fcn.0042bb4c
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042bb57
add esp, 0x2c
ret
Function at 0x40b6a0
Capabilities:
Check if file exists
Create directory
Create thread
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4405e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x18], 0
je 0x40b6da
xor eax, eax
jmp 0x40b840
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b6d3
test al, 0x10
je 0x40b6d3
mov eax, dword [esp + 0x44]
mov dword [ebp], eax
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b6f6
sub eax, edx
sar eax, 1
push eax
lea edi, [ebp + 4]
mov eax, esi
mov esi, edi
call fcn.00408320
mov eax, dword [ebp + 0x18]
lea esi, [eax - 1]
cmp esi, dword [edi + 0x14]
jbe 0x40b722
call fcn.0042bcc3
cmp dword [edi + 0x18], 8
jb 0x40b72d
mov eax, dword [edi + 4]
jmp 0x40b730
lea eax, [edi + 4]
mov ecx, 0x5c
cmp cx, word [eax + esi*2]
je 0x40b744
push ecx
lea eax, [ecx - 0x5b]
call fcn.00401680
push edi
mov ebx, str..skyfile_
lea esi, [esp + 0x18]
call fcn.0040bd70
add esp, 4
push 0xffffffffffffffff
lea esi, [ebp + 0x20]
push 0
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.00408090
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jb 0x40b784
mov edx, dword [esp + 0x18]
push edx
call fcn.0042bb4c
add esp, 4
cmp dword [esi + 0x18], ebx
jb 0x40b78e
mov eax, dword [esi + 4]
jmp 0x40b791
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40b7af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b6d3
cmp dword [esi + 0x18], ebx
jb 0x40b7b9
mov esi, dword [esi + 4]
jmp 0x40b7bc
add esi, 4
push 0x16
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], ebx
jb 0x40b7cf
mov edi, dword [edi + 4]
jmp 0x40b7d2
add edi, 4
push 0
push 0x42000000
push 3
push 0
push 3
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x103c], eax
cmp eax, 0xffffffff
je 0x40b6d3
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push ebp
push 0x40b400
push 0
push 0
mov dword [ebp + 0x1040], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x1040]
mov dword [ebp + 0x1044], eax
lea eax, [ebp + 0x1048]
push eax
push ebp
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x40b860
Capabilities:
Terminate thread

Disassembly:
cmp dword [esi + 0x18], 0
push edi
je 0x40b8ec
mov ecx, dword [esi + 0x1040]
lea eax, [esi + 0x1048]
push eax
push 0x4d2
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov edx, dword [esi + 0x1044]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40b8ae
mov eax, dword [esi + 0x1044]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x1040]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [esi + 0x1044], 0
call edi
mov edx, dword [esi + 0x103c]
push edx
mov dword [esi + 0x1040], 0
call edi
lea edi, [esi + 4]
mov dword [esi + 0x103c], 0xffffffff
call fcn.0040b8f0
pop edi
ret

Function at 0x40bd70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4405b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00408090
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40bdc6
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.00405a80
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00408090
cmp dword [esp + 0x24], 8
jb 0x40be0e
mov edx, dword [esp + 0x10]
push edx
call fcn.0042bb4c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x40caa0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x214
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x21c]
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x50], 8
mov esi, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
jb 0x40cae0
mov eax, dword [edi + 0x3c]
jmp 0x40cae3
lea eax, [edi + 0x3c]
push eax
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0x444158
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
cmp dx, word [esp + 0x14]
jne 0x40cb30
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40cb0e
mov eax, ebx
cmp dword [edi + 0x6c], 8
jb 0x40cb19
mov edi, dword [edi + 0x58]
jmp 0x40cb1c
add edi, 0x58
push edi
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
lea eax, [esp + 0x14]
mov word [esi + 4], dx
lea edx, [eax + 2]
jmp 0x40cb50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cb50
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
call fcn.00408320
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0042bb57
add esp, 0x214
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x4409b0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
lea eax, [edi + 0x1c]
push eax
mov ebx, ebp
lea esi, [esp + 0x14]
call fcn.0040bd70
push eax
mov ebx, str..ini
lea esi, [esp + 0x34]
mov dword [esp + 0x5c], 0
call fcn.0040bd70
add esp, 8
mov ebx, 8
mov byte [esp + 0x54], 2
cmp dword [esp + 0x28], ebx
jb 0x40ccbb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0042bb4c
add esp, 4
mov eax, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
cmp dword [esp + 0x44], ebx
jae 0x40cce0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40cd1a
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ccf1
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
mov esi, edi
call fcn.00408320
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x38]
lea eax, [esp + 0x34]
call fcn.00408090
cmp dword [esp + 0x44], ebx
jb 0x40cd2d
mov eax, dword [esp + 0x30]
push eax
call fcn.0042bb4c
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0042bb57
add esp, 0x48
ret 4
Function at 0x40e1a0
Capabilities:
Get file size

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x40e1b3
mov dword [esi + 0x40], ebx
mov dword [esi + 0x98], ebx
pop ebx
ret
push edi
push ebx
push ebx
push 3
push ebx
push 5
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40e1da
pop edi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x98], ebx
pop ebx
ret
lea ecx, [esi + 0x98]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
ret
Function at 0x413340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x440848
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, 8
cmp dword [edi + 0xd4], ebx
jb 0x41337b
mov eax, dword [edi + 0xc0]
jmp 0x413381
lea eax, [edi + 0xc0]
push eax
lea ebp, [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x413395
mov dword [ebp + 4], eax
jmp 0x4133a3
not al
movzx eax, al
shr eax, 4
and eax, 1
mov dword [ebp + 4], eax
movsx eax, byte [ebp]
add eax, 0xffffffbf
cmp eax, 0x14
ja case.0x4133ba.66
movzx ecx, byte [eax + 0x413504]
jmp dword [ecx*4 + 0x4134f8]
cmp dword [edi + 0x78], 0
jne 0x413407
cmp dword [edi + 0xd4], ebx
jb 0x4133d7
mov eax, dword [edi + 0xc0]
jmp 0x4133dd
lea eax, [edi + 0xc0]
mov esi, ebp
call fcn.0040e1a0
cmp dword [edi + 0x44], 0
je 0x413407
cmp dword [edi + 0xd4], ebx
jb 0x4133fa
mov ecx, dword [edi + 0xc0]
jmp 0x413400
lea ecx, [edi + 0xc0]
mov edx, ebp
call fcn.0040e200
cmp dword [edi + 0x5c], 0
jne 0x413463
cmp dword [edi + 8], 0
je 0x413463
call fcn.0041acf0
cmp dword [edi + 0xd4], ebx
jb 0x413428
mov ecx, dword [edi + 0xc0]
jmp 0x41342e
lea ecx, [edi + 0xc0]
push ecx
lea esi, [esp + 0x28]
mov ebx, eax
call fcn.0041a660
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x48]
mov dword [esp + 0x54], 0
call fcn.0040a3e0
mov ecx, esi
mov dword [esp + 0x48], 0xffffffff
call fcn.0040a4c0
mov ebx, 8
cmp dword [edi + 0x94], 0
jne case.0x4133ba.66
cmp dword [edi + 0xd4], ebx
jb 0x413493
mov eax, dword [edi + 0xc0]
push ebp
call fcn.0040e2c0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea eax, [edi + 0xc0]
push ebp
call fcn.0040e2c0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
lea eax, [esp + 0x14]
xor edx, edx
push eax
mov word [esp + 0x18], dx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea esi, [esp + 0x14]
mov eax, ebp
call fcn.0040e350
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x4140a0
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ecx
mov eax, dword [esp + 8]
test eax, eax
jne 0x4140b6
call fcn.0042bcc3
mov eax, dword [esp + 8]
test eax, eax
je 0x4140ba
mov ecx, dword [eax]
jmp 0x4140bc
xor ecx, ecx
mov eax, dword [esp + 0xc]
cmp eax, dword [ecx + 0x14]
jne 0x4140ce
call fcn.0042bcc3
mov eax, dword [esp + 0xc]
push esi
mov esi, 8
cmp dword [eax + 0xdc], esi
jb 0x4140e4
mov eax, dword [eax + 0xc8]
jmp 0x4140e9
add eax, 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4140fd
mov eax, 1
pop esi
pop ecx
ret
test eax, 0x106
jne 0x4140f5
test al, 0x10
je 0x41410d
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x414122
call fcn.0042bcc3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x414126
mov ecx, dword [eax]
jmp 0x414128
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx + 0x14]
jne 0x41413a
call fcn.0042bcc3
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xdc], esi
jb 0x41414a
mov eax, dword [eax + 0xc8]
jmp 0x41414f
add eax, 0xc8
push 0
push 0
push 3
push 0
push 5
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4140f5
push edi
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 8], 0
je 0x414192
pop edi
mov eax, 1
pop esi
pop ecx
ret
mov ecx, 0xfa00000
cmp ecx, edi
sbb eax, eax
pop edi
neg eax
pop esi
pop ecx
ret

Function at 0x414840
Capabilities:
Check os version

Disassembly:
sub esp, 0x3c0
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x3bc], eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x3b8
movzx ebp, al
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0042d060
mov ecx, dword [esi + 4]
push 0x40
lea edx, [esp + 0x338]
push edi
push edx
mov dword [esp + 0x1c], 0x3bc
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x4d3
mov dword [esp + 0x28], 0x10
call fcn.0042c1ca
push pe_nt_image_headers32
lea eax, [esp + 0x140]
push ebx
push eax
call fcn.0042c1ca
mov ecx, dword [esp + 0x3ec]
add esp, 0x24
cmp ebp, 5
pop ebp
mov dword [esp + 0x3a4], 4
mov dword [esp + 0x320], ecx
push 0x65
jbe 0x4148f6
mov edx, dword [0x4555a8]
push edx
mov dword [esp + 0x3ac], 0x24
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x3b8], eax
jmp 0x414913
mov eax, dword [0x4555a8]
or dword [esp + 0x10], 2
push eax
mov dword [esp + 8], 0x3a8
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x14], eax
lea ecx, [esp]
push ecx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x3bc]
xor ecx, esp
call fcn.0042bb57
add esp, 0x3c0
ret 4
Function at 0x4164b0
Capabilities:
Move file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x441893
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0xa30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0xa48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa58]
mov eax, dword [esp + 0xa5c]
mov edi, ecx
mov dword [esp + 0x1c], edi
jmp dword [eax*4 + 0x416c80]

Function at 0x416cb0
Capabilities:
Check os version
Create process on windows

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov edi, eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x416cd4
mov eax, edi
shr eax, 0x10
cmp eax, 0x4d3
jne 0x416e52
movzx eax, di
cmp eax, 0x403
jg 0x416e20
je 0x416e0f
sub eax, 0x203
je 0x416dc1
sub eax, 2
jne 0x416e52
cmp dword [esi + 0x84], eax
jne 0x416e52
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x4555a8]
push 0x67
push edx
call dword [sym.imp.USER32.dll_LoadMenuW]
mov ebx, eax
test ebx, ebx
je 0x416e52
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
push edi
mov ecx, esi
call fcn.00414940
push 0x2c
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0042d060
add esp, 0xc
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], 8
call fcn.00413640
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push eax
push 0
push ecx
push edx
push 0x28
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov eax, dword [esi + 4]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x40
ret
call fcn.0041acf0
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x416def
mov eax, dword [eax + 4]
push 1
push 0
push 0
push eax
push str.explore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x40
ret
push 1
push 0
push 0
add eax, 4
push eax
push str.explore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x40
ret
lea edi, [esi + 0x68]
call fcn.0040b8f0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x40
ret
cmp eax, 0x405
jne 0x416e52
cmp dword [esi + 0x7c], 0
je 0x416e52
cmp dword [esi + 0x80], 8
jb 0x416e3b
mov esi, dword [esi + 0x6c]
jmp 0x416e3e
add esi, 0x6c
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x416e60
Capabilities:
Check os version

Disassembly:
sub esp, 0x3c0
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x3bc], eax
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x3b8
movzx edi, al
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0042d060
mov eax, dword [0x4555a8]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x28]
add esp, 0xc
push 0x68
push eax
mov dword [esp + 0x10], 0x3bc
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x4d3
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_LoadIconW]
push str.V_drive
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
lea edx, [esp + 8]
push edx
push 0
call esi
cmp edi, 5
jbe 0x416f05
lea eax, [esp + 8]
push eax
push 4
mov dword [esp + 0x330], 4
call esi
mov ecx, dword [esp + 0x3c4]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0042bb57
add esp, 0x3c0
ret

Function at 0x416f20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x440ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov esi, edx
jmp dword [ecx*4 + 0x417150]

Function at 0x417220
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x440fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
call fcn.0041acf0
mov edi, eax
xor eax, eax
mov word [esp + 0x10], ax
push 0x32
mov eax, str.http:__go.maxthon.com_web_public_vdrive.htm_fhelp
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
call fcn.00408320
lea edx, [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x50], 0
call fcn.0041a830
push 0
lea ecx, [esp + 0x2c]
push ecx
or eax, 0xffffffff
mov byte [esp + 0x58], 1
call fcn.00405970
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x4172b8
lea eax, [esp + 0x10]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x40], esi
jb 0x4172df
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042bb4c
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x24], esi
jb 0x417309
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0042bb4c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0042bb57
add esp, 0x48
ret

Function at 0x417330
Capabilities:
Create process on windows

Disassembly:
call fcn.0041acf0
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x417343
mov eax, dword [eax + 4]
jmp 0x417346
add eax, 4
push 1
push 0
push 0
push eax
push str.explore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret