joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x43a9d7
cmp byte [esi + 1], 0
je 0x43a9df
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x43a9f2
cmp byte [esi + 1], 0
je 0x43a9e6
mov eax, dword [esi + 4]
push 1
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [esi + 0xc]
mov ebx, eax
mov dword [ebp - 4], ebx
jmp 0x43a9fa
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x43a9b1
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x43a9fa
mov edx, dword [esi + 0x1c]
mov dword [ebp - 4], edx
mov ebx, edx
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x43aa0c
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.004b7340
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43aa29
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0xffffffff
cmp edi, eax
jbe 0x43ab2e
lea ecx, [ecx]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x43aa4f
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x43aa66
mov ebx, 0x404
cmp byte [esi], 0
je 0x43aa8b
cmp byte [esi + 1], 0
je 0x43ab2e
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x43aa8e
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x43aab7
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43aab2
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x43aae0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x43aac8
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.004ba8a0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x43ab2e
lea eax, [ebx - 3]
test eax, eax
js 0x43ab13
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x43ab0f
cmp byte [eax + ecx + 1], 0x4b
jne 0x43ab0f
cmp byte [eax + ecx + 2], 5
jne 0x43ab0f
cmp byte [eax + ecx + 3], 6
je 0x43ab28
test eax, eax
jns 0x43aaf0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
jae 0x43ab2e
mov ebx, dword [ebp - 4]
mov edi, eax
mov eax, dword [ebp - 0xc]
jmp 0x43aa40
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.004b7789
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bcf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x43bdaa
cmp dword [esi + 4], 0xffffffff
jne 0x43bdaa
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43bd20
sub eax, edx
sar eax, 1
movzx ecx, word [esi + eax*2 + 0x242]
cmp ecx, 0x5c
je 0x43bd4c
cmp ecx, 0x2f
je 0x43bd4c
mov dword [esi + eax*2 + 0x244], 0x2f
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x43bd70
push edi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x43bd70
mov eax, 0x2000000
pop edi
pop ecx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
push ecx
push ebx
call fcn.0043a540
add esp, 0x10
test eax, eax
jne 0x43bd8f
mov eax, dword [ebp + 0xc]
pop edi
pop ecx
pop ebp
ret 8
call fcn.0043ab50
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ecx
pop ebp
ret 8
mov eax, 0x1000000
pop edi
pop ecx
pop ebp
ret 8
Function at 0x43c5a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x43c62b
push 0x104
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004b917d
lea eax, [ebp - 0x414]
add esp, 0xc
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c5e0
sub eax, edx
sar eax, 1
je 0x43c60a
lea ecx, [ebp + eax*2 - 0x416]
movzx eax, word [ecx]
cmp eax, 0x2f
je 0x43c605
cmp eax, 0x5c
jne 0x43c60a
xor edx, edx
mov word [ecx], dx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43c62b
push 0
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [edi]
test ax, ax
je 0x43c70f
mov ecx, edi
mov edx, edi
jmp 0x43c640
cmp ax, 0x2f
je 0x43c64c
cmp ax, 0x5c
jne 0x43c64e
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x43c640
cmp ecx, edi
je 0x43c68f
sub ecx, edi
push esi
sar ecx, 1
lea esi, [ecx + ecx]
push esi
lea edx, [ebp - 0x414]
push edi
push edx
call fcn.004ba8a0
lea ecx, [ebp - 0x414]
push ecx
xor eax, eax
push ebx
mov word [ebp + esi - 0x414], ax
call fcn.0043c5a0
add esp, 0x14
pop esi
xor edx, edx
mov word [ebp - 0x20c], dx
test ebx, ebx
je 0x43c6b1
push 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004b917d
add esp, 0xc
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov word [ebp - 6], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c6c0
sub eax, edx
sar eax, 1
mov edx, 0x104
sub edx, eax
push edx
lea eax, [ebp + eax*2 - 0x20c]
push edi
push eax
call fcn.004b917d
add esp, 0xc
lea edx, [ebp - 0x20c]
xor ecx, ecx
push edx
mov word [ebp - 6], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43c70f
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004b6111
mov esp, ebp
pop ebp
ret
Function at 0x43e0c0
Capabilities:
Inspect load icon resource
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e7a58
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x5441b4]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
mov eax, dword [0x5441b4]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov edi, dword [sym.WEMediaSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push 0xfffffffffffffff0
mov esi, ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
call ebx
and eax, 0xff3effff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
movzx eax, word [esi + 0x450]
mov ecx, dword [esi + 4]
push eax
push 0xfffffffffffffffa
push ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
push 1
push 0x80
push edx
call ebx
mov eax, dword [esi + 4]
push edi
push 0
push 0x80
push eax
call ebx
mov ecx, dword [esi + 4]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
call dword [0x51643c]
lea ecx, [esp + 0xa4]
call dword [0x516448]
push 0
push edi
lea edx, [esp + 0x1c]
mov dword [esp + 0x208], 0
mov ebx, dword [sym.WEMediaSetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push edx
push 0
lea ecx, [esi + 0x348]
mov dword [esp + 0x24], vtable.CCustomCtrlBuildCallback.0
call ebx
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], esp
call dword [0x51644c]
test eax, eax
jne 0x43e23c
lea ecx, [esp + 0x1c]
call dword [0x516498]
mov byte [esp + 0x200], 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push eax
lea eax, [esp + 0x20]
push 0x510d2c
push eax
call dword [0x5164a4]
add esp, 0xc
lea ecx, [esp + 0x1c]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x200], 0
call dword [0x51649c]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x200], 0xffffffff
call dword [0x516450]
or eax, 0xffffffff
jmp 0x43e268
push eax
mov ecx, edi
call dword [0x516440]
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x200], 0xffffffff
call dword [0x516450]
xor eax, eax
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.004b6111
mov esp, ebp
pop ebp
ret 0x10
Function at 0x440de0
Capabilities:
Enumerate processes
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x240], 0
push edi
nop
push 0
push 2
mov dword [ebp - 0x238], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x23c], edi
cmp edi, 0xffffffff
je 0x440f93
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
mov dword [ebp - 0x230], 0x22c
call fcn.004be120
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x244], eax
test esi, esi
je 0x440f62
lea esp, [esp]
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x440f40
mov dword [ebp - 0x234], edi
jmp 0x440ea0
mov eax, dword [ebp - 0x234]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x440eb0
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004b6f86
add esp, 8
test eax, eax
jne 0x440f16
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x244], eax
je 0x440f16
push eax
push 0
push 1
mov dword [ebp - 0x238], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x440efa
push str.KillProcessFromList
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x440f16
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
add dword [ebp - 0x234], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x440ea0
mov edx, dword [ebp - 0x23c]
lea ecx, [ebp - 0x230]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x440e70
mov edi, dword [ebp - 0x23c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x238], 0
je 0x440f93
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x240]
inc eax
mov dword [ebp - 0x240], eax
cmp eax, 5
jl 0x440e00
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b6111
mov esp, ebp
pop ebp
ret
Function at 0x441ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed2b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x545640
lea ecx, [ebp - 0x2c]
call fcn.00403830
lea ecx, [esi + 0x70]
push 0
push ecx
lea ebx, [esi + 0x8c]
lea edi, [esi + 0x54]
push edi
mov ecx, ebx
mov edx, eax
mov dword [ebp - 4], 0
call fcn.00407ab0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x442066
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
add esp, 4
cmp byte [ebp - 0x49], 0
je 0x442099
cmp dword [edi + 0x14], 8
jb 0x442076
mov eax, dword [edi]
jmp 0x442078
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442099
cmp dword [esi + 0x80], 0
je 0x442099
mov word [esi + 0xe1], 1
mov al, 1
jmp 0x442103
mov edx, 0x545640
lea ecx, [ebp - 0x48]
call fcn.00403830
push 1
lea ecx, [esi + 0x70]
push ecx
push edi
mov ecx, ebx
mov edx, eax
mov dword [ebp - 4], 1
call fcn.00407ab0
add esp, 0xc
cmp dword [ebp - 0x34], 8
mov bl, al
jb 0x4420d4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
add esp, 4
test bl, bl
je 0x442101
cmp dword [edi + 0x14], 8
jb 0x4420e0
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442101
cmp dword [esi + 0x80], 0
je 0x442101
mov word [esi + 0xe1], 0x101
mov al, 1
jmp 0x442103
xor al, al
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.004b6111
mov esp, ebp
pop ebp
ret
Function at 0x443060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eecc8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
test byte [0x547f74], bl
jne 0x4430b0
or dword [0x547f74], ebx
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
xor esi, esi
cmp dword [0x547ef0], esi
je 0x44324f
test byte [0x547f74], 1
jne 0x4430df
or dword [0x547f74], ebx
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
cmp dword [0x547ed8], 8
mov eax, dword [0x547ec4]
jae 0x4430f2
mov eax, 0x547ec4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44324f
test byte [0x547f74], 1
jne 0x443122
or dword [0x547f74], ebx
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
lea eax, [ebp - 0x60]
mov edi, vtable.CVersionHelp.0
push eax
mov ecx, 0x547e70
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call fcn.00444ff0
mov dword [ebp - 4], esi
test byte [0x547f74], 1
jne 0x443168
or dword [0x547f74], ebx
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
lea ecx, [ebp - 0x74]
push ecx
mov ecx, 0x547ee0
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.00444ff0
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00444ef0
test al, al
jne 0x44324f
mov edx, dword [0x543f28]
mov eax, dword [edx + 0xc]
mov ecx, 0x543f28
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
push 0x50f828
mov byte [ebp - 4], 2
call fcn.00429200
push eax
mov edx, str.Setup
lea ecx, [ebp - 0x2c]
call fcn.00429870
mov bl, 3
lea esi, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00403cf0
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], esi
jb 0x4431eb
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4431f6
lea ecx, [ebp - 0x2c]
push eax
push ecx
lea edi, [ebp - 0x4c]
call fcn.00406b50
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x443217
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
add esp, 4
mov esi, dword [ebp - 0x4c]
xor edx, edx
mov ecx, esi
call fcn.00444d10
lea ecx, [ebp - 0x2c]
test eax, eax
jne 0x443253
call fcn.00406760
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44324f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x44327a
call fcn.00406760
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004b6111
mov esp, ebp
pop ebp
ret
Function at 0x443470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebce8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
test byte [0x547f74], 1
mov dword [ebp - 0x68], edi
jne 0x4434c1
or dword [0x547f74], 1
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
push 0xffffffffffffffff
push edi
xor eax, eax
push 0x547ec4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00406e90
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x4434f4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44359a
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x44350e
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x443528
push 1
mov eax, 0x50b670
lea ecx, [ebp - 0x2c]
call fcn.004065e0
cmp dword [0x54566c], edi
je 0x443578
mov edi, 0x545640
mov ecx, str.soyiba
call fcn.004062a0
test al, al
jne 0x44356a
mov ecx, 0x50b6b4
call fcn.00443690
test al, al
je 0x443576
mov ecx, 0x50b6b8
call fcn.00443690
test al, al
je 0x443576
mov eax, edi
call fcn.00444c30
test al, al
jne 0x443576
lea edx, [ebp - 0x2c]
push edx
call fcn.004444e0
add esp, 4
xor edi, edi
mov dword [ebx + 0x10], edi
xor eax, eax
mov dword [ebx + 0x14], 7
lea edi, [ebp - 0x2c]
mov esi, ebx
mov word [ebx], ax
call fcn.00406400
cmp dword [ebp - 0x18], 8
jmp 0x443665
test byte [0x547f74], 1
jne 0x4435bc
or dword [0x547f74], 1
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
movzx edx, byte [0x547f55]
push edx
lea esi, [ebp - 0x48]
call fcn.004023f0
add esp, 4
push 1
mov eax, 0x50b670
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004065e0
lea esi, [ebp - 0x64]
call fcn.00403cb0
push edi
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004064e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
jb 0x443610
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b6106
add esp, 4
push 1
mov eax, 0x50b670
lea ecx, [ebp - 0x48]
call fcn.004065e0
mov dword [ebx + 0x10], edi
xor ecx, ecx
mov dword [ebx + 0x14], 7
lea edi, [ebp - 0x48]
mov esi, ebx
mov word [ebx], cx
call fcn.00406400
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x44364e
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x443673
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
mov eax, ebx
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.004b6111
mov esp, ebp
pop ebp
ret
Function at 0x44c760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efe36
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5441b4]
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 eax, dword [ebp + 8]
push 0xa
push 0x83
push 0
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44c83c
test byte [0x548484], 1
jne 0x44c7e6
or dword [0x548484], 1
push 0x548408
mov dword [ebp - 4], eax
call fcn.00431fb0
push 0x4f1010
mov byte [0x548480], 0
call fcn.004b809e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x50f818
push 0x548408
mov edx, str.Error
lea ecx, [ebp - 0x48]
call fcn.00429870
mov edi, eax
mov esi, ebx
mov dword [ebp - 4], 1
call fcn.00406400
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x44c826
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
add esp, 4
mov ecx, dword [ebp - 0x4c]
push 3
push 0x5124f8
call fcn.004073c0
xor al, al
jmp 0x44c94f
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
xor edi, edi
push edi
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x50], eax
cmp eax, edi
jne 0x44c89b
push 0x50f824
call fcn.00429200
push eax
mov edx, str.Error
lea ecx, [ebp - 0x48]
call fcn.00429870
mov edi, eax
mov esi, ebx
mov dword [ebp - 4], 2
call fcn.00406400
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x44c826
mov edx, dword [ebp - 0x48]
push edx
jmp 0x44c81e
lea edx, [esi + 0x54]
mov dword [ebp - 0x5c], esi
mov esi, 8
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], 0x44c710
cmp dword [edx + 0x14], esi
jb 0x44c8b7
mov edx, dword [edx]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 7
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c8d0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.004073c0
mov edx, dword [ebp - 0x50]
push ebx
mov ebx, dword [ebp - 0x54]
lea edi, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.00402aa0
add esp, 4
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x44c922
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
test bl, bl
je 0x44c94d
mov ecx, dword [ebp - 0x4c]
push 3
push 0x5121c0
call fcn.004073c0
xor al, al
jmp 0x44c94f
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.004b6111
mov esp, ebp
pop ebp
ret 4
Function at 0x44da70
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efde0
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x198]
push 0
push eax
mov dword [ebp - 0x19c], 0x11c
call fcn.004be120
add esp, 0xc
lea ecx, [ebp - 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44db3c
cmp dword [ebp - 0x198], 6
jb 0x44db3c
lea esi, [ebp - 0x64]
call fcn.0040e010
push eax
mov eax, str.cef_3729_157_v2.7z
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004044b0
add esp, 4
lea esi, [ebx + 0x98]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00406400
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x44db1e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], esi
jb 0x44dba8
mov ecx, dword [ebp - 0x64]
jmp 0x44db9f
lea esi, [ebp - 0x80]
call fcn.0040e010
push eax
mov eax, str.cef2623.7z
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.004044b0
add esp, 4
lea esi, [ebx + 0x98]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00406400
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x44db83
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], esi
jb 0x44dba8
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b6106
add esp, 4
push 0
push 0
push ebx
push 0x44de20
push 0
push 0
call fcn.004b902f
xor edx, edx
add esp, 0x18
test eax, eax
mov dword [ebx + 0x94], eax
setne al
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.004b6111
mov esp, ebp
pop ebp
ret