Function at 0x5f0d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x716b06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
mov eax, 0xd
test edi, edi
mov ebp, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
jl 0x5f112b
cmp edi, dword [ebp + 0xc]
jge 0x5f112b
lea ebx, [ebp + 0x628]
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x4a8]
mov edx, dword [esp + 0x78]
cmp eax, edi
jne 0x5f0ddf
cmp dword [ebp + 0x4ac], edx
je 0x5f0e93
mov eax, 1
lea ecx, [ebp + 0x4c4]
cmp dword [ecx - 4], edi
jne 0x5f0df3
cmp dword [ecx], edx
je 0x5f0e54
inc eax
add ecx, 0x18
cmp eax, 0x10
jl 0x5f0dea
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 8]
lea edx, [edi + edi*2]
mov eax, dword [ecx + edx*4 + 8]
lea esi, [ecx + edx*4]
dec eax
je 0x5f0ec7
dec eax
jne 0x5f112b
mov eax, dword [esi]
mov edx, dword [ebp + 0xc]
cmp eax, edx
jge 0x5f0eb1
lea edx, [eax + eax*2]
cmp dword [ecx + edx*4 + 8], 1
jne 0x5f0eb1
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi + 4]
push ecx
push edi
push edx
push eax
mov ecx, ebp
call fcn.005f1150
test eax, eax
je 0x5f112b
jmp 0x5f1093
lea ecx, [eax + eax*2]
lea edi, [esp + 0x4c]
test eax, eax
lea edx, [ebp + ecx*8 + 0x4a8]
mov ecx, 6
mov esi, edx
rep movsd dword es:[edi], dword [esi]
jle 0x5f0e82
mov edi, edx
lea edx, [edi - 0x18]
mov ecx, 6
mov esi, edx
dec eax
rep movsd dword es:[edi], dword [esi]
mov edi, edx
jne 0x5f0e71
mov ecx, 6
lea esi, [esp + 0x4c]
lea edi, [ebp + 0x4a8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x7c]
lea ecx, [ebp + 0x4b0]
push esi
call fcn.005f2d00
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x5f1135
push str.Invalid_object_stream
push 0xffffffffffffffff
push 1
call fcn.006033f0
add esp, 0xc
jmp 0x5f112b
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 4]
cmp ecx, eax
jne 0x5f112b
push 0x38
mov dword [esp + 0x20], 5
call fcn.0044f661
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x6c], edi
je 0x5f0f4a
push 0xa0
call fcn.0044f661
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x6c], 1
je 0x5f0f36
mov ecx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp + 4]
add eax, dword [esi]
mov edx, dword [ecx]
push 0
push 0
push eax
call dword [edx + 0x58]
push eax
push ebp
mov ecx, edi
call fcn.005f5f30
jmp 0x5f0f38
xor eax, eax
push 1
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x78], 0
call fcn.005f55f0
mov edi, eax
push 0
push 0
push 0
push 0
push 0
mov esi, 1
push 0
lea ecx, [esp + 0x34]
push esi
push ecx
mov ecx, edi
mov dword [esp + 0x8c], 0xffffffff
call fcn.005f5670
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x44]
push esi
push edx
mov ecx, edi
call fcn.005f5670
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x54]
push esi
push eax
mov ecx, edi
call fcn.005f5670
cmp dword [esp + 0x1c], esi
jne 0x5f10fc
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jne 0x5f10fc
cmp dword [esp + 0x2c], esi
jne 0x5f10fc
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x34]
cmp eax, edx
jne 0x5f10fc
cmp dword [esp + 0x3c], 0xa
jne 0x5f10fc
mov eax, dword [esp + 0x44]
mov esi, 0x79938c
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x5f1011
test cl, cl
je 0x5f100d
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x5f1011
add eax, 2
add esi, 2
test cl, cl
jne 0x5f0fed
xor eax, eax
jmp 0x5f1016
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5f10fc
mov eax, dword [ebp + 0x470]
test eax, eax
je 0x5f1030
lea eax, [ebp + 0x47c]
jmp 0x5f1032
xor eax, eax
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [ebp + 0x49c]
push edx
mov edx, dword [esp + 0x7c]
push edx
mov edx, dword [ebp + 0x4a4]
push ecx
push edx
push eax
mov eax, dword [esp + 0x94]
push 0
push eax
mov ecx, edi
call fcn.005f5670
lea ecx, [esp + 0x1c]
call fcn.005f2e10
lea ecx, [esp + 0x2c]
call fcn.005f2e10
lea ecx, [esp + 0x3c]
call fcn.005f2e10
test edi, edi
je 0x5f108f
mov ecx, edi
call fcn.005f5640
push edi
call fcn.0044f656
add esp, 4
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x610]
lea edi, [ebp + 0x610]
test eax, eax
jl 0x5f10b5
lea ecx, [ebp + 0x618]
call fcn.005f2e10
mov edx, 0xf
lea eax, [edi - 0x18]
mov ecx, 6
mov esi, eax
dec edx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
jne 0x5f10ba
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov dword [ebp + 0x4a8], ecx
mov dword [ebp + 0x4ac], edx
add ebp, 0x4b0
push ebp
mov ecx, esi
call fcn.005f2d00
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x5f1135
lea ecx, [esp + 0x1c]
call fcn.005f2e10
lea ecx, [esp + 0x2c]
call fcn.005f2e10
lea ecx, [esp + 0x3c]
call fcn.005f2e10
test edi, edi
je 0x5f112b
mov ecx, edi
call fcn.005f5640
push edi
call fcn.0044f656
add esp, 4
mov eax, dword [esp + 0x7c]
mov dword [eax], 5
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10