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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x698b9c]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebx
cmp dword [ebx + 0x30], esi
je 0x46c009
mov eax, dword [ebx + 0x228]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, esi
je 0x46a5dd
push 0xffffffffffffffff
add eax, 0x150
push eax
call edi
cmp eax, 1
jne 0x46a5d7
mov ecx, dword [ebx + 0x228]
mov eax, dword [ecx + 0x70]
cmp eax, esi
je 0x46a574
cmp dword [eax + 0xc], 1
jg 0x46a55d
dec dword [eax + 0xc]
cmp dword [eax + 0xc], esi
jg 0x46a562
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46a562
mov ecx, eax
dec dword [ecx + 0xc]
mov ecx, dword [ebx + 0x228]
mov dword [ecx + 0x70], esi
mov edx, dword [ebx + 0x228]
mov dword [edx + 0x70], esi
mov eax, dword [ebx + 0x228]
cmp byte [eax + 0x1b3], 0
je 0x46a5a0
mov esi, dword [eax + 0x90]
call fcn.00466100
mov eax, dword [ebx + 0x228]
mov dword [eax + 0x90], 0
xor esi, esi
mov ecx, dword [ebx + 0x228]
mov byte [ecx + 0x1b3], 0
mov eax, dword [ebx + 0x228]
mov edx, 0xfffe
and word [eax + 0x1a4], dx
mov eax, dword [ebx + 0x228]
push eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call edi
mov dword [ebx + 0x228], esi
cmp dword [ebx + 0x574], esi
jne 0x46a5ee
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x574], ecx
mov eax, dword [esp + 0x14]
add eax, 0xd0
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, 0x30000000
jne 0x46a610
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 0xc4]
jmp 0x46a612
xor edi, edi
test dword [ebx + 0x30], 0x200
mov dword [esp + 0x2c], edi
je 0x46a6cb
cmp dword [ebp + 0x10], 0
jne 0x46a6cb
cmp dword [ebx + 0x460], 0
je 0x46a6cb
test byte [ebx + 0xfc], 4
lea esi, [ebx + 0xe8]
jne 0x46c21a
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], esi
call fcn.00464be0
push esi
push 0xa
mov dword [esi + 0x2c], eax
call fcn.00464c10
add esp, 8
test eax, eax
jne 0x46c21a
cmp dword [esi + 0x1c], eax
je 0x46a69c
add edi, 0x2b0
push 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
call edi
jmp 0x46a6a2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp dword [esi + 0x20], 0
je 0x46a6b3
push 1
lea eax, [ebx + 0x460]
push eax
call edi
cmp dword [esi + 0x24], 0
je 0x46c21a
push 1
push 0x150
call edi
jmp 0x46c21a
push 0
push ebx
call fcn.004745e0
mov eax, dword [ebx + 0x30]
add esp, 8
test eax, 0x200
jne 0x46a7a4
mov esi, dword [esp + 0x14]
or eax, 0x200
mov dword [ebx + 0x30], eax
lea eax, [esi + 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0xa0]
test esi, esi
je 0x46a780
cmp dword [esi + 0x40], ebx
jne 0x46a779
cmp byte [esi + 0x61], 0
mov byte [esi + 0x60], 1
mov eax, dword [ebx + 0x300]
mov dword [esi + 0x14], eax
jne 0x46a779
xor eax, eax
mov byte [esi + 0x62], 1
mov dword [esi + 0x24], eax
mov ecx, dword [ebx + 0x4e8]
and ecx, 0x20000
mov dword [esp + 0x20], ecx
je 0x46a775
cmp eax, eax
jne 0x46a775
cmp edi, eax
je 0x46a775
test dword [ebx + 0x30], 0x100
mov eax, dword [ebx + 4]
jne 0x46a775
test dword [eax + 0xd0], 0x70000000
jne 0x46a769
push esi
push 1
mov eax, ebx
call fcn.00477de0
add esp, 8
jmp 0x46a775
add eax, 0x298
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esi + 0x61], 1
mov esi, dword [esi + 0x44]
test esi, esi
jne 0x46a707
mov eax, dword [esp + 0x14]
add eax, 0x298
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x46a7a4
mov dword [eax], 0x2746
mov dword [ebx + 0x28], 0
mov eax, dword [ebx + 0x460]
test eax, eax
jne 0x46c034
test dword [ebx + 0x30], 0x1000
lea ecx, [ebx + 0x30]
mov dword [esp + 0x18], ecx
jne 0x46c020
cmp dword [ebp + 0x10], eax
jne 0x46a80c
push 1
lea eax, [ebx + 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [ebx + 0x57c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x69f318
call esi
mov edx, dword [esp + 0x14]
add edx, 0x268
push edx
call esi
lea eax, [ebx + 0x57c]
push eax
call esi
jmp 0x46a812
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
test eax, 0x30000000
je 0x46a825
xor edi, edi
mov dword [esp + 0x2c], edi
test al, 2
jne 0x46a834
test eax, 0x400000
je 0x46a9c0
test eax, 0x200000
je 0x46a9c0
and eax, 0xffdfffff
or eax, 0x80000
mov dword [ecx], eax
test edi, edi
je 0x46a9c0
lea eax, [edi + 0x98]
push eax
call esi
mov ax, word [edi + 0xa]
mov ecx, 0xfffffbf1
and ax, cx
mov edx, 0x2000
or ax, dx
mov word [edi + 0xa], ax
mov eax, edi
call fcn.00460860
lea eax, [edi + 0x10c]
push eax
call esi
mov eax, edi
call fcn.004608f0
mov eax, dword [esp + 0x1c]
test dword [eax], 0x800000
je 0x46a8ad
mov eax, dword [esp + 0x14]
push 0x1000000
call fcn.0046db50
add esp, 4
jmp 0x46a931
lea eax, [edi + 0x10c]
push eax
call esi
mov ecx, 0x1bc
test word [edi + 0x158], cx
je 0x46a924
and word [edi + 0x158], 0xfff7
movzx eax, word [edi + 0x158]
test al, 4
je 0x46a91b
and eax, 0xfffffffb
mov word [edi + 0x158], ax
lea eax, [edi + 0xec]
push eax
call esi
xor edx, edx
cmp edx, dword [edi + 0xe8]
sbb eax, eax
neg eax
mov dword [esp + 0x10], eax
lea eax, [edi + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x10], 0
je 0x46a91b
mov eax, dword [edi + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [edi + 0x10c]
push ecx
jmp 0x46a92b
lea eax, [edi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x1c]
test dword [edx], 0x800000
je 0x46a950
mov eax, dword [esp + 0x14]
push 0x2000000
call fcn.0046db50
add esp, 4
jmp 0x46a9bb
lea eax, [edi + 0x98]
push eax
call esi
mov eax, 0x1bc
test word [edi + 0xe4], ax
je 0x46a9ae
and word [edi + 0xe4], 0xfff7
movzx eax, word [edi + 0xe4]
test al, 4
je 0x46a9ae
and eax, 0xfffffffb
mov word [edi + 0xe4], ax
lea eax, [edi + 0x78]
push eax
call esi
xor ecx, ecx
cmp ecx, dword [edi + 0x74]
lea eax, [edi + 0x78]
sbb esi, esi
push eax
neg esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x46a9ae
mov edx, dword [edi + 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [edi + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00460d10
cmp dword [ebp + 0x10], 0
jne 0x46a9d5
push 0xffffffffffffffff
lea eax, [ebx + 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp dword [ebx + 0x460], 0
je 0x46aaa4
mov eax, dword [esp + 0x18]
and dword [eax], 0xffffefff
test byte [ebx + 0xfc], 4
lea esi, [ebx + 0xe8]
jne 0x46aa68
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], esi
call fcn.00464be0
push esi
push 0xa
mov dword [esi + 0x2c], eax
call fcn.00464c10
add esp, 8
test eax, eax
jne 0x46aa68
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp dword [esi + 0x1c], eax
je 0x46aa48
mov edx, dword [esp + 0x14]
push 1
add edx, 0x2b0
push edx
call edi
cmp dword [esi + 0x20], 0
je 0x46aa59
push 1
lea eax, [ebx + 0x460]
push eax
call edi
cmp dword [esi + 0x24], 0
je 0x46aa68
push 1
push 0x150
call edi
cmp dword [ebp + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x46aa87
push 0x69f318
call esi
mov eax, dword [esp + 0x14]
add eax, 0x268
push eax
call esi
add ebx, 0x57c
push ebx
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x208], 0
je 0x46aad0
mov eax, dword [ebx + 8]
test eax, eax
je 0x46aac8
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [eax], edx
cmp byte [ebx + 0x4d2], 0
je 0x46aaee
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x46aae6
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov dword [eax], edx
cmp dword [ecx + 0xc4], 0
jne 0x46aafd
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46ab0a
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
cmp dword [ebp + 0x10], 0
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [edx], eax
jne 0x46ab38
mov esi, dword [esp + 0x14]
push 1
lea ecx, [esi + 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
add esi, 0x268
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x46ab45
mov edx, dword [ebx + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
mov edi, dword [esp + 0x18]
mov dword [eax], ecx
movzx edx, word [ebx + 0x578]
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0x3a]
mov esi, dword [edi + 0x2a4]
push edx
push ecx
call fcn.0046a020
push 1
push ebx
call fcn.004745e0
xor edx, edx
add esp, 0x10
mov dword [esp + 0x10], 0
cmp dx, word [edi + 0x44a]
jae 0x46adea
mov dword [esp + 0x28], edx
mov eax, edi
mov ecx, dword [eax + 0x1ec]
add ecx, dword [esp + 0x28]
mov edi, dword [ecx]
mov dword [esp + 0x18], ecx
test edi, edi
je 0x46adc2
add eax, 0x33c
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 0x14]
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x46abd9
mov edx, dword [edi + 0x18]
mov dword [eax + 0x18], edx
jmp 0x46abe3
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x298]
push edi
push ecx
lea esi, [eax + 0x30]
push esi
push eax
call edx
add esp, 0x10
cmp dword [edi], 0
je 0x46acd2
mov eax, dword [edi + 0x28]
cmp dword [esi + 0x324], eax
lea ecx, [esi + 0x324]
jb 0x46ac2b
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x46ac31
mov dword [ecx], 0
mov esi, dword [esp + 0xc]
mov ecx, dword [esi]
test ecx, ecx
je 0x46ac72
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xd0]
test al, 2
jne 0x46ac4f
test eax, 0x400000
je 0x46ac72
mov edx, dword [edi + 0x28]
neg edx
push edx
add ecx, 0x13c
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jge 0x46ac72
mov eax, dword [esi]
mov dword [eax + 0x13c], 0
cmp dword [edi], 0
je 0x46acd2
cmp dword [esp + 0x2c], 0
je 0x46acbd
mov eax, esi
mov ebx, dword [eax + 4]
add eax, 0x30
test dword [eax], 0x100
jne 0x46acbd
lea esi, [ebx + 0x298]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test dword [ebx + 0xd0], 0x70000000
jne 0x46acb6
mov eax, dword [esp + 0xc]
push edi
push 0
call fcn.00477ab0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
je 0x46acd2
call fcn.004653c0
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 0x28], esi
mov eax, dword [edi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x46ad88
or esi, 0xffffffff
push esi
add eax, 0x150
push eax
call ebx
cmp eax, 1
jne 0x46ad81
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x46ad2f
cmp dword [eax + 0xc], 1
jg 0x46ad1c
add dword [eax + 0xc], esi
cmp dword [eax + 0xc], 0
jg 0x46ad21
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46ad21
mov ecx, eax
add dword [ecx + 0xc], esi
mov ecx, dword [edi + 0x10]
xor eax, eax
mov dword [ecx + 0x70], eax
mov edx, dword [edi + 0x10]
mov dword [edx + 0x70], eax
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x1b3], 0
je 0x46ad53
mov esi, dword [eax + 0x90]
call fcn.00466100
mov eax, dword [edi + 0x10]
mov dword [eax + 0x90], 0
mov ecx, dword [edi + 0x10]
mov byte [ecx + 0x1b3], 0
mov eax, dword [edi + 0x10]
mov edx, 0xfffe
and word [eax + 0x1a4], dx
mov eax, dword [edi + 0x10]
push eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call ebx
mov dword [edi + 0x10], 0
cmp byte [edi + 0x40], 0
je 0x46ada4
movzx ecx, word [edi + 0x3e]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.00496920
add esp, 8
mov byte [edi + 0x40], 0
push edi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3a8
call ebx
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x46abb6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, word [eax + 0x47a]
add dword [esp + 0x28], 0x30
add eax, 0x30
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jl 0x46ab95
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x208]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x46ae2d
lea esp, [esp]
mov esi, dword [eax]
test esi, esi
je 0x46ae0e
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
jmp 0x46ae17
mov edx, dword [eax + 4]
mov dword [edi + 0x23c], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push eax
mov dword [ecx], edx
call fcn.005c05f8
add esp, 4
mov eax, esi
test esi, esi
jne 0x46ae00
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [edi + 0x30]
mov edi, dword [eax + 0x210]
test edi, edi
je 0x46afb4
xor esi, esi
mov eax, dword [edi + 0x44]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x46ae59
mov ecx, dword [edi + 0x48]
mov dword [eax + 0x48], ecx
jmp 0x46ae69
mov eax, dword [esp + 0xc]
mov edx, dword [edi + 0x48]
add eax, 0x30
mov dword [eax + 0x214], edx
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x44]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
cmp eax, esi
je 0x46ae80
call fcn.004653c0
mov dword [edi + 0x34], esi
mov eax, dword [edi + 0x30]
cmp eax, esi
je 0x46af90
push 0xffffffffffffffff
add eax, 0x150
push eax
call ebx
cmp eax, 1
jne 0x46af90
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx + 0x70]
cmp eax, esi
je 0x46aed2
cmp dword [eax + 0xc], 1
jg 0x46aec1
dec dword [eax + 0xc]
cmp dword [eax + 0xc], esi
jg 0x46aec6
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46aec6
mov ecx, eax
dec dword [ecx + 0xc]
mov edx, dword [edi + 0x30]
mov dword [edx + 0x70], esi
mov eax, dword [edi + 0x30]
mov dword [eax + 0x70], esi
mov eax, dword [edi + 0x30]
cmp byte [eax + 0x1b3], 0
je 0x46af62
mov eax, dword [eax + 0x90]
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
add eax, 0x34
push eax
call ebx
cmp eax, 1
jne 0x46af59
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x46af37
push 0xffffffffffffffff
lea edx, [ebx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46af37
mov esi, dword [ebx + 4]
test esi, esi
je 0x46af21
call fcn.00466060
push ebx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [esp + 0x10]
push eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
xor esi, esi
mov ecx, dword [edi + 0x30]
mov dword [ecx + 0x90], esi
mov edx, dword [edi + 0x30]
mov byte [edx + 0x1b3], 0
mov eax, dword [edi + 0x30]
mov ecx, 0xfffe
and word [eax + 0x1a4], cx
mov edx, dword [edi + 0x30]
push edx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call ebx
push edi
mov dword [edi + 0x30], esi
mov dword [edi + 0x40], esi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3a4
call ebx
mov edi, dword [esp + 0x20]
cmp edi, esi
jne 0x46ae46
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x1cc]
test esi, esi
je 0x46b046
mov edi, dword [esi + 0x48]
test edi, edi
je 0x46afd5
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x4c], ecx
jmp 0x46afe2
mov edx, dword [esi + 0x4c]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x1d0], edx
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
mov dword [ecx], edx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46affd
call fcn.004653c0
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x60], 0
je 0x46b015
movzx eax, word [esi + 0x5e]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.00496920
add esp, 8
push esi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3a0
call ebx
push 0xffffffffffffffff
push 0x69f3b8
call ebx
mov eax, dword [esp + 0xc]
mov edx, 0xffff
add word [eax + 0x496], dx
mov esi, edi
test edi, edi
jne 0x46afc6
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x1ec]
test esi, esi
je 0x46b2c3
jmp 0x46b060
mov ecx, dword [esi + 0x48]
movzx eax, word [esi + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x21c]
add ecx, 0x30
shl edx, 4
cmp dword [edx + eax + 0x18], 0
lea eax, [edx + eax + 0x18]
jbe 0x46b08b
dec dword [eax]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x46b09a
mov edx, dword [esi + 0x4c]
mov dword [eax + 0x4c], edx
jmp 0x46b0a3
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x1c0], eax
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
mov dword [edx], eax
cmp dword [esi + 0x3c], 0
je 0x46b112
cmp dword [esp + 0x2c], 0
je 0x46b0ff
test dword [ecx], 0x100
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 4]
jne 0x46b0f9
lea edi, [ebx + 0x298]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test dword [ebx + 0xd0], 0x70000000
jne 0x46b0f2
mov eax, dword [esp + 0xc]
push esi
push 0
push 0
push eax
call fcn.00477750
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46b112
call fcn.004653c0
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x60], 0
je 0x46b12a
movzx ecx, word [esi + 0x5e]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.00496920
add esp, 8
mov eax, dword [esi + 0x44]
xor edi, edi
cmp eax, edi
je 0x46b2a5
push 0xffffffffffffffff
add eax, 0x150
push eax
call ebx
cmp eax, 1
jne 0x46b2a2
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + 0x70]
cmp eax, edi
je 0x46b17e
cmp dword [eax + 0xc], 1
jg 0x46b16d
dec dword [eax + 0xc]
cmp dword [eax + 0xc], edi
jg 0x46b172
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46b172
mov ecx, eax
dec dword [ecx + 0xc]
mov eax, dword [esi + 0x44]
mov dword [eax + 0x70], edi
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x70], edi
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x1b3], 0
je 0x46b274
mov edi, dword [eax + 0x90]
push 0xffffffffffffffff
lea edx, [edi + 0x34]
push edx
mov dword [esp + 0x28], edi
call ebx
cmp eax, 1
jne 0x46b265
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
je 0x46b253
push 0xffffffffffffffff
add eax, 0x28
push eax
call ebx
cmp eax, 1
jne 0x46b253
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 4]
test edi, edi
je 0x46b239
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
push ecx
call ebx
cmp eax, 1
jne 0x46b239
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46b214
mov edx, dword [edi + 0x20]
lea edx, [ecx + edx*4]
mov eax, ecx
cmp ecx, edx
ja 0x46b204
cmp dword [eax], 0
jne 0x46b323
add eax, 4
cmp eax, edx
jbe 0x46b1f4
push ecx
call fcn.005c05f8
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi]
test eax, eax
je 0x46b220
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push edi
mov dword [eax], ecx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3ac
call ebx
mov edx, dword [esp + 0x10]
push edx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b0
call ebx
mov edi, dword [esp + 0x20]
push edi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b4
call ebx
mov eax, dword [esi + 0x44]
mov dword [eax + 0x90], 0
xor edi, edi
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x1b3], 0
mov eax, dword [esi + 0x44]
mov edx, 0xfffe
and word [eax + 0x1a4], dx
mov eax, dword [esi + 0x44]
push eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call ebx
mov dword [esi + 0x44], edi
push esi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3a0
call ebx
mov esi, dword [esp + 0x28]
cmp esi, edi
jne 0x46b060
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x1e4]
add eax, 0x30
test esi, esi
je 0x46b56d
jmp 0x46b2e0
cmp dword [esi + 0x50], 0x9c4a
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x28], ecx
je 0x46b314
movzx eax, word [esi + 8]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xc]
add eax, 0x30
mov eax, dword [eax + 0x1ec]
shl edx, 4
cmp dword [edx + eax + 0x18], 0
lea eax, [edx + eax + 0x18]
jbe 0x46b314
dec dword [eax]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x46b33c
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x4c], ecx
jmp 0x46b34c
mov eax, dword [0x69f864]
test eax, eax
je 0x46b20d
push str.hashdestroy:_hash_not_empty._n
call eax
jmp 0x46b20a
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x4c]
add eax, 0x30
mov dword [eax + 0x1b8], edx
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov dword [eax], ecx
cmp dword [esi + 0x3c], 0
je 0x46b3b8
cmp dword [esp + 0x2c], 0
je 0x46b3a5
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 4]
add eax, 0x30
test dword [eax], 0x100
jne 0x46b3a5
lea edi, [ebx + 0x298]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test dword [ebx + 0xd0], 0x70000000
jne 0x46b39e
mov edx, dword [esp + 0xc]
push esi
push 0
push 1
push edx
call fcn.00477750
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46b3b8
call fcn.004653c0
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x60], 0
je 0x46b3d0
movzx eax, word [esi + 0x5e]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.00496920
add esp, 8
mov eax, dword [esi + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x46b54f
or edi, 0xffffffff
push edi
add eax, 0x150
push eax
call ebx
cmp eax, 1
jne 0x46b54f
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x46b42d
cmp dword [eax + 0xc], 1
jg 0x46b41a
add dword [eax + 0xc], edi
cmp dword [eax + 0xc], 0
jg 0x46b41f
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46b41f
mov ecx, eax
add dword [ecx + 0xc], edi
mov edx, dword [esi + 0x44]
xor eax, eax
mov dword [edx + 0x70], eax
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x70], eax
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x1b3], 0
je 0x46b521
mov edi, dword [eax + 0x90]
push 0xffffffffffffffff
lea edx, [edi + 0x34]
push edx
mov dword [esp + 0x28], edi
call ebx
cmp eax, 1
jne 0x46b514
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
je 0x46b502
push 0xffffffffffffffff
add eax, 0x28
push eax
call ebx
cmp eax, 1
jne 0x46b502
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 4]
test edi, edi
je 0x46b4e8
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
push ecx
call ebx
cmp eax, 1
jne 0x46b4e8
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46b4c3
mov edx, dword [edi + 0x20]
lea edx, [ecx + edx*4]
mov eax, ecx
cmp ecx, edx
ja 0x46b4b3
cmp dword [eax], 0
jne 0x46b59b
add eax, 4
cmp eax, edx
jbe 0x46b4a3
push ecx
call fcn.005c05f8
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi]
test eax, eax
je 0x46b4cf
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push edi
mov dword [eax], ecx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3ac
call ebx
mov edx, dword [esp + 0x10]
push edx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b0
call ebx
mov edi, dword [esp + 0x20]
push edi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b4
call ebx
mov eax, dword [esi + 0x44]
mov dword [eax + 0x90], 0
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x1b3], 0
mov eax, dword [esi + 0x44]
mov edx, 0xfffe
and word [eax + 0x1a4], dx
mov eax, dword [esi + 0x44]
push eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call ebx
push esi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3a0
call ebx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x46b2e0
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x1d4]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
add eax, 0x30
test esi, esi
je 0x46b79c
mov edi, dword [esi + 0x48]
mov dword [esp + 0x30], edi
test edi, edi
je 0x46b5b4
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x4c], ecx
jmp 0x46b5c4
mov eax, dword [0x69f864]
test eax, eax
je 0x46b4bc
push str.hashdestroy:_hash_not_empty._n
call eax
jmp 0x46b4b9
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x4c]
add eax, 0x30
mov dword [eax + 0x1a8], edx
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov dword [eax], ecx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46b5df
call fcn.004653c0
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x60], 0
je 0x46b5f7
movzx edx, word [esi + 0x5e]
mov eax, dword [esp + 0xc]
push edx
push eax
call fcn.00496920
add esp, 8
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46b780
push 0xffffffffffffffff
add eax, 0x150
push eax
call ebx
cmp eax, 1
jne 0x46b780
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x46b64c
cmp dword [eax + 0xc], 1
jg 0x46b639
dec dword [eax + 0xc]
cmp dword [eax + 0xc], 0
jg 0x46b63e
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46b63e
mov ecx, eax
dec dword [ecx + 0xc]
mov ecx, dword [esi + 0x44]
xor eax, eax
mov dword [ecx + 0x70], eax
mov edx, dword [esi + 0x44]
mov dword [edx + 0x70], eax
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x1b3], 0
je 0x46b752
mov edi, dword [eax + 0x90]
push 0xffffffffffffffff
lea eax, [edi + 0x34]
push eax
mov dword [esp + 0x28], edi
call ebx
cmp eax, 1
jne 0x46b741
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x46b725
push 0xffffffffffffffff
lea ecx, [ebx + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46b725
mov edi, dword [ebx + 4]
test edi, edi
je 0x46b70b
push 0xffffffffffffffff
lea edx, [edi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46b70b
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46b6e2
mov edx, dword [edi + 0x20]
lea edx, [ecx + edx*4]
mov eax, ecx
cmp ecx, edx
ja 0x46b6d2
cmp dword [eax], 0
jne 0x46b7c4
add eax, 4
cmp eax, edx
jbe 0x46b6c2
push ecx
call fcn.005c05f8
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi]
test eax, eax
je 0x46b6ee
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edi
mov dword [edx], eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, dword [esp + 0x20]
push edi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [esi + 0x44]
mov edi, dword [esp + 0x30]
mov dword [ecx + 0x90], 0
mov edx, dword [esi + 0x44]
mov byte [edx + 0x1b3], 0
mov eax, dword [esi + 0x44]
mov ecx, 0xfffe
and word [eax + 0x1a4], cx
mov edx, dword [esi + 0x44]
push edx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call ebx
push esi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3a0
call ebx
mov esi, edi
test edi, edi
jne 0x46b588
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x1dc]
add eax, 0x30
test esi, esi
je 0x46b9ca
mov edi, dword [esi + 0x48]
mov dword [esp + 0x20], edi
test edi, edi
je 0x46b7dd
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
jmp 0x46b7ed
mov eax, dword [0x69f864]
test eax, eax
je 0x46b6db
push str.hashdestroy:_hash_not_empty._n
call eax
jmp 0x46b6d8
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x4c]
add eax, 0x30
mov dword [eax + 0x1b0], ecx
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov dword [edx], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46b808
call fcn.004653c0
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x60], 0
je 0x46b820
movzx ecx, word [esi + 0x5e]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.00496920
add esp, 8
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46b9ae
push 0xffffffffffffffff
add eax, 0x150
push eax
call ebx
cmp eax, 1
jne 0x46b9ae
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x46b875
cmp dword [eax + 0xc], 1
jg 0x46b862
dec dword [eax + 0xc]
cmp dword [eax + 0xc], 0
jg 0x46b867
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46b867
mov ecx, eax
dec dword [ecx + 0xc]
mov ecx, dword [esi + 0x44]
xor eax, eax
mov dword [ecx + 0x70], eax
mov edx, dword [esi + 0x44]
mov dword [edx + 0x70], eax
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x1b3], 0
je 0x46b980
mov eax, dword [eax + 0x90]
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
add eax, 0x34
push eax
call ebx
cmp eax, 1
jne 0x46b973
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x46b94f
push 0xffffffffffffffff
lea ecx, [ebx + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46b94f
mov edi, dword [ebx + 4]
test edi, edi
je 0x46b939
push 0xffffffffffffffff
lea edx, [edi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46b939
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46b910
mov edx, dword [edi + 0x20]
lea edx, [ecx + edx*4]
mov eax, ecx
cmp ecx, edx
ja 0x46b900
nop
cmp dword [eax], 0
jne 0x46bae2
add eax, 4
cmp eax, edx
jbe 0x46b8f0
push ecx
call fcn.005c05f8
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi]
test eax, eax
je 0x46b91c
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edi
mov dword [edx], eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edx, dword [esi + 0x44]
mov dword [edx + 0x90], 0
mov eax, dword [esi + 0x44]
mov byte [eax + 0x1b3], 0
mov eax, dword [esi + 0x44]
mov ecx, 0xfffe
and word [eax + 0x1a4], cx
mov edx, dword [esi + 0x44]
push edx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call ebx
push esi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3a0
call ebx
mov esi, edi
test edi, edi
jne 0x46b7b1
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x220]
add esi, 0x30
xor edi, edi
mov dword [esp + 0x18], esi
cmp eax, edi
je 0x46b9f0
push eax
call fcn.005c05f8
add esp, 4
mov dword [esi + 0x1f0], edi
mov eax, dword [esi + 0x2dc]
cmp eax, edi
je 0x46ba09
push eax
call fcn.005c05f8
add esp, 4
mov dword [esi + 0x2dc], edi
mov eax, dword [esi + 0x1ec]
cmp eax, edi
je 0x46ba22
push eax
call fcn.005c05f8
add esp, 4
mov dword [esi + 0x1ec], edi
xor eax, eax
xor ecx, ecx
mov word [esi + 0x44a], ax
mov word [esi + 0x44c], cx
cmp dword [esi + 0x1e8], edi
je 0x46bab4
xor edx, edx
xor edi, edi
cmp dx, word [esi + 0x448]
jae 0x46ba93
mov ebx, dword [esp + 0xc]
xor esi, esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1e8]
add ecx, esi
push ecx
push ebx
call fcn.0046a260
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1e8]
lea ecx, [esi + eax + 8]
push ecx
push ebx
call fcn.0046a260
mov edx, dword [esp + 0x28]
movzx eax, word [edx + 0x448]
inc edi
add esp, 0x10
add esi, 0x18
cmp edi, eax
jl 0x46ba53
mov esi, edx
mov ecx, dword [esi + 0x1e8]
push ecx
call fcn.005c05f8
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
add esp, 4
mov dword [esi + 0x1e8], 0
xor edi, edi
xor edx, edx
mov word [esi + 0x448], dx
mov esi, dword [esi + 0x194]
cmp esi, edi
je 0x46bc8c
jmp 0x46bad0
mov edi, dword [esi]
mov dword [esp + 0x20], edi
test edi, edi
je 0x46bafb
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
jmp 0x46bb0b
mov eax, dword [0x69f864]
test eax, eax
je 0x46b909
push str.hashdestroy:_hash_not_empty._n
call eax
jmp 0x46b906
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
add eax, 0x30
mov dword [eax + 0x198], ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0xffffffffffffffff
lea ecx, [esi + 0x150]
push ecx
mov dword [edx], eax
call ebx
cmp eax, 1
jne 0x46bc82
mov eax, dword [esi + 0x70]
test eax, eax
je 0x46bb51
cmp dword [eax + 0xc], 1
jg 0x46bb47
dec dword [eax + 0xc]
cmp dword [eax + 0xc], 0
jg 0x46bb4a
push eax
call fcn.005c05f8
add esp, 4
jmp 0x46bb4a
dec dword [eax + 0xc]
mov dword [esi + 0x70], 0
cmp byte [esi + 0x1b3], 0
je 0x46bc5d
mov eax, dword [esi + 0x90]
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
add eax, 0x34
push eax
call ebx
cmp eax, 1
jne 0x46bc53
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 0x10]
test ebx, ebx
je 0x46bc2f
push 0xffffffffffffffff
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46bc2f
mov edi, dword [ebx + 4]
test edi, edi
je 0x46bc19
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46bc19
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46bbf0
mov edx, dword [edi + 0x20]
lea edx, [ecx + edx*4]
mov eax, ecx
cmp ecx, edx
ja 0x46bbe0
jmp 0x46bbd0
cmp dword [eax], 0
jne 0x46bdd6
add eax, 4
cmp eax, edx
jbe 0x46bbd0
push ecx
call fcn.005c05f8
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi]
test eax, eax
je 0x46bbfc
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push edi
mov dword [eax], ecx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edx, dword [esp + 0x10]
push edx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [esi + 0x90], 0
mov eax, 0xfffe
and word [esi + 0x1a4], ax
push esi
mov byte [esi + 0x1b3], 0
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f39c
call ebx
mov esi, edi
test edi, edi
jne 0x46bad0
mov ebx, dword [esp + 0xc]
mov edi, dword [ebx + 0x1b8]
test edi, edi
je 0x46bdc1
mov esi, dword [edi]
mov dword [esp + 0x20], esi
test esi, esi
je 0x46bcae
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [edx], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
add eax, 0x34
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46bda1
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x46bd7f
push 0xffffffffffffffff
lea edx, [ebx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46bd7f
mov esi, dword [ebx + 4]
test esi, esi
je 0x46bd69
push 0xffffffffffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
jne 0x46bd69
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46bd40
mov edx, dword [esi + 0x20]
lea edx, [ecx + edx*4]
mov eax, ecx
cmp ecx, edx
ja 0x46bd30
cmp dword [eax], 0
jne 0x46bdef
add eax, 4
cmp eax, edx
jbe 0x46bd20
push ecx
call fcn.005c05f8
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi]
test eax, eax
je 0x46bd4c
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
push esi
mov dword [edx], eax
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3ac
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f3b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
push edi
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f398
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, esi
test esi, esi
jne 0x46bc9e
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x46be24
mov esi, dword [eax]
test esi, esi
je 0x46be08
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
jmp 0x46be0e
mov eax, dword [0x69f864]
test eax, eax
je 0x46bbe9
push str.hashdestroy:_hash_not_empty._n
call eax
jmp 0x46bbe6
mov eax, dword [0x69f864]
test eax, eax
je 0x46bd39
push str.hashdestroy:_hash_not_empty._n
call eax
jmp 0x46bd36
mov ecx, dword [eax + 4]
mov dword [ebx + 0x38], ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push eax
mov dword [edx], ecx
call fcn.005c05f8
add esp, 4
mov eax, esi
test esi, esi
jne 0x46bdc8
mov esi, dword [ebx + 0x208]
test esi, esi
je 0x46be69
mov edi, edi
mov edi, dword [esi]
test edi, edi
je 0x46be3e
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
jmp 0x46be47
mov eax, dword [esi + 4]
mov dword [ebx + 0x20c], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46be5a
call fcn.004653c0
push esi
call fcn.005c05f8
add esp, 4
mov esi, edi
test edi, edi
jne 0x46be30
mov eax, dword [ebx + 0x438]
add ebx, 0x30
test eax, eax
je 0x46be7f
push eax
call fcn.005c05f8
add esp, 4
mov eax, dword [ebx + 0x40c]
test eax, eax
je 0x46be92
push eax
call fcn.005c05f8
add esp, 4
mov eax, dword [ebx + 0x400]
test eax, eax
je 0x46bea5
push eax
call fcn.005c05f8
add esp, 4
mov eax, dword [ebx + 0x404]
test eax, eax
je 0x46beb8
push eax
call fcn.005c05f8
add esp, 4
lea esi, [ebx + 0x414]
test esi, esi
je 0x46bf01
mov eax, dword [esi]
test eax, eax
je 0x46bed1
push eax
call fcn.005c05f8
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x46bee1
push eax
call fcn.005c05f8
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46bef1
push eax
call fcn.005c05f8
add esp, 4
mov esi, dword [esi + 0x10]
test esi, esi
je 0x46bf01
push esi
call fcn.005c05f8
add esp, 4
mov esi, dword [ebx + 0x410]
test esi, esi
je 0x46bf50
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, dword [esi]
test edi, edi
je 0x46bf1d
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push eax
mov dword [ecx], edx
call ebx
cmp eax, 1
jne 0x46bf4a
mov eax, dword [esi + 8]
test eax, eax
je 0x46bf41
push eax
call fcn.005c05f8
add esp, 4
push esi
call fcn.005c05f8
add esp, 4
mov esi, edi
test edi, edi
jne 0x46bf11
mov esi, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esi, 0x57c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x46bf8b
push 0x69f318
call edi
mov esi, dword [esp + 0x14]
lea ecx, [esi + 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x46bf8f
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push edx
call fcn.005c05f8
add esp, 4
push 0xffffffffffffffff
push 0x69f394
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test ebx, ebx
jne 0x46c009
mov eax, dword [esp + 0x1c]
test dword [eax], 0x10000000
je 0x46bff1
lea ecx, [esi + 0x268]
push ecx
call edi
push ebx
push ebx
push esi
call fcn.004687b0
add esp, 0xc
push 0xffffffffffffffff
add esi, 0x2b0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
lea edx, [esi + 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
add esi, 0x268
push esi
call edi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x46c034
mov eax, dword [esp + 0x1c]
test dword [eax], 0x30000000
je 0x46c0c1
and dword [ebx + 0x30], 0xffffefff
test byte [ebx + 0xfc], 4
lea esi, [ebx + 0xe8]
jne 0x46c0c1
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], esi
call fcn.00464be0
push esi
push 0xa
mov dword [esi + 0x2c], eax
call fcn.00464c10
add esp, 8
test eax, eax
jne 0x46c0c1
cmp dword [esi + 0x1c], eax
je 0x46c099
mov edx, dword [esp + 0x14]
push 1
add edx, 0x2b0
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp dword [esi + 0x20], 0
je 0x46c0ae
push 1
lea eax, [ebx + 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp dword [esi + 0x24], 0
je 0x46c0c1
push 1
push 0x150
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, 0x30000000
jne 0x46c21a
test edi, edi
je 0x46c21a
test eax, 0x800000
je 0x46c0fe
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
push eax
or eax, 0x2000000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x46c0e5
jmp 0x46c178
lea esi, [edi + 0x98]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x1bc
test word [edi + 0xe4], cx
je 0x46c16d
and word [edi + 0xe4], 0xfff7
movzx eax, word [edi + 0xe4]
test al, 4
je 0x46c164
and eax, 0xfffffffb
mov word [edi + 0xe4], ax
lea eax, [edi + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
cmp edx, dword [edi + 0x74]
lea eax, [edi + 0x78]
sbb esi, esi
push eax
neg esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x46c164
mov eax, dword [edi + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [edi + 0x98]
push ecx
jmp 0x46c16e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x1c]
test dword [esi], 0x800000
je 0x46c19b
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov eax, dword [esi]
push eax
or eax, 0x1000000
push eax
push esi
call edi
test eax, eax
je 0x46c186
jmp 0x46c21a
lea esi, [edi + 0x10c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x1bc
test word [edi + 0x158], dx
je 0x46c213
and word [edi + 0x158], 0xfff7
movzx eax, word [edi + 0x158]
test al, 4
je 0x46c20a
and eax, 0xfffffffb
mov word [edi + 0x158], ax
lea eax, [edi + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp eax, dword [edi + 0xe8]
lea eax, [edi + 0xec]
sbb esi, esi
push eax
neg esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x46c20a
mov ecx, dword [edi + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
add edi, 0x10c
push edi
jmp 0x46c214
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add ebx, 0x57c
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret