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

Disassembly:
push 0xffffffffffffffff
push 0x8760cc
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x394], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x3ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], eax
mov edx, dword [ecx + 0xbc]
mov eax, dword [esp + 0x3bc]
mov edx, dword [edx + 0x24]
xor edi, edi
lea esi, [ecx + 0xbc]
push edi
push 0x8040
push eax
mov ecx, esi
mov dword [esp + 0x3c0], edi
call edx
test eax, eax
jne 0x5bf67d
mov eax, dword [esp + 0x3bc]
add eax, 0xfffffff0
mov dword [esp + 0x3b4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5bf676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x5c03f9
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
push 0xc
lea eax, [esp + 0x2d8]
push eax
mov ecx, esi
call edx
mov byte [esp + 0x2e0], 0
mov ecx, 0x40a3a8
lea eax, [esp + 0x2d4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5bf6c4
test dl, dl
je 0x5bf6c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5bf6c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x5bf6a4
xor eax, eax
jmp 0x5bf6c9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x5bf648
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push edi
push edi
push 0x202
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
push 0x42
lea eax, [esp + 0x2e8]
push eax
mov ecx, esi
call edx
push 0x42
lea eax, [esp + 0x2e8]
push eax
lea ecx, [esp + 0x80]
call fcn.005d3f80
push edi
push 0x10
lea ecx, [esp + 0x80]
mov byte [esp + 0x3bc], 1
call fcn.005d3e40
cwde
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
lea ebx, [ebx]
cmp eax, 8
jl 0x5bf73a
mov eax, 8
push 0
cmp dword [esp + 0x2c], eax
jge 0x5bf82d
push 3
lea ecx, [esp + 0x80]
call fcn.005d3e40
push 0
push 5
lea ecx, [esp + 0x80]
mov bl, al
call fcn.005d3e40
movzx eax, bl
xor edi, edi
sub eax, edi
je 0x5bf787
sub eax, 4
je 0x5bf780
sub eax, 2
jne 0x5bf78c
mov edi, 0x88
jmp 0x5bf78c
mov edi, 0xa0
jmp 0x5bf78c
mov edi, 0x80
push 0
push 8
lea ecx, [esp + 0x80]
call fcn.005d3e40
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x80]
call fcn.005d3f20
push 0
push 0x20
lea ecx, [esp + 0x80]
call fcn.005d3e40
test edi, edi
je 0x5bf820
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.005c7700
add esp, 8
mov ebp, eax
add edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
add ecx, 0x58
push edi
mov byte [esp + 0x3b8], 2
call fcn.005be940
push ebp
mov ecx, eax
call fcn.004aa540
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x3b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5bf820
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [esp + 0x28]
mov eax, dword [esp + 0x20]
jmp 0x5bf730
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 0
push 0x254
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
push 0xc2
lea eax, [esp + 0x2e8]
push eax
mov ecx, esi
call edx
push 0xc2
lea eax, [esp + 0x2e8]
push eax
lea ecx, [esp + 0x98]
call fcn.005d3f80
push 0
push 0x10
lea ecx, [esp + 0x98]
mov byte [esp + 0x3bc], 3
call fcn.005d3e40
cwde
mov dword [esp + 0x20], eax
mov ebx, 0x20
mov edi, edi
cmp eax, 0x20
jl 0x5bf89a
mov eax, 0x20
lea ecx, [ebx - 0x20]
push 0
cmp ecx, eax
jge 0x5bf9d5
push 0x10
lea ecx, [esp + 0x98]
call fcn.005d3e40
push 2
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x98]
call fcn.005d3f20
push 0
push 0x10
lea ecx, [esp + 0x98]
call fcn.005d3e40
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.005c7700
add esp, 8
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x40]
mov ecx, dword [edi + 0x60]
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [edi + 0x58]
mov byte [esp + 0x3b4], 4
mov ebp, edx
test eax, eax
je 0x5bf925
mov eax, dword [eax + ebp*4]
test eax, eax
je 0x5bf938
cmp dword [eax + 0xc], ebx
jne 0x5bf91c
cmp dword [eax], ebx
je 0x5bf943
mov eax, dword [eax + 8]
test eax, eax
jne 0x5bf913
jmp 0x5bf938
push 1
push ecx
lea ecx, [edi + 0x58]
call fcn.00635dd0
test al, al
je 0x5bfb35
push ebx
push ebp
push ebx
lea ecx, [edi + 0x58]
call fcn.005be760
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov edi, dword [eax + 4]
lea ebp, [eax + 4]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x5bf9a3
cmp dword [edi + 0xc], 0
jl 0x5bf997
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x5bf997
push eax
call fcn.004a9b50
mov dword [esp + 0x28], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5bf98b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x5bf9a3
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.004a8db0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x3b4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5bf9cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
inc ebx
jmp 0x5bf890
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 0
push 0xcc
mov ecx, esi
call eax
mov ebp, dword [esp + 0x40]
mov ecx, ebp
call fcn.005bd600
mov ebx, dword [esi]
shl eax, 0xb
movzx edi, ax
lea eax, [edi + 0xc]
cdq
push 0
push edx
mov edx, dword [ebx + 0x2c]
push eax
mov ecx, esi
call edx
mov ecx, ebp
call fcn.005bd600
mov ebx, dword [esi]
movzx eax, ax
add edi, eax
lea eax, [edi + 2]
cdq
push 0
push edx
mov edx, dword [ebx + 0x2c]
push eax
mov ecx, esi
mov dword [esp + 0x2c], edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 1
lea ecx, [esp + 0x23]
push ecx
mov ecx, esi
call edx
movzx eax, byte [esp + 0x1f]
mov ebx, dword [esi]
mov dword [ebp + 0x88], eax
lea eax, [edi + 0xe6]
cdq
push 0
push edx
push eax
mov eax, dword [ebx + 0x2c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
push 1
lea eax, [esp + 0x1b]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov bl, byte [esp + 0x17]
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
movzx ecx, byte [esp + 0x18]
movzx eax, bl
mov ebx, dword [esi]
shl ax, 8
movsx edi, ax
mov eax, dword [esp + 0x20]
or edi, ecx
add eax, 0xe8
cdq
push 0
push edx
mov edx, dword [ebx + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov bl, byte [esp + 0x18]
push 1
lea ecx, [esp + 0x1b]
push ecx
mov ecx, esi
call edx
movzx ecx, byte [esp + 0x17]
movzx eax, bl
shl ax, 8
cwde
or eax, ecx
mov ecx, dword [ebp + 0x94]
add ebp, 0x8c
mov dword [esp + 0x60], eax
xor eax, eax
xor edx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
div ecx
mov eax, dword [ebp]
mov dword [esp + 0x44], ebp
xor ebp, ebp
mov ebx, edx
test eax, eax
je 0x5bfb21
mov edx, dword [eax + ebx*4]
cmp edx, ebp
je 0x5bfb21
lea ebx, [ebx]
cmp dword [edx + 0x14], ebp
jne 0x5bfb1a
cmp byte [edx], 0
je 0x5bfb3f
mov edx, dword [edx + 0x10]
cmp edx, ebp
jne 0x5bfb10
cmp eax, ebp
jne 0x5bfb43
push 1
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00635dd0
test al, al
jne 0x5bfb43
push 0x8007000e
call fcn.004a8210
mov eax, edx
jmp 0x5bfb4f
mov ecx, dword [esp + 0x44]
push ebp
push ebx
push ebp
call fcn.005bdfc0
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
movzx eax, byte [esp + 0x1f]
mov dword [esp + 0x28], ebp
cmp eax, ebp
jle 0x5bfeb1
dec eax
add edi, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
jmp 0x5bfb79
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
mov ebx, dword [esi]
add eax, edi
cdq
xor ebp, ebp
push ebp
push edx
mov edx, dword [ebx + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov bl, byte [esp + 0x18]
mov al, bl
cmp ecx, dword [esp + 0x70]
jge 0x5bfbd5
lea eax, [edi + ecx + 1]
cdq
push ebp
push edx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
push 1
lea eax, [esp + 0x1b]
push eax
mov ecx, esi
call edx
mov al, byte [esp + 0x17]
dec al
movzx ecx, bl
movzx eax, al
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], eax
cmp ecx, eax
jg 0x5bfe1c
mov eax, ecx
mov ecx, dword [esp + 0x60]
lea eax, [eax + eax*2]
lea ebp, [ecx + eax*8 - 0x18]
mov eax, dword [esp + 0x20]
mov edi, dword [esi]
lea eax, [eax + ebp]
cdq
push 0
push edx
push eax
mov eax, dword [edi + 0x2c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
push 4
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
movzx eax, byte [esp + 0x38]
shr eax, 6
test eax, eax
je 0x5bfc3a
cmp eax, 1
jne 0x5bfe06
mov eax, dword [esp + 0x20]
mov edi, dword [esi]
lea eax, [eax + ebp + 4]
cdq
push 0
push edx
mov edx, dword [edi + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 4
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
movzx edx, byte [esp + 0x3b]
mov eax, edx
mov ecx, edx
shr eax, 4
and ecx, 0xf
cmp eax, 0xb
jle 0x5bfc80
lea eax, [eax + eax*4 - 0x3c]
lea ecx, [ecx + eax*2]
movzx ebx, cx
jmp 0x5bfc96
lea edi, [eax - 4]
cmp edi, 3
ja 0x5bfc94
lea eax, [eax + eax*4 - 0x14]
lea ecx, [ecx + eax*2]
movzx ebx, cx
jmp 0x5bfc96
xor ebx, ebx
shr edx, 6
cmp edx, 1
jne 0x5bfca6
fld qword [0x40cd78]
jmp 0x5bfcb5
cmp edx, 3
jne 0x5bfcb3
fld qword [0x42b668]
jmp 0x5bfcb5
fldz
fstp qword [esp + 0x68]
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x5bff5e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
push 0x409c4c
push ecx
mov byte [esp + 0x3c0], 5
mov dword [esp + 0x70], eax
call fcn.004aa600
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x70]
push edx
push 0x403a48
push eax
call fcn.00803d5e
movzx eax, byte [esp + 0x51]
push eax
lea ecx, [esp + 0x48]
push 0x409c4c
push ecx
mov dword [esp + 0x58], eax
call fcn.004aa600
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x58]
push edx
push 0x403a48
push eax
call fcn.00803d5e
movzx eax, byte [esp + 0x6a]
push eax
lea ecx, [esp + 0x60]
push 0x409c4c
push ecx
mov dword [esp + 0x60], eax
call fcn.004aa600
mov edi, dword [esp + 0x68]
lea edx, [esp + 0x60]
push edx
push 0x403a48
push edi
call fcn.00803d5e
fld qword [esp + 0xb0]
add esp, 0x48
fld st(0)
xor ecx, ecx
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5bfda1
movsx eax, bx
imul eax, eax, 0x3e8
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fdivrp st(1)
call fcn.00802da0
mov ecx, eax
jmp 0x5bfda3
fstp st(0)
mov eax, dword [esp + 0x64]
mov edx, eax
shl edx, 4
sub edx, eax
mov eax, dword [esp + 0x34]
lea eax, [eax + edx*4]
mov edx, eax
shl edx, 4
sub edx, eax
mov eax, dword [esp + 0x24]
lea eax, [eax + edx*4]
imul eax, eax, 0x3e8
push 0
add eax, ecx
cdq
push 0x2710
push edx
push eax
call fcn.00803af0
add dword [esp + 0x50], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x3b4], 3
adc dword [esp + 0x54], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5bfe06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
inc eax
add ebp, 0x18
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x5c]
jle 0x5bfc00
mov ecx, dword [esp + 0x50]
add dword [esp + 0x48], ecx
mov edx, dword [esp + 0x54]
mov cl, byte [esp + 0x28]
adc dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x44]
mov edi, dword [ebx + 8]
inc cl
movzx ebp, cl
xor edx, edx
mov eax, ebp
div edi
mov eax, dword [ebx]
mov byte [esp + 0x3c], cl
mov dword [esp + 0x30], edx
test eax, eax
je 0x5bfe69
mov eax, dword [eax + edx*4]
test eax, eax
je 0x5bfe7b
cmp dword [eax + 0x14], ebp
jne 0x5bfe60
cmp byte [eax], cl
je 0x5bfe8d
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5bfe57
jmp 0x5bfe7b
push 1
push edi
mov ecx, ebx
call fcn.00635dd0
test al, al
je 0x5bfb35
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push ebp
push eax
push ecx
mov ecx, ebx
call fcn.005bdfc0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
movzx ecx, byte [esp + 0x1f]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, ecx
jl 0x5bfb75
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
xor edi, edi
call eax
mov ebp, dword [esp + 0x58]
or ebx, 0xffffffff
mov dword [esp + 0x34], ebx
cmp dword [ebp + 8], edi
jbe 0x5bff1e
lea esp, [esp]
mov esi, dword [ebp]
xor eax, eax
cmp esi, edi
setne al
cmp eax, edi
je 0x5bff5e
mov ecx, dword [esi]
mov dword [ebp], ecx
mov eax, dword [esi + 8]
sub eax, 0x10
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5bff05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
add dword [ebp + 8], ebx
mov dword [ebp + 0x10], esi
jne 0x5bff19
mov ecx, ebp
call fcn.004afe70
cmp dword [ebp + 8], edi
ja 0x5bfed0
mov eax, dword [ebp + 0xc]
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 0x10], edi
cmp eax, edi
je 0x5bff44
mov edi, edi
mov esi, dword [eax]
push eax
call fcn.00803053
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x5bff30
mov dword [ebp + 0xc], edi
mov edx, dword [esp + 0x3bc]
push 0x2e
push edx
call fcn.00806ba1
add esp, 8
cmp eax, edi
jne 0x5bff68
mov eax, ebx
jmp 0x5bff71
push 0x80004005
call fcn.004a8210
sub eax, dword [esp + 0x3bc]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c4]
call fcn.004ac570
mov eax, dword [eax]
mov ebx, dword [esp + 0x3bc]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
mov byte [esp + 0x3b4], 6
cmp esi, ebx
je 0x5c0048
cmp dword [ebx + 0xc], edi
jl 0x5c0037
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x5c0037
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], edi
lea ecx, [esi + 0xc]
jl 0x5bffd6
cmp eax, dword [esi]
jne 0x5bffd6
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x5c0012
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x5bffef
call fcn.004a8580
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0080217f
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5c002b
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x3bc], edi
jmp 0x5c0048
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c4]
call fcn.004a8db0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x3b4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c0070
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x3bc]
xor ebx, ebx
xor esi, esi
cmp word [edi], bx
je 0x5c0100
movzx eax, word [edi]
push eax
push 0x42b64c
call fcn.0080308d
add esp, 8
test eax, eax
je 0x5c00a1
cmp esi, ebx
jne 0x5c00a3
mov esi, edi
jmp 0x5c00a3
xor esi, esi
add edi, 2
cmp word [edi], bx
jne 0x5c0084
cmp esi, ebx
je 0x5c0100
mov edx, dword [esp + 0x3bc]
sub esi, edx
sar esi, 1
jns 0x5c00c6
push 0x80070057
call fcn.004a8210
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x5c00eb
push esi
lea ecx, [esp + 0x3c0]
call fcn.004a8a90
mov edx, dword [esp + 0x3bc]
cmp esi, dword [edx - 8]
jg 0x5c00bc
mov dword [edx - 0xc], esi
mov edx, dword [esp + 0x3bc]
xor ecx, ecx
mov word [edx + esi*2], cx
xor esi, esi
mov dword [esp + 0x24], esi
call fcn.007cff5d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x5bff5e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3bc]
push esi
push ecx
lea edx, [esp + 0x28]
push 0x42b638
push edx
mov byte [esp + 0x3c4], 7
call fcn.004aa600
mov edi, dword [esp + 0x30]
add esp, 0x10
push ebx
lea eax, [esp + 0xac]
push eax
push edi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call fcn.007f05cd
test eax, eax
jne 0x5c01b3
lea eax, [edi - 0x10]
mov byte [esp + 0x3b4], 3
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp esi, ebx
jne 0x5c0385
test edx, edx
jmp 0x5c02d4
mov ecx, dword [esp + 0xc0]
mov eax, ecx
and eax, 0x7ff
xor edx, edx
or eax, edx
jne 0x5c02f3
mov eax, dword [esp + 0xc4]
cmp eax, ebx
ja 0x5c01de
cmp ecx, ebx
jbe 0x5c02ad
mov ebx, dword [ebp + 4]
mov ecx, ebp
call fcn.005dfd30
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], edi
mov byte [esp + 0x3b4], 8
test edi, edi
je 0x5c0271
mov esi, dword [esp + 0x20]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x5c022f
cmp eax, dword [esi - 0x10]
jne 0x5c022f
lea ebp, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x5c0267
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x5bffea
mov eax, dword [esi - 0xc]
mov dword [ebp + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.0080217f
add esp, 0x10
add ebp, 0x10
mov dword [edi + 8], ebp
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x10], ecx
mov dword [edi + 4], ebx
mov dword [edi], 0
mov eax, dword [ebp + 4]
inc dword [ebp + 8]
test eax, eax
je 0x5c028f
mov dword [eax], edi
jmp 0x5c0292
mov dword [ebp], edi
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov esi, dword [esp + 0x24]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, ebx
jne 0x5c02bc
shrd ecx, eax, 0xb
shr eax, 0xb
mov dword [esp + 0x34], ecx
lea eax, [edi - 0x10]
mov byte [esp + 0x3b4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c02e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
mov dword [esp + 0x24], esi
cmp esi, 0x64
jl 0x5c0106
jmp 0x5c0393
cmp dword [ebp + 8], ebx
jbe 0x5c0347
mov esi, dword [ebp]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x5bff5e
mov ecx, dword [esi]
mov dword [ebp], ecx
mov eax, dword [esi + 8]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c032e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
dec dword [ebp + 8]
mov dword [ebp + 0x10], esi
jne 0x5c0342
mov ecx, ebp
call fcn.004afe70
cmp dword [ebp + 8], ebx
ja 0x5c02f8
mov eax, dword [ebp + 0xc]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], ebx
cmp eax, ebx
je 0x5c036b
mov esi, dword [eax]
push eax
call fcn.00803053
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x5c0357
mov dword [ebp + 0xc], ebx
lea eax, [edi - 0x10]
mov byte [esp + 0x3b4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x5c0387
test edx, edx
jg 0x5c0393
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
push ebp
call fcn.005beb80
lea ecx, [esp + 0x90]
mov bl, al
mov byte [esp + 0x3b4], 1
call fcn.00545060
lea ecx, [esp + 0x78]
mov byte [esp + 0x3b4], 0
call fcn.00545060
mov eax, dword [esp + 0x3bc]
add eax, 0xfffffff0
mov dword [esp + 0x3b4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c03f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x3ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x394]
xor ecx, esp
call fcn.0080262b
add esp, 0x3a4
ret 8