Function at 0x464260
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9e4
mov eax, dword [0x6d45e0]
xor eax, esp
mov dword [esp + 0x9e0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push str.PddBot_Mutex
push 0
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x464829
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4642b6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x464829
push 0x69af6c
push str.PddBot_Version_v_s
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.LeyanPdd.cpp
push 2
push eax
mov dword [esp + 0x28], str.wWinMain
mov dword [esp + 0x2c], str.C:UsersPublicPddBot.log
mov dword [esp + 0x30], 0x6b
mov dword [esp + 0x34], 7
call fcn.00415940
call dword [sym.imp.libcurl.dll_CRYPTO_thread_setup]
lea eax, [esp + 0x178]
push 0x80
push eax
call fcn.00502160
add esp, 0x18
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x34]
push str.FazzBot.lnk
call fcn.004167e0
lea edx, [esp + 0x34]
lea ecx, [esp + 0x40]
call fcn.00413050
mov edx, dword [esp + 0x34]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x464352
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00405030
mov ecx, eax
test ecx, ecx
je 0x464842
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
call fcn.00464920
test eax, eax
jne 0x4643d5
push str.Get_machineId_error
push 0x69c66c
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.LeyanPdd.cpp
push 2
push eax
mov dword [esp + 0x28], str.wWinMain
mov dword [esp + 0x2c], str.C:UsersPublicPddBot.log
mov dword [esp + 0x30], 0x75
mov dword [esp + 0x34], 7
call fcn.00415940
add esp, 0x10
jmp 0x4647cd
call fcn.00405030
mov ecx, eax
test ecx, ecx
je 0x46484c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
call fcn.00412910
test eax, eax
jne 0x464477
push 0x69ee4c
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
call fcn.004167e0
lea edx, [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.00413050
mov edx, dword [esp + 0x34]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464439
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea edx, [esp + 0x40]
lea ecx, [esp + 0x3c]
call fcn.00412f70
add esp, 4
test eax, eax
jne 0x46446e
push eax
push eax
push 0x69eea8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x38]
call fcn.00405ca0
mov esi, dword [esp + 0x3c]
jmp 0x4647b0
lea ecx, [esp + 0x38]
call fcn.00405ca0
mov esi, dword [esp + 0x3c]
lea ecx, [esi - 0x10]
call fcn.00405fe0
add eax, 0x10
mov dword [esp + 0x34], eax
call fcn.00405030
mov ecx, eax
test ecx, ecx
je 0x464856
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
call fcn.00412bc0
lea ecx, [esp + 0x3c]
call fcn.00432cb0
mov edi, dword [esp + 0x34]
test al, al
je 0x46451e
push 0
push 0
push str.S_MR
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x3c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str.LeyanPdd.cpp
push str.3.1.3.9
push str.Pdd_Version__s_read_pddworkbench_version__s
push 2
push eax
mov dword [esp + 0x2c], str.wWinMain
mov dword [esp + 0x30], str.C:UsersPublicPddBot.log
mov dword [esp + 0x34], 0x8b
mov dword [esp + 0x38], 7
call fcn.00415940
add esp, 0x14
jmp 0x46477a
push str.Globalcom.pdd.workbench.single.mutex50E829F2_9055_40DB_8701_04EF68F0F767
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x464557
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00412d80
test eax, eax
jne 0x464557
push eax
push eax
push 0x69efb4
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x46477a
lea ecx, [esp + 0x40]
call fcn.00413500
test eax, eax
je 0x46477a
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0
call fcn.00405c70
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1f0], ax
lea eax, [esp + 0x1f2]
push eax
call fcn.004cf9d0
add esp, 0xc
lea ecx, [esp + 0x38]
push 0x69efb0
call fcn.00414a60
push dword [edi - 0xc]
lea ecx, [esp + 0x3c]
push edi
call fcn.00416640
push 0x69efb0
lea ecx, [esp + 0x3c]
call fcn.00414a60
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x1e8]
sub edx, eax
jmp 0x4645e0
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x4645e0
push 0x103
lea eax, [esp + 0x65]
mov byte [esp + 0x64], cl
push 0
push eax
call fcn.004cf9d0
add esp, 0xc
lea eax, [esp + 0x60]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.PddMsg.dll
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x60]
mov dword [esp + 0x44], 0
push eax
lea ecx, [esp + 0x48]
call fcn.004378e0
push str.MyType
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x34], eax
test eax, eax
je 0x464768
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [esp + 0x34]
mov dword [esp + 0x34], eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x464768
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x464768
lea ecx, [esp + 0x2c]
push ecx
push dword [esp + 0x34]
lea edx, [esp + 0x1f0]
push eax
push ecx
mov ecx, edi
call fcn.00442fc0
add esp, 0x10
push 0
push 0
test eax, eax
jne 0x4646cb
push str.InjectMemDll_fail
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x464768
call dword [sym.imp.ole32.dll_CoInitializeEx]
push dword [esp + 0x10]
call fcn.005cf754
add esp, 4
call fcn.00464040
call fcn.00413170
push 0x88c
call fcn.004c4200
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x464717
push 0x88c
push 0
push eax
call fcn.004cf9d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
call fcn.00465510
jmp 0x464719
xor eax, eax
push 0
push 0x258
push 0x384
push 0
push 0
push 0
push 0x10cf0000
push str.PddBot
push 0
mov ecx, eax
mov dword [esp + 0x58], eax
call fcn.005c948e
mov ecx, dword [esp + 0x34]
call fcn.005c9338
mov ecx, dword [esp + 0x34]
push 5
call fcn.00613360
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.005cdbe8
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x44]
call fcn.00405ca0
lea ecx, [esp + 0x38]
call fcn.00405ca0
mov edx, dword [esp + 0x3c]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464797
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4647b0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4647c9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x5c], 0x10
jb 0x4647e0
push dword [esp + 0x48]
call fcn.004c41b0
add esp, 4
add esi, 0xfffffff0
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov ecx, ebx
mov byte [esp + 0x48], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46480e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x464829
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x9ec]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404ef0
push 0x80004005
call fcn.00404ef0
push 0x80004005
call fcn.00404ef0
int3