joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40efb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x5026c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x40f00f
cmp word [esi], 0
je 0x40f00f
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00469a40
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x40f022
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
push edi
call fcn.0040eb90
add esp, 0x10
test eax, eax
jne 0x40f040
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b9b8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x804]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x40f030
cmp dword [ebp + 0x18], 0
je 0x40f059
lea eax, [ebp - 0x804]
push eax
call fcn.0043f970
add esp, 4
test eax, eax
je 0x40f00f
lea eax, [ebp - 0x804]
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x830], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x840]
push eax
movlpd qword [ebp - 0x838], xmm0
movlpd qword [ebp - 0x820], xmm0
movlpd qword [ebp - 0x818], xmm0
movlpd qword [ebp - 0x810], xmm0
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x840], 0x3c
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x83c], 0x400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x40f0de
push dword [ebp - 0x808]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b9b8
mov esp, ebp
pop ebp
ret
Function at 0x4121e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8a96
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5026c4]
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 0x41228c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41228c
call fcn.0040eaa0
mov esi, eax
jmp 0x41237c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4122af
call fcn.0040eaa0
jmp 0x41236f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4122cd
call fcn.0040eaa0
jmp 0x41236f
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 0x4122ee
mov esi, 0x8007000e
jmp 0x412371
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004102b0
jmp 0x412318
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x41232f
mov esi, 0x8007000e
jmp 0x412371
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 0x41234f
call fcn.0040eaa0
jmp 0x41236f
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.00412040
mov esi, eax
test edi, edi
je 0x41237c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4123a0
lea ecx, [ebp - 0x418]
call fcn.00410940
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.0043b9b8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4136d0
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 0x413741
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x413741
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x413741
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x413741
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 0x41373b
push esi
push ebx
push edi
call fcn.00468f40
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 0x41373b
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 0x414b70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8c48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5026c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
test edi, edi
je 0x414ba8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], eax
call fcn.0043b6d2
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x414c04
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__V___Binder_U_Unforced_std__P8MainWnd__AEXXZPAV3__2___V_std__X__V_std__.0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x24], eax
jmp 0x414c06
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
test esi, esi
je 0x414c17
lock inc dword [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x414c39
push 1
lea ecx, [edi + 0x20]
call fcn.0041acd0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x414c76
push 0x28
call fcn.0043b6d2
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_22f164d21d9f1a384bc6dd1666fb931e___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x414cb5
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x418e00
push 0
push 0
call fcn.00477b56
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x414cb9
mov byte [ebp + 0xb], 0
test esi, esi
je 0x414cde
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x414cde
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x414cde
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5026c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x414f18
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.0043b6d2
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x414f68
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__V___Binder_U_Unforced_std__P8SuperAppInstaller_super_app__AEXXZPAV34__2___V_std__X__V_std__.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], eax
jmp 0x414f6a
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x414f7b
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x414f9d
push 1
lea ecx, [edi + 0x20]
call fcn.0041acd0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x414fda
push 0x28
call fcn.0043b6d2
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_9f31e710b59360e8f1c33f7f86b4aa6b___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x415019
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x418e00
push 0
push 0
call fcn.00477b56
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x41501d
mov byte [ebp + 0xb], 0
test esi, esi
je 0x415042
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x415042
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x415042
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4152c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8d62
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5026c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0
mov dword [edi], vtable.MainWnd.0
call fcn.004273e0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.00420640
lea esi, [edi + 0x84]
mov dword [edi + 0x78], 0
push esi
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
add esi, 0x20
push 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0043b6d2
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0xb8], vtable.GuidedPopUp.0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 1
mov word [edi + 0xcc], 0
lea ecx, [edi + 0xd0]
mov byte [ebp - 4], 5
call fcn.004294b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418ae0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a94eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5026c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
call fcn.00415ed0
neg eax
lea ecx, [ebp - 0x44]
push ecx
sbb eax, eax
and eax, 0x100
add eax, 0x20006
push eax
push 0
push dword [0x50255c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418c67
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], eax
jne 0x418b7a
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [0x502560]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, eax
test edi, edi
jne 0x418b8b
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x418b8b
push ecx
call esi
jmp 0x418b8b
push dword [0x502560]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
push dword [ebp - 0x44]
call esi
push 0
push 0xa220
push 0x111
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00438b60
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x418c67
push 0x54
push 0x4c5110
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040a700
push 3
push 0x4c5168
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.0040a700
push 0x143
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004064e0
mov esi, eax
push str.clean_status:
push esi
mov byte [ebp - 4], 2
call fcn.004055f0
add esp, 8
mov ecx, esi
push edi
call fcn.00415970
call fcn.00438b60
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.004074b0
lea ecx, [ebp - 0x28]
call fcn.00406da0
lea ecx, [ebp - 0x40]
call fcn.00406da0
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.0043b9b8
mov esp, ebp
pop ebp
ret 4
Function at 0x41bb30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a992b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5026c4]
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
lea esi, [ebx + 0x20]
push esi
mov dword [ebp - 0x424], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
jne 0x41bc85
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00469a40
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00469a40
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00477da1
add esp, 0x18
lea eax, [ebp - 0x218]
push str.NetBridge.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0043f970
add esp, 4
test eax, eax
jne 0x41bc19
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x41bcc6
mov dword [ebx + 0x1c], 1
cmp dword [ebx], 0
jne 0x41bc85
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x41bc85
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
push str.HttpUninit
push dword [ebx]
mov dword [ebx + 4], eax
call edi
push str.zlib_uncompress
push dword [ebx]
mov dword [ebx + 8], eax
call edi
push str.zlib_compress
push dword [ebx]
mov dword [ebx + 0x10], eax
call edi
push str.zlib_compressBound
push dword [ebx]
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x41bc85
call eax
mov dword [ebx + 0xc], eax
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x41bcc2
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x41bcc4
mov eax, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x41bcc4
xor esi, esi
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 - 0x10]
xor ecx, ebp
call fcn.0043b9b8
mov esp, ebp
pop ebp
ret
Function at 0x420640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa0f6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5026c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea esi, [edi + 0x28]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00426850
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426b30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5026c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 4], 0
mov eax, dword [ebp + 8]
push edi
mov edi, dword [eax]
mov al, byte [edi + 0x38]
je 0x426b69
test al, al
jne 0x426b71
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b9b8
mov esp, ebp
pop ebp
ret 4
test al, al
jne 0x426bfd
mov edi, dword [edi]
test edi, edi
je 0x426bfd
mov eax, dword [edi]
push edi
call dword [eax + 0x10]
test eax, eax
je 0x426bfd
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00469a40
mov eax, dword [edi]
lea ecx, [ebp - 0x20c]
add esp, 0xc
push 0x104
push ecx
push edi
call dword [eax]
mov ecx, str.ComputerZMonClient
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426bdd
test dx, dx
je 0x426bd9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426bdd
add eax, 4
add ecx, 4
test dx, dx
jne 0x426bb7
xor eax, eax
jmp 0x426be2
sbb eax, eax
or eax, 1
test eax, eax
je 0x426bfd
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.0043b9b8
mov esp, ebp
pop ebp
ret 4
Function at 0x431040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abb90
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5026c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov dword [esi], vtable.CTrayIcon.0
mov dword [ebp - 4], 0
call fcn.00408030
mov ecx, eax
test ecx, ecx
je 0x43110a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 1
call fcn.00408030
mov ecx, eax
test ecx, ecx
je 0x431114
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], 2
call fcn.00408030
mov ecx, eax
test ecx, ecx
je 0x43111e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407a90
push 0x80004005
call fcn.00407a90
push 0x80004005
call fcn.00407a90
int3
Function at 0x437f20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac21a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5026c4]
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.00408030
mov ecx, eax
test ecx, ecx
je 0x4380e4
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.00408030
mov ecx, eax
test ecx, ecx
je 0x4380ee
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.00408030
mov ecx, eax
test ecx, ecx
je 0x4380f8
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 0x438002
xor ecx, ecx
jmp 0x438020
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 0x438010
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408f60
push edi
mov ecx, ebx
call fcn.0040f950
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43803c
xor ecx, ecx
jmp 0x438054
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438044
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00408f60
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.004388e0
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.0040f950
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 0x438095
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 0x4380ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4380ce
cmp dword [esi + 0x10], 0
je 0x4380c5
push dword [edi]
call fcn.0047b522
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.00407a90
push 0x80004005
call fcn.00407a90
push 0x80004005
call fcn.00407a90
int3