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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x15
movzx esi, word [eax + eax + 0x1cf5430]
mov eax, ecx
and eax, 0xffe00000
cmp si, 0xfffe
je 0x1c21312
shl esi, 0x15
mov edx, eax
sub edx, esi
je 0x1c21312
or edx, 0x1000
movzx esi, byte [edx + 0x3e]
and esi, 0x3f
shl esi, 5
lea ebx, [edx + esi]
add ebx, 0x20
mov edi, ebx
and edi, 0xffe00000
shl ebx, 9
and ebx, 0x3fffc000
add ebx, edi
add ebx, 0xffe00000
jne 0x1c213a7
or eax, 0x1000
mov esi, ecx
shr esi, 9
and esi, 0xfe0
lea edx, [eax + esi]
movzx eax, byte [eax + esi + 0x1e]
and eax, 0x3f
shl eax, 5
sub edx, eax
mov esi, edx
mov edi, dword [edx + 8]
and edx, 0xffe00000
shl esi, 9
and esi, 0x3fffc000
add esi, edx
lea eax, [esi - 0x200000]
sub ecx, eax
mov eax, ecx
mul dword [edi + 0x18]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 0x1c]
imul edi, ecx
add edx, edi
shr edx, 0xa
imul edx, eax
lea ebx, [edx + esi]
add ebx, 0xffe00000
test ebx, 0xfff
je 0x1c213b0
xor ecx, ecx
cmp byte [0x1cf8e70], 0
cmove eax, ecx
add eax, ebx
add eax, 0xfffffffc
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
add ecx, 0x7ffffffe
test ecx, 0x7fffffff
je 0x1c213cb
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edx + esi + 0x28]
mov eax, dword [eax + 0xc]
jmp 0x1c2136f
mov eax, ebx
and eax, 0xffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0xff8
add eax, ecx
add eax, 0x2000
jmp 0x1c21388
mov eax, ebx
and eax, 0xffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0x1fe0
or ecx, eax
mov edx, ecx
or edx, 0x1000
or ecx, 0x101e
movzx eax, byte [ecx]
and eax, 0x3f
shl eax, 5
sub edx, eax
mov eax, edx
and eax, 0xffe01000
mov ecx, dword [eax]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
lock sub dword [ecx + 0x1198], eax
lock dec dword [ecx + 0x119c]
mov dword [ebp - 0x10], ecx
cmp byte [ecx + 3], 0
je 0x1c21517
mov eax, dword [0x1cf656c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x90], 0
jne 0x1c21443
mov esi, edx
call fcn.01c98164
mov edx, esi
mov eax, dword [0x1cf656c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0xa0]
cmp edi, 2
jb 0x1c21517
mov esi, dword [edx + 8]
mov eax, dword [ebp - 0x10]
add eax, 0x48
cmp eax, esi
ja 0x1c214ec
mov ecx, dword [ebp - 0x10]
add ecx, 0x1148
cmp ecx, esi
mov ecx, dword [ebp - 0x10]
jb 0x1c214ec
sub esi, eax
sar esi, 5
add dword [edi + 0x30], 1
adc dword [edi + 0x34], 0
cmp esi, 0x20
jae 0x1c214e4
mov eax, dword [edi + esi*8 + 0x78]
bswap eax
mov dword [ebx], eax
mov dword [edi + esi*8 + 0x78], ebx
inc byte [edi + esi*8 + 0x7c]
movzx eax, word [edi + esi*8 + 0x7e]
add dword [edi], eax
add dword [edi + 0x38], 1
adc dword [edi + 0x3c], 0
mov al, byte [edi + esi*8 + 0x7d]
cmp byte [edi + esi*8 + 0x7c], al
ja 0x1c215ab
mov al, byte [edi + 4]
test al, 1
jne 0x1c2159c
movzx eax, word [edi + esi*8 + 0x7e]
sub eax, dword [ecx + 0x10]
add dword [edi + 0x68], 1
adc dword [edi + 0x6c], 0
add dword [edi + 0x70], eax
adc dword [edi + 0x74], 0
jmp 0x1c2139f
add dword [edi + 0x40], 1
adc dword [edi + 0x44], 0
mov ecx, edx
test byte [edx + 0xf], 8
jne 0x1c215c7
mov eax, dword [ecx + 8]
add eax, 0xc
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx + 0x10]
add dword [edi + 0x68], 1
adc dword [edi + 0x6c], 0
add dword [edi + 0x70], eax
adc dword [edi + 0x74], 0
mov edx, ecx
mov esi, edx
mov dword [ebx], 0
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x40]
push edi
call dword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1c21537
mov ecx, edi
call fcn.01c7e190
mov ecx, esi
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
sub dword [edx + 0x117c], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x1c215da
bswap eax
mov dword [ebx], eax
mov edx, esi
mov dword [esi], ebx
mov eax, dword [esi + 0xc]
mov ecx, eax
and ecx, 0xefffffff
mov dword [esi + 0xc], ecx
test eax, 0x3ffe
je 0x1c215dd
lea ecx, [eax + 0x3ffe]
and ecx, 0x3ffe
mov edx, eax
and edx, 0xefffc001
or edx, ecx
mov dword [esi + 0xc], edx
test al, 1
jne 0x1c215cf
test ecx, ecx
je 0x1c215cf
push edi
call dword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
jmp 0x1c2139f
mov ecx, edi
call fcn.01c91b10
mov ecx, dword [ebp - 0x10]
jmp 0x1c214c8
lea edx, [edi + esi*8]
add edx, 0x78
movzx eax, al
shr eax, 1
mov ecx, edi
push eax
push edx
call fcn.01c7afd0
mov ecx, dword [ebp - 0x10]
jmp 0x1c214bd
lea eax, [ecx + 0x20]
jmp 0x1c214fe
mov ecx, esi
push 1
call fcn.01c7b3d0
jmp 0x1c21590
int3
int3