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

Disassembly:
push esi
mov eax, dword [ecx + 0x14]
mov esi, ecx
lock dec dword [eax]
jne 0x473033
lea ecx, [esi + 0x14]
call fcn.00618480
cmp dword [esi + 8], 0
je 0x47304a
push dword [esi + 0xc]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x268]
cmp eax, 0x80000000
je 0x473121
test eax, eax
je 0x473073
push dword [esi + 0x26c]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x274], 0
je 0x473090
push dword [esi + 0x278]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x280], 0
je 0x4730ad
push dword [esi + 0x284]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x290], 0
je 0x4730ca
push dword [esi + 0x294]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x2a4], 0
je 0x4730e7
push dword [esi + 0x2a8]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x2b0], 0
je 0x473104
push dword [esi + 0x2b4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x2c0], 0
je 0x473121
push dword [esi + 0x2c4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x2d4]
cmp eax, 0x80000000
je 0x473163
test eax, eax
je 0x473146
push dword [esi + 0x2d8]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x2e0], 0
je 0x473163
push dword [esi + 0x2e4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [esi + 0x258], 0x7fffffff
jne 0x473183
cmp dword [esi + 0x248], 2
jne 0x4731a0
cmp dword [esi + 0xc8], 2
jne 0x4731bf
pop esi
ret
push dword [esi + 0x25c]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x248], 2
je 0x473178
lea ecx, [esi + 0xd8]
call 0x61d4f0
lea ecx, [esi + 0x198]
call 0x61d4f0
cmp dword [esi + 0xc8], 2
je 0x473181
add esi, 0x18
mov ecx, esi
pop esi
jmp 0x61d4f0
push ebp
push ebx
push edi
push esi
push eax
cmp dword [ecx + 0x74], 0
mov ebx, ecx
je 0x61d50e
push dword [ebx + 0x78]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x80], 0
je 0x61d52b
push dword [ebx + 0x84]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0x94]
test esi, esi
je 0x61d559
mov edi, dword [ebx + 0x90]
jmp 0x61d546
add edi, 8
dec esi
je 0x61d559
mov eax, dword [edi]
lock dec dword [eax]
jne 0x61d540
mov ecx, dword [edi]
mov edx, dword [edi + 4]
call fcn.004731d0
jmp 0x61d540
cmp dword [ebx + 0x8c], 0
je 0x61d576
push dword [ebx + 0x90]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x61d620
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x61d5f4
mov dword [esp], ebx
mov ebx, dword [ebx]
movdqa xmm0, xmmword [ebx]
lea ebp, [ebx + 0x10]
pmovmskb esi, xmm0
not esi
jmp 0x61d5aa
lea eax, [esi - 1]
and eax, esi
dec edi
mov esi, eax
je 0x61d5ee
test si, si
jne 0x61d5cc
nop
movdqa xmm0, xmmword [ebp]
add ebx, 0xffffff40
add ebp, 0x10
pmovmskb esi, xmm0
cmp esi, 0xffff
je 0x61d5b0
not esi
tzcnt eax, esi
neg eax
lea eax, [eax + eax*2]
mov ecx, dword [ebx + eax*4 - 0xc]
lock dec dword [ecx]
jne 0x61d5a0
lea eax, [ebx + eax*4]
mov ecx, dword [eax - 0xc]
mov edx, dword [eax - 8]
call fcn.004731d0
jmp 0x61d5a0
mov ebx, dword [esp]
mov ecx, dword [ebx + 4]
lea eax, [ecx + 1]
mov edx, 0xc
mul edx
add eax, 0xf
and eax, 0xfffffff0
add ecx, eax
cmp ecx, 0xffffffef
je 0x61d620
mov ecx, dword [ebx]
sub ecx, eax
push dword [ecx - 4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x30], 0
je 0x61d637
push dword [ebx + 0x34]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x3c], 0
je 0x61d64e
push dword [ebx + 0x40]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x4c], 0
je 0x61d665
push dword [ebx + 0x50]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x58], 0
je 0x61d67c
push dword [ebx + 0x5c]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x98], 0
je 0x61d699
push dword [ebx + 0x9c]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0xa4], 0
je 0x61d6b6
push dword [ebx + 0xa8]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x20], 1
jne 0x61d6cf
mov eax, dword [ebx + 0x28]
lock dec dword [eax]
jne 0x61d6cf
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
call fcn.004731d0
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret