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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x40fe64
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ff30
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x40fe85
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x40fe87
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x40ff0f
jg 0x40fe9a
test esi, esi
je 0x40ff0f
test ecx, ecx
jl 0x40fedc
jg 0x40fea4
test eax, eax
je 0x40fedc
cmp ebx, ecx
jg 0x40feb6
jl 0x40feae
cmp esi, eax
jae 0x40feb6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00454740
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x40fee2
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x40ff0f
jg 0x40feec
test esi, esi
je 0x40ff0f
cmp dword [edi + 0x4c], 0
je 0x40ff0f
mov ecx, edi
call fcn.0040d280
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.004614ab
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4100e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x410104
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004101c0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x410125
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x410127
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x4101a4
jg 0x41013a
test esi, esi
je 0x4101a4
test ecx, ecx
jl 0x41017e
jg 0x410144
test eax, eax
je 0x41017e
cmp edi, ecx
jg 0x410156
jl 0x41014e
cmp esi, eax
jae 0x410156
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00454740
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x410181
mov edx, dword [ebp + 8]
test edi, edi
jl 0x4101a4
jg 0x41018b
test esi, esi
je 0x4101a4
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4101a4
push eax
push esi
push 1
push edx
call fcn.00461abe
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411490
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e440
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a62c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x4114d3
cmp eax, 0x80010106
jne 0x4115b4
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ebx, [edi + 0x10]
push ebx
push 0x48af00
push 1
push 0
push 0x48afd0
call dword [sym.imp.ole32.dll_CoCreateInstance]
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4115c6
mov ecx, dword [ebx]
lea edx, [edi + 8]
push edx
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push esi
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edx
call dword [eax + 0xc]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str.rootcimv2SecurityMicrosoftTPM
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4115d0
mov ecx, dword [ebx]
add edi, 0xc
push edi
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push esi
push ecx
mov dword [ebp - 4], 1
call dword [eax + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [eax]
call esi
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00406bd0
push 0x8007000e
call fcn.00406bd0
int3

Function at 0x4121d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a62c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0x208
push 0
mov dword [esi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00455240
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x486858
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004377c0
lea eax, [ebp - 0x20c]
add esp, 4
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412240
sub eax, edx
lea ecx, [esi + 4]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b820
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.00447113
mov esp, ebp
pop ebp
ret 4
Function at 0x4123e0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004475b0
mov eax, dword [0x4a62c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41243c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447113
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
je 0x412516
cmp dword [ebp + 0x10], 0
jle 0x412516
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00455240
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebp - 0x100c], eax
and ecx, 0x80000fff
jns 0x41248b
dec ecx
or ecx, 0xfffff000
inc ecx
xor esi, esi
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x1008], 0
test eax, eax
jle 0x4124e7
nop
push 0x1000
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.00454740
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x412516
inc esi
add edi, 0x1000
cmp esi, dword [ebp - 0x100c]
jl 0x4124a0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x412516
push ecx
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.00454740
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447113
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416720
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a62c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.00455240
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.00455240
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x416783
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x416788
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x4167a6
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x4167a8
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x4167bc
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x4a8654]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00447113
mov esp, ebp
pop ebp
ret 0x18
Function at 0x417f70
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ee30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a62c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00419380
mov ecx, eax
call fcn.004121b0
push str.Win11Assisttant.exe
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00417060
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417fd4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x120]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x418121
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x418121
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x418156
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [edi + 0x120]
lea eax, [ebp - 0x14]
push str._s_t_d
push eax
call fcn.0040a700
mov ecx, dword [edi + 0x10c]
add esp, 0x10
test ecx, ecx
je 0x418055
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [edi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [edi + 0x10c], 0
call fcn.0040ae40
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x418089
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x41808b
mov edx, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [edx + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x41808b
xor esi, esi
mov dword [edi + 0x10c], esi
test esi, esi
mov esi, dword [ebp - 0x14]
je 0x4180ff
push 0
push 0x7530
push 0x3ea
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push 1
push 0
push str.update_down_start
call fcn.004192f0
mov ecx, eax
call fcn.00448450
mov ecx, dword [edi + 0x10c]
lea eax, [edi + 0x74]
push eax
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [edi + 0x10c]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [edi + 0x10c]
push esi
push 0
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x118]
call fcn.00416de0
mov edi, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418123
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x418123
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x418142
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406bd0
int3
Function at 0x41e410
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f9eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a62c4]
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, ecx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 0
setne byte [ebp - 0x44]
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41e59a
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d860
mov byte [ebp - 4], 1
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0xbc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404e20
mov esi, eax
push str.Web_call_OnStartCheck__is_update_check:
push esi
mov byte [ebp - 4], 2
call fcn.00406150
add esp, 8
mov ecx, esi
push dword [ebp - 0x44]
call fcn.00416e50
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406330
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x41e53f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e535
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e5ce
push edx
push ecx
call fcn.00446e66
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x41e588
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e57e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e5d3
push edx
push ecx
call fcn.00446e66
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push dword [ebp - 0x44]
lea ecx, [ebx + 0xc4]
push dword [ebx + 4]
call fcn.0040bb90
mov eax, 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.00447113
mov esp, ebp
pop ebp
ret 0x10
call fcn.00458349
call fcn.00458349
int3
Function at 0x41f440
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a62c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 8
push str.embedded
lea ecx, [esi + 0xa4]
call fcn.0040b820
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
lea eax, [esi + 0x7c]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call sub.gdiplus.dll_GdiplusStartup
push 0
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push dword [esi + 4]
mov edi, 0x1fe
mov ebx, 0x14a
call fcn.00419380
mov ecx, eax
call fcn.00411f10
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
comisd xmm0, xmmword [0x488490]
jbe 0x41f4de
mov edi, 0x3fc
mov ebx, 0x294
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
push 8
push ebx
sar eax, 1
push edi
shr ebx, 1
sub eax, ebx
shr edi, 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
sub eax, edi
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x487038
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, esi
call fcn.00419f40
push dword [esi + 4]
call fcn.00419380
mov ecx, eax
call fcn.004121d0
mov ecx, esi
call fcn.004173b0
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447113
mov esp, ebp
pop ebp
ret
Function at 0x4221d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004475b0
mov eax, dword [0x4a62c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x484804]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x3ffe
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push 0
push eax
call fcn.00455240
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x4222d3
test edi, edi
je 0x4222d3
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4222d3
cmp eax, 0x3fff
ja 0x4222d3
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4222d3
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x486854
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4222d3
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.00455240
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.00424610
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447113
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00447113
mov esp, ebp
pop ebp
ret
Function at 0x422ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fea6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4a62c4]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x422f8c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x422f8c
call fcn.00421df0
mov esi, eax
jmp 0x42307c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x422faf
call fcn.00421df0
jmp 0x42306f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x422fcd
call fcn.00421df0
jmp 0x42306f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x422fee
mov esi, 0x8007000e
jmp 0x423071
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00421cc0
jmp 0x423018
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42302f
mov esi, 0x8007000e
jmp 0x423071
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42304f
call fcn.00421df0
jmp 0x42306f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00422d40
mov esi, eax
test edi, edi
je 0x42307c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4230a0
lea ecx, [ebp - 0x418]
call fcn.004221c0
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.00447113
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x425031
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x425031
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x425031
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x425031
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x42502b
push esi
push ebx
push edi
call fcn.00454740
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x42502b
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d6f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4805fa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a62c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x42d8b4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x42d8be
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x42d8c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x42d7d2
xor ecx, ecx
jmp 0x42d7f0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d7e0
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0040b820
push edi
mov ecx, ebx
call fcn.00416de0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42d80c
xor ecx, ecx
jmp 0x42d824
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d814
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.0040b820
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0042e230
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00416de0
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d865
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x42d89e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42d89e
cmp dword [esi + 0x10], 0
je 0x42d895
push dword [edi]
call fcn.00463712
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00406bd0
push 0x80004005
call fcn.00406bd0
push 0x80004005
call fcn.00406bd0
int3