Function at 0xb3b130
Capabilities:
Check mutex on windows
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc11632
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [str.g.0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [str.g.0]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
xor esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x278], esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], vtable.tpsp::TASKITEM.0
call fcn.00bde720
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], esi
mov eax, 1
mov dword [esp + 0x278], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x24]
cmp eax, esi
jle 0xb3b299
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 0x24]
jl 0xb3b24a
push 0x265
push str.D:workTpsp
push 3
lea ecx, [esp + 0x140]
mov byte [esp + 0x2f], 0
call fcn.00bbb6d0
mov byte [esp + 0x278], 2
or ebx, 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x1c], ebx
call fcn.00bbb9c0
push eax
lea ecx, [esp + 0x27]
call fcn.00bbbc10
mov dword [esp + 0x278], 1
test bl, 1
je 0xb3b269
lea ecx, [esp + 0x134]
and ebx, 0xfffffffe
call fcn.00bbb700
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov eax, dword [eax + esi*4]
mov edi, dword [esp + 0x1c]
push eax
call fcn.00b3c2a0
test eax, eax
je 0xb3b3a5
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [ecx + 0x24]
jl 0xb3b1ff
mov edi, dword [esp + 0x24]
xor esi, esi
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x30]
push 0x103
lea edx, [esp + 0x161]
push esi
push edx
mov byte [esp + 0x168], 0
call fcn.00ba6830
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp eax, esi
je 0xb3b3eb
cmp dword [edi + 0x14], 0x10
mov byte [esp + 0x30], 0
mov dword [esp + 0x31], esi
mov dword [esp + 0x35], esi
mov dword [esp + 0x39], esi
mov dword [esp + 0x3d], esi
jb 0xb3b2e6
mov edi, dword [edi]
push edi
lea ecx, [esp + 0xc8]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xc8], 0x67452301
mov dword [esp + 0xcc], 0xefcdab89
mov dword [esp + 0xd0], 0x98badcfe
mov dword [esp + 0xd4], 0x10325476
call fcn.00b42e60
add esp, 4
lea esi, [esp + 0xc4]
lea ebx, [esp + 0x30]
call fcn.00b42f20
mov eax, ebx
push eax
lea ecx, [esp + 0x138]
push ecx
call fcn.00b3b080
mov eax, dword [esp + 0x13c]
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x148], esi
jae 0xb3b36f
lea eax, [esp + 0x134]
push eax
push str.Tpsp_Charging_SingTask___s
lea edx, [esp + 0x164]
push 0x104
push edx
call fcn.00ba2e93
add esp, 0x10
cmp dword [esp + 0x148], esi
jb 0xb3b406
mov eax, dword [esp + 0x134]
push eax
call fcn.00ba25e4
add esp, 4
jmp 0xb3b406
mov dword [esp + 0x4c], vtable.tpsp::TASKITEM.0
lea edx, [esp + 0x4c]
mov dword [esp + 0x278], 5
cmp edx, dword [0xc4725c]
je 0xb3b3d4
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0xb3b3d4
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0x6c]
push eax
call fcn.00ba3498
mov byte [esp + 0x27c], 3
jmp 0xb3bc22
push ebx
push str.Tpsp_Charging_SingTask___d
lea ecx, [esp + 0x164]
push 0x104
push ecx
call fcn.00ba2e93
add esp, 0x10
lea edx, [esp + 0x15c]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xb3b44b
test esi, esi
je 0xb3b432
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x278], 0xffffffff
call fcn.00b4eb00
jmp 0xb3bc42
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.00b3d780
test eax, eax
je 0xb3b4a0
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x4c]
mov dword [esp + 0x28], 0
cmp esi, edx
je 0xb3b48f
mov eax, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov ecx, esi
lea esi, [esp + 0x4c]
call fcn.00b4f500
lea ebx, [esp + 0x4c]
call fcn.00b267c0
lea edi, [eax + 8]
call fcn.00b418a0
mov ebx, 0xf
xor edi, edi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], edi
mov byte [esp + 0x8c], 0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], edi
mov byte [esp + 0xa8], 0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xa8]
push eax
lea edx, [esp + 0x90]
mov ecx, esi
mov byte [esp + 0x27c], 7
call fcn.00b2c6e0
mov eax, esi
mov dword [esp + 0x24], edi
call fcn.00b267a0
mov eax, dword [eax + 0xc]
cmp eax, edi
jle 0xb3bb14
jmp 0xb3b510
mov eax, dword [esp + 0x14]
call fcn.00b267a0
mov esi, dword [esp + 0x24]
lea edi, [eax + 8]
call fcn.00b42c30
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.00b50430
mov bl, 8
mov byte [esp + 0x278], bl
mov edx, dword [esp + 0x130]
shr edx, 0xa
test dl, 1
je 0xb3b64f
xor edi, edi
push str.kernel32
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, edi
je 0xb3b58f
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0xb3b584
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov edx, str.Win64
cmp dword [esp + 0x18], edi
jne 0xb3b594
mov edx, 0xc2eca0
mov eax, edx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xb3b5b0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00b22a60
mov byte [esp + 0x278], 9
mov eax, dword [esp + 0x120]
call fcn.00b42100
test al, al
je 0xb3b634
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0xb3b5eb
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x124]
push edi
push eax
call fcn.00b229a0
cmp eax, 0xffffffff
jne 0xb3b634
mov byte [esp + 0x278], bl
cmp dword [esp + 0x44], 0x10
jb 0xb3b61e
mov edx, dword [esp + 0x30]
push edx
call fcn.00ba25e4
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
jmp 0xb3bae0
mov byte [esp + 0x278], bl
cmp dword [esp + 0x44], 0x10
jb 0xb3b64f
mov eax, dword [esp + 0x30]
push eax
call fcn.00ba25e4
add esp, 4
mov ecx, dword [esp + 0x130]
shr ecx, 0xb
test cl, 1
je 0xb3b6d7
lea esi, [esp + 0x134]
call fcn.00b2f5c0
mov byte [esp + 0x278], 0xa
mov eax, dword [esp + 0x124]
call fcn.00b42100
test al, al
je 0xb3b6b6
mov eax, dword [esp + 0x124]
cmp dword [eax + 0x14], 0x10
jb 0xb3b691
mov eax, dword [eax]
push eax
call fcn.00b2f8d0
add esp, 4
test al, al
jne 0xb3b6b6
lea ecx, [esp + 0x134]
mov byte [esp + 0x278], bl
call fcn.00bfc760
jmp 0xb3bae0
mov byte [esp + 0x278], bl
cmp dword [esp + 0x148], 0x10
jb 0xb3b6d7
mov edx, dword [esp + 0x134]
push edx
call fcn.00ba25e4
add esp, 4
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0xb3b879
mov edi, dword [esp + 0x1c]
push edi
lea ebx, [esp + 0xc8]
lea ecx, [esp + 0x50]
call fcn.00b39c30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xd4]
xor esi, esi
cmp eax, esi
je 0xb3b857
mov ecx, dword [ecx + 0x30]
push eax
mov eax, dword [esp + 0xd4]
push edx
push eax
push ecx
push str.TaskID__d__ResID__d_ResVer__d_failed___d__
call fcn.00b26500
add esp, 0x14
push 5
mov edi, 0xf
push str.Break
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
call fcn.00b22a60
lea ecx, [esp + 0x30]
mov byte [esp + 0x278], 0xb
mov edx, dword [esp + 0xdc]
push ecx
push edx
call fcn.00b2d6c0
add esp, 8
mov byte [esp + 0x278], 8
cmp dword [esp + 0x44], 0x10
mov bl, al
jb 0xb3b788
mov eax, dword [esp + 0x30]
push eax
call fcn.00ba25e4
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
test bl, bl
je 0xb3bae0
mov eax, dword [esp + 0x130]
shr eax, 6
test al, 1
je 0xb3b7cb
mov ecx, dword [esp + 0xec]
cmp ecx, esi
jne 0xb3b7bf
mov ecx, dword [0xc47270]
mov ecx, dword [ecx + 0x28]
mov edx, dword [esp + 0x1c]
push 1
push edx
call fcn.00b3c710
lea ecx, [esp + 0xc4]
mov byte [esp + 0x278], 7
call fcn.00b50500
mov ebx, 0x10
mov byte [esp + 0x278], 6
cmp dword [esp + 0xbc], ebx
jb 0xb3b805
mov eax, dword [esp + 0xa8]
push eax
call fcn.00ba25e4
add esp, 4
mov byte [esp + 0x278], 1
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
cmp dword [esp + 0xa0], ebx
jb 0xb3b83c
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00ba25e4
add esp, 4
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], esi
mov byte [esp + 0x8c], 0
jmp 0xb3b432
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0xd0]
push edx
push ecx
push eax
push str.TaskID__d__ResID__d_ResVer__d_started.
call fcn.00b26500
lea eax, [edi + 0xac]
jmp 0xb3bab6
cmp eax, 1
jne 0xb3b9c4
mov eax, dword [esp + 0xd0]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
lea eax, [edi + 0xac]
call fcn.00b647e0
test byte [eax], 2
jne 0xb3bae0
push edi
lea ebx, [esp + 0xc8]
lea ecx, [esp + 0x50]
call fcn.00b39c30
test eax, eax
je 0xb3b98c
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x30]
push eax
mov eax, dword [esp + 0xd4]
push edx
push eax
push ecx
push str.TaskID__d__ResID__d_ResVer__d_failed___d__
call fcn.00b26500
add esp, 0x14
push str.Break
lea ecx, [esp + 0x138]
call fcn.00b22830
mov byte [esp + 0x278], 0xc
mov ecx, dword [esp + 0xdc]
push eax
push ecx
call fcn.00b2d6c0
add esp, 8
mov byte [esp + 0x278], 8
cmp dword [esp + 0x148], 0x10
mov bl, al
jb 0xb3b936
mov edx, dword [esp + 0x134]
push edx
call fcn.00ba25e4
add esp, 4
lea ecx, [esp + 0xc4]
test bl, bl
je 0xb3bae7
push edi
call fcn.00b3c6d0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x278], 7
call fcn.00b50500
lea ecx, [esp + 0xa8]
mov byte [esp + 0x278], 6
call fcn.00bfc760
lea ecx, [esp + 0x8c]
mov byte [esp + 0x278], 1
call fcn.00bfc760
jmp 0xb3b432
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
push ecx
push edx
push eax
push str.TaskID__d__ResID__d_ResVer__d_started.
call fcn.00b26500
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x28], eax
lea eax, [edi + 0xac]
jmp 0xb3bac1
cmp dword [esp + 0x28], 0
mov esi, dword [esp + 0x1c]
je 0xb3b9e9
lea ecx, [esp + 0xc4]
lea edi, [esp + 0x4c]
mov ebx, esi
call fcn.00b3aef0
test eax, eax
je 0xb3bae0
push esi
lea ebx, [esp + 0xc8]
lea ecx, [esp + 0x50]
call fcn.00b39c30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xd4]
test eax, eax
je 0xb3ba99
mov ecx, dword [ecx + 0x30]
push eax
mov eax, dword [esp + 0xd4]
push edx
push eax
push ecx
push str.TaskID__d__ResID__d_ResVer__d_failed___d__
call fcn.00b26500
add esp, 0x14
push 5
push str.Break
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.00b22a60
lea ecx, [esp + 0x30]
mov byte [esp + 0x278], 0xd
mov edx, dword [esp + 0xdc]
push ecx
push edx
call fcn.00b2d6c0
add esp, 8
mov byte [esp + 0x278], 8
cmp dword [esp + 0x44], 0x10
mov bl, al
jb 0xb3ba88
mov eax, dword [esp + 0x30]
push eax
call fcn.00ba25e4
add esp, 4
lea ecx, [esp + 0xc4]
test bl, bl
je 0xb3bae7
push esi
jmp 0xb3b946
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0xd0]
push edx
push ecx
push eax
push str.TaskID__d__ResID__d_ResVer__d_started.
call fcn.00b26500
lea eax, [esi + 0xac]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x28], edx
add esp, 0x10
lea edx, [esp + 0x18]
call fcn.00b647e0
or dword [eax], 2
lea edx, [esp + 0xc4]
lea ecx, [esp + 0x4c]
call fcn.00b2b5e0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x278], 7
call fcn.00b50500
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
inc esi
mov dword [esp + 0x24], esi
call fcn.00b267a0
cmp esi, dword [eax + 0xc]
jl 0xb3b510
mov ebx, 0xf
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x10]
mov ecx, esi
cmp esi, 6
jb 0xb3bb27
mov ecx, 6
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0xb3bb33
mov eax, dword [eax]
push ecx
push 0xc2eee8
push eax
call fcn.00b22790
add esp, 0xc
test eax, eax
jne 0xb3bb5a
cmp esi, 6
jae 0xb3bb50
or eax, 0xffffffff
jmp 0xb3bb58
xor eax, eax
cmp esi, 6
setne al
test eax, eax
sete al
test al, al
je 0xb3bb6f
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
call fcn.00b3ee30
mov byte [esp + 0x278], 6
cmp dword [esp + 0xbc], edi
jb 0xb3bb90
mov eax, dword [esp + 0xa8]
push eax
call fcn.00ba25e4
add esp, 4
mov byte [esp + 0x278], 1
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
cmp dword [esp + 0xa0], edi
jb 0xb3bbcb
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00ba25e4
add esp, 4
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
mov dword [esp + 0x4c], vtable.tpsp::TASKITEM.0
lea edx, [esp + 0x4c]
mov dword [esp + 0x278], edi
cmp edx, dword [0xc4725c]
je 0xb3bc10
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0xb3bc10
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0x6c]
push eax
call fcn.00ba3498
mov byte [esp + 0x27c], 0xe
add esp, 4
lea ecx, [esp + 0x50]
call fcn.00bdead0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x278], 0xffffffff
call fcn.00bbc7c0
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00ba2239
mov esp, ebp
pop ebp
ret 8