joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417550
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 0x35
mov eax, str.http:__go.maxthon.com_web_public_vdrive.htm_fwebsite
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 0x4175e8
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 0x41760f
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 0x417639
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 0x41a040
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x43efc8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edi
call fcn.00419340
cmp dword [esp + 0x24], 0
mov esi, eax
je 0x41a08c
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.MxUI.dll_HTMLayoutGetRootElement]
mov eax, dword [esp + 0x24]
push eax
mov ebx, eax
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, ebx
mov dword [esp + 0x10], eax
lea edx, [esp + 0x10]
lea ecx, [edi + 0x44c]
push edx
mov dword [esp + 0x20], 0
call fcn.00419d10
add esp, 4
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00419f70
mov eax, dword [esp + 0x10]
mov edi, dword [edi + 0x46c]
test eax, eax
je 0x41a0f7
push eax
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x41a170
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x43f34a
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0xc], 0x456508
mov dword [0x456508], 0x446a24
mov dword [0x456524], eax
mov dword [0x456520], ebx
mov word [0x456510], cx
mov dword [esp + 0x42c], ebx
xor edx, edx
mov dword [0x456528], ebx
mov dword [0x456544], eax
mov dword [0x456540], ebx
mov word [0x456530], dx
mov dword [0x456560], 0xf
mov dword [0x45655c], ebx
mov byte [0x45654c], bl
mov byte [esp + 0x42c], 2
mov ecx, dword [0x4555a4]
push 0x104
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [0x456564], ebx
mov dword [0x456568], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x10]
push 0x5c
push edx
mov esi, 0x44692c
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
cmp ax, bx
jne 0x41a251
push ebx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x10]
mov word [esp + eax + 0x218], cx
add eax, 2
cmp cx, bx
jne 0x41a270
lea eax, [esp + 0x218]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x41a290
mov ecx, dword [str.users.ini]
mov edx, dword [0x446940]
mov dword [eax], ecx
mov ecx, dword [0x446944]
mov dword [eax + 4], edx
mov edx, dword [0x446948]
mov dword [eax + 8], ecx
mov ecx, dword [0x44694c]
mov dword [eax + 0xc], edx
push 0x456564
mov dword [eax + 0x10], ecx
call dword [sym.imp.MxAccount3.dll_CreateMxAccount]
mov ecx, dword [0x456564]
mov edx, dword [ecx]
mov edx, dword [edx]
add esp, 4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x21c]
push eax
push 0x456508
call edx
mov eax, 0x456508
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0042bb57
add esp, 0x424
ret
Function at 0x41a430
Capabilities:
Copy file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4407e0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
test byte [0x457660], 1
mov ebp, dword [esp + 0x8c]
mov edi, ecx
jne 0x41a48d
or dword [0x457660], 1
call fcn.0040ae80
push 0x441be0
call fcn.0042c9f1
add esp, 4
mov esi, 0x456600
call fcn.0040b860
cmp dword [edi + 0x1c], 8
lea eax, [edi + 4]
mov dword [esp + 0x38], eax
jb 0x41a4a9
mov eax, dword [eax + 4]
jmp 0x41a4ac
add eax, 4
xor ebx, ebx
xor ecx, ecx
mov word [esp + 0x5c], cx
mov edi, 7
mov ecx, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41a4c7
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x5c]
call fcn.00408320
mov dword [esp + 0x80], ebx
xor edx, edx
mov eax, ebp
mov word [esp + 0x40], dx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
lea edx, [eax + 2]
jmp 0x41a500
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a500
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x40]
call fcn.00408320
push ebx
mov eax, 1
lea edi, [esp + 0x5c]
mov byte [esp + 0x84], 1
call fcn.00401680
push ebx
mov eax, 1
mov edi, esi
call fcn.00401680
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x34], ax
mov edi, 8
mov eax, 0x210
mov dword [esp + 0x18], ebx
mov word [esp + 0x28], ax
cmp dword [esp + 0x70], edi
jb 0x41a581
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
jmp 0x41a589
lea edx, [esp + 0x5c]
mov dword [esp + 0x20], edx
cmp dword [esp + 0x54], edi
jb 0x41a599
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
jmp 0x41a5a1
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a5c0
mov esi, dword [esp + 0x38]
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
call fcn.00408320
cmp dword [esi + 0x18], edi
jb 0x41a5e5
mov ecx, dword [esi + 4]
jmp 0x41a5e8
lea ecx, [esi + 4]
mov eax, dword [esp + 0x88]
push eax
push 0x456600
call fcn.0040b6a0
cmp dword [esp + 0x54], edi
jb 0x41a60d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042bb4c
add esp, 4
xor edx, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
cmp dword [esp + 0x70], edi
jb 0x41a633
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042bb4c
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042bb57
add esp, 0x70
ret 8
Function at 0x41e1c0
Capabilities:
Access peb ldr_data

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 esi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ecx
mov word [esp + 0xc], dx
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 8]
push ecx
push str.SyncVer
call fcn.0041dca0
test eax, eax
jne 0x41e23a
cmp dword [esp + 0x20], 8
jb 0x41e236
mov edx, dword [esp + 0xc]
push edx
call fcn.0042bb4c
add esp, 4
xor eax, eax
jmp 0x41e26a
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x41e249
lea eax, [esp + 0xc]
push eax
call fcn.0042cb31
add esp, 4
cmp dword [esp + 0x20], 8
mov esi, eax
jb 0x41e268
mov eax, dword [esp + 0xc]
push eax
call fcn.0042bb4c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0042bb57
add esp, 0x2c
ret 4
Function at 0x41efe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x41eff0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41f000
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41f030
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x41f0aa
xor eax, eax
cmp ecx, ebp
je 0x41f092
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x41f0b8
cmp ecx, ebp
je 0x41f14b
push ecx
jmp 0x41f145
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x41f11a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.0041f030
mov ebx, eax
cmp ebx, ebp
jne 0x41f168
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x41f0e0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41f12d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.0041ef20
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41f14b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042bb57
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41f177
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x41f14d
Function at 0x41f630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x43f620
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4530e4]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x41f6af
call fcn.0041ec90
mov esi, eax
jmp 0x41f791
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x41f6cb
call fcn.0041ec90
jmp 0x41f788
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x41f6e4
call fcn.0041ec90
jmp 0x41f788
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x41f718
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x41f706
lea eax, [ebp]
call fcn.00421740
lea esi, [ebp - 0x1c]
call fcn.00421530
mov eax, 0x8007000e
jmp 0x41f7a3
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00421670
mov dword [ebp - 4], 1
jmp 0x41f741
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x41f74f
mov esi, 0x8007000e
jmp 0x41f78a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x41f76d
call fcn.0041ec90
jmp 0x41f788
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.004204a0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x41f7a1
lea eax, [ebp]
call fcn.00421740
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0042bb57
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4218f0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
push str.MxSkyFile_Mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x421928
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
lea ebx, [esp + 0x10]
call fcn.0040ad90
call fcn.00421310
call dword [sym.imp.MxHttpRq.dll_Init]
push 0x90
call fcn.0042bede
add esp, 4
test eax, eax
je 0x421955
push eax
call fcn.00410510
jmp 0x421957
xor eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov dword [ecx], 0
mov ecx, esp
mov esi, eax
mov dword [esp + 0x1c], esp
mov dword [ecx], 0
call fcn.00421a00
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x4219c4
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4219a0
cmp eax, 0xffffffff
je 0x4219c4
lea ecx, [esp + 0x18]
push ecx
call edi
lea edx, [esp + 0x18]
push edx
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x4219a0
call dword [sym.imp.MxHttpRq.dll_Finalize]
call fcn.004213d0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x4219ec
push eax
call dword [sym.imp.MxCrashCatch.dll_Uninstall]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x425b60
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x425cbe
cmp word [ebx], 0
je 0x425cbe
push 5
push str.file:
push ebx
call fcn.0042c249
add esp, 0xc
test eax, eax
je 0x425d17
push 5
push str.http:
push ebx
call fcn.0042c249
add esp, 0xc
test eax, eax
je 0x425d17
push 6
push str.https:
push ebx
call fcn.0042c249
add esp, 0xc
test eax, eax
je 0x425d17
push 4
push str.res:
push ebx
call fcn.0042c249
add esp, 0xc
test eax, eax
jne 0x425bf7
add ebx, 8
push 0x104
push ebx
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov esi, dword [0x4555a8]
lea edi, [esp + 0x20]
mov edx, edi
push 0x2f
push edx
mov byte [esp + 0x20], 0
call fcn.0042c19e
add esp, 8
test eax, eax
je 0x425c5a
lea edx, [esp + 0x20]
xor ecx, ecx
push edx
lea edi, [eax + 2]
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425c5a
test al, 0x10
jne 0x425c5a
push 2
push 0
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
push 0x2e
push edi
call fcn.0042c19e
add esp, 8
test eax, eax
je 0x425c90
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [esp + 0x10], eax
je 0x425c90
push str.HTML
push eax
call fcn.0042ce19
add esp, 8
test eax, eax
je 0x425c90
mov edx, dword [esp + 0x10]
push edx
jmp 0x425c92
push 0x17
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x425d05
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x425cd8
cmp byte [esp + 0x18], 0
je 0x425cbe
test esi, esi
je 0x425cbe
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0042bb57
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x425cac
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x425cac
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push eax
push ebx
push ecx
call dword [sym.imp.MxUI.dll_HTMLayoutDataReady]
cmp byte [esp + 0x18], 0
je 0x425d17
test esi, esi
je 0x425d17
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0042bb57
mov esp, ebp
pop ebp
ret
Function at 0x426610
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [0x4564a0]
test eax, eax
je 0x42664c
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0042bb57
add esp, 0x120
ret
push 0x11c
lea edx, [esp + 4]
push 0
push edx
mov dword [0x4564a0], 2
call fcn.0042d060
add esp, 0xc
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, 1
test eax, eax
je 0x426699
cmp dword [esp + 0x10], 2
jne 0x426699
cmp dword [esp + 4], 6
jb 0x426699
mov dword [0x4564a0], ecx
xor eax, eax
cmp dword [0x4564a0], ecx
mov ecx, dword [esp + 0x11c]
sete al
xor ecx, esp
call fcn.0042bb57
add esp, 0x120
ret
Function at 0x4272e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor edi, edi
mov dword [esi], vtable.CHtmlBundle_class_CStatusWnd_.0
cmp eax, edi
je 0x4272f8
mov ecx, dword [eax + 4]
jmp 0x4272fa
xor ecx, ecx
push 0x208
mov dword [esi + 0x21c], eax
lea eax, [esi + 0x10]
push edi
push eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x218], 1
mov dword [esi + 0x220], edi
mov dword [esi + 0x224], edi
mov dword [esi + 0x228], edi
mov dword [esi + 0x22c], edi
mov dword [esi + 0x230], edi
call fcn.0042d060
movzx ecx, word [esp + 0x1c]
add esp, 0xc
push 0x4446c8
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x4273a1
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x4273a1
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x4273a1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov eax, esi
cmp ebp, edi
je 0x4273a3
call fcn.00427ed0
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x4273a1
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
push ebp
call edx
mov eax, esi
pop edi
pop ebp
pop ebx
ret 8
Function at 0x429df0
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x8c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
push ebp
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x429e3c
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
jmp 0x429f66
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x429e5f
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push ebp
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x429f66
lea eax, [esp + 0x10]
push eax
mov edi, 0x100000
call fcn.0040fc60
push 0x68
lea ecx, [esp + 0x2c]
push esi
push ecx
call fcn.0042d060
mov edi, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x67452301
mov dword [esp + 0x34], 0xefcdab89
mov dword [esp + 0x38], 0x98badcfe
mov dword [esp + 0x3c], 0x10325476
mov dword [esp + 0xc], esi
mov edi, edi
mov eax, dword [esp + 0x20]
sub eax, edi
jne 0x429ec1
call fcn.0042bcc3
mov edi, dword [esp + 0x1c]
push esi
lea edx, [esp + 0x10]
push edx
push 0x100000
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429f05
cmp dword [esp + 0xc], esi
jbe 0x429f05
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
sub eax, edi
jne 0x429ef3
call fcn.0042bcc3
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
push edi
lea esi, [esp + 0x2c]
call fcn.00429490
xor esi, esi
jmp 0x429eb0
lea eax, [esp + 0x28]
call fcn.004295a0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0xc], ecx
cmp eax, esi
je 0x429f4d
push eax
call fcn.0042bb4c
add esp, 4
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0042bb4c
add esp, 4
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0042bb57
add esp, 0x8c
ret 4