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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5897f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6606f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
call fcn.0041fb20
mov byte [ebp - 4], 1
call fcn.0046ef71
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x45e978
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.0046ef71
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x45e9a5
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 8]
lea edx, [ebp + 0xc]
lea ecx, [esi + 0x38]
push edx
mov byte [ebp - 4], 3
call fcn.00402290
push 4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403a30
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00402290
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ea05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x14]
push 0x599228
push ebx
call fcn.0056c479
add esp, 8
test eax, eax
jne 0x45ea21
mov dword [ebp - 0x1c], 1
mov eax, dword [esi + 0x24]
test eax, eax
je 0x45ea38
push eax
call fcn.0046dd9e
add esp, 4
mov dword [esi + 0x24], 0
mov ecx, dword [edi + 0x78]
push ecx
call fcn.0046dda9
add esp, 4
cmp dword [ebp - 0x1c], 0
mov dword [esi + 0x24], eax
jne 0x45f04e
call fcn.0046ef71
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45ea6b
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0x78]
mov edx, dword [esi + 0x24]
push ecx
push 0xff
push edx
mov byte [ebp - 4], 5
call fcn.0056c7b0
mov eax, dword [esi + 0x24]
add esp, 0xc
push 0
push 0
push 0xff
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x1c], esp
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401e60
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
mov edx, dword [edi + 0x78]
add esp, 4
push edx
lea ecx, [ebp - 0xd]
call fcn.00420510
mov dword [esi + 8], eax
test eax, eax
js 0x45ef57
mov ecx, dword [edi + 0x78]
cmp eax, ecx
jg 0x45ef57
cmp eax, dword [edi + 0x20]
jle 0x45ec4e
mov edx, dword [edi + 0x7c]
mov eax, dword [esi + 0x24]
sub ecx, edx
add eax, edx
mov edx, dword [edi + 0x80]
mov dword [ebp - 0x1c], edx
cmp ecx, 4
jb 0x45eb1b
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x45eb52
mov edx, dword [ebp - 0x1c]
sub ecx, 4
add edx, 4
add eax, 4
mov dword [ebp - 0x1c], edx
cmp ecx, 4
jae 0x45eb01
test ecx, ecx
je 0x45ec4e
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x45eb4f
cmp ecx, 1
jbe 0x45ec4b
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x45eb4f
cmp ecx, 2
jbe 0x45ec4b
mov al, byte [eax + 2]
cmp al, byte [edx + 2]
je 0x45ec4b
mov ebx, dword [ebp - 0x14]
push 0xe8
call fcn.0046ee85
test eax, eax
je 0x45eb71
push 0xe8
push eax
lea ecx, [ebp - 0x14]
call fcn.004015f0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x70]
push ecx
lea edx, [ebp - 0x18]
push ebx
push edx
call fcn.00403ab0
mov edi, dword [ebp - 0x18]
push 0
push edi
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x18
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ebc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ebe0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ec00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ec32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x24]
mov eax, dword [edi + 0x20]
lea edx, [eax + ecx - 4]
push edx
add eax, 0xfffffffc
push eax
push ecx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], edx
call fcn.0041fca0
test eax, eax
jns 0x45ed5c
push 0x92
call fcn.0046ee85
test eax, eax
je 0x45ec90
push 0x92
push eax
lea ecx, [ebp - 0x14]
call fcn.004015f0
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ecce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ecee
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ed11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ed43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [0x5eb348], edx
mov eax, dword [esi + 0x24]
add eax, dword [edi + 0x20]
mov ecx, dword [eax - 0x54]
mov edx, ecx
and edx, 0xffff0000
cmp edx, 0xcaca0000
jne 0x45ed8d
cmp cx, 0x32
jae 0x45ed8d
mov ecx, 0x40
jmp 0x45ed8f
xor ecx, ecx
sub eax, ecx
mov ecx, dword [eax - 0x14]
mov dword [0x5eb38c], ecx
mov edx, dword [eax - 0x10]
mov dword [0x5eb390], edx
mov edx, dword [eax - 0xc]
mov dword [0x5eb394], edx
mov eax, dword [eax - 8]
mov dword [0x5eb398], eax
mov eax, dword [edi + 0x20]
mov edx, dword [esi + 0x24]
mov edx, dword [edx + eax - 4]
mov dword [0x5eb39c], edx
mov edx, dword [edi + 0x20]
mov eax, dword [esi + 0x24]
mov dword [eax + edx + 4], ecx
mov ecx, dword [0x5eb390]
mov dword [eax + edx + 8], ecx
lea eax, [eax + edx + 4]
mov edx, dword [0x5eb394]
mov dword [eax + 8], edx
mov ecx, dword [0x5eb398]
mov dword [eax + 0xc], ecx
mov edx, dword [0x5eb39c]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x3c]
mov ecx, dword [esi + 0x24]
add ecx, dword [edi + 0x20]
mov dword [esi + 4], eax
shl eax, 0xa
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x5eb394]
mov ecx, eax
shr ecx, 0x18
shr eax, 0x10
movzx edx, al
shl ecx, 8
add cx, dx
mov word [esi + 0x1c], cx
mov eax, dword [edi + 0x20]
mov ecx, dword [esi + 0x24]
push eax
push ecx
lea ecx, [ebp - 0xd]
call fcn.0041fd30
test eax, eax
jns 0x45ef2b
push 0x93
call fcn.0046ee85
test eax, eax
je 0x45ee5f
push 0x93
push eax
lea ecx, [ebp - 0x14]
call fcn.004015f0
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ee9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45eebd
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45eee0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ef12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45f371
push 0x91
call fcn.0046ee85
test eax, eax
je 0x45ef73
push 0x91
push eax
lea ecx, [ebp - 0x18]
call fcn.004015f0
mov ecx, dword [esi + 8]
mov ebx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push ebx
push edx
call fcn.00403ab0
mov edi, dword [ebp - 0x14]
push 0
push edi
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x18
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45efc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45efe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f005
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f037
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x30]
call fcn.00478cbb
mov ecx, dword [edi + 0x20]
mov edx, dword [esi + 0x24]
mov eax, dword [ebp + 0xc]
add ecx, 0x1c
push ecx
push 0
push edx
push ecx
mov dword [ebp + 8], esp
add eax, 0xfffffff0
mov dword [ebp + 8], esp
push eax
mov byte [ebp - 4], 6
call fcn.00401e60
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
lea ecx, [ebp - 0xd]
call fcn.00420030
test eax, eax
jns 0x45f169
push 0x95
call fcn.0046ee85
test eax, eax
je 0x45f0b4
push 0x95
push eax
lea ecx, [ebp - 0x14]
call fcn.004015f0
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
call fcn.00478deb
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x45f0fb
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f11e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f150
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x20]
mov edx, dword [esi + 0x24]
push 0x5eb348
push ecx
push 0
push edx
lea ecx, [ebp - 0xd]
call fcn.0041fdc0
test eax, eax
jns 0x45f25c
push 0x92
call fcn.0046ee85
test eax, eax
je 0x45f1a7
push 0x92
push eax
lea ecx, [ebp - 0x14]
call fcn.004015f0
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
call fcn.00478deb
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45f1ee
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f211
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f243
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x20]
mov edx, dword [esi + 0x24]
push ecx
push edx
lea ecx, [ebp - 0xd]
call fcn.0041fd30
test eax, eax
jns 0x45f348
push 0x96
call fcn.0046ee85
test eax, eax
je 0x45f293
push 0x96
push eax
lea ecx, [ebp - 0x14]
call fcn.004015f0
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
call fcn.00478deb
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45f2da
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f2fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f32f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffff9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x3c]
mov dword [esi + 4], eax
shl eax, 0xa
mov dword [esi + 8], eax
cmp eax, dword [edi + 0x20]
jg 0x45f3fc
test eax, eax
jle 0x45f3fc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00478deb
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f391
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f3b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f3e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x91
call fcn.0046ee85
test eax, eax
je 0x45f418
push 0x91
push eax
lea ecx, [ebp - 0x18]
call fcn.004015f0
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x18]
push ecx
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00403ab0
mov ecx, dword [ebp - 0x14]
push 0
push ecx
call fcn.0043ed40
mov eax, dword [esi + 0x24]
push eax
call fcn.0046dd9e
add esp, 0x18
lea ecx, [ebp - 0x30]
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
call fcn.00478deb
lea ecx, [ebp - 0x14]
call fcn.00401350
lea ecx, [ebp - 0x18]
call fcn.00401350
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 0
call fcn.0046c150
lea ecx, [ebp + 0xc]
call fcn.00401350
mov eax, 0xfffffff8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8