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

Disassembly:
push 0x1c
mov eax, 0xbd1232
call fcn.00bc12f8
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [0xd08120]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp eax, 0xd08120
je 0xce5b1c
test byte [eax + 0x1c], 4
je 0xce5acf
push edi
push dword [eax + 0x14]
mov edx, 0xb4a394
push dword [eax + 0x10]
push 0x5a
pop ecx
call fcn.00cd773d
mov eax, dword [0xd08120]
cmp eax, 0xd08120
je 0xce5b1c
test byte [eax + 0x1c], 4
je 0xce5af5
push ebx
push dword [eax + 0x14]
mov edx, 0xb4a394
push dword [eax + 0x10]
push 0x5b
pop ecx
call fcn.00cd771a
mov eax, dword [0xd08120]
cmp eax, 0xd08120
je 0xce5b1c
test byte [eax + 0x1c], 4
je 0xce5b1c
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x5c
pop ecx
call fcn.00ce7539
add esi, 0x5c
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov dword [ebp - 0x24], esi
and dword [ebp - 4], 0
lea esi, [ebx + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], edi
lea edi, [edx + 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [edx + 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x20]
mov dword [ebp - 0x18], esi
mov eax, dword [0xd08120]
cmp eax, 0xd08120
je 0xce5b7e
test byte [eax + 0x1c], 4
je 0xce5b7e
push dword [edx + 0x78]
mov edx, 0xb4a394
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x5d
pop ecx
call fcn.00cb9ce2
mov edx, dword [ebp - 0x10]
lea ebx, [edx + 0x74]
mov eax, dword [ebx]
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp eax, dword [ebx]
setne cl
test cl, cl
je 0xce5ba5
lea ecx, [ebp - 0x14]
mov byte [eax + 0x4a], 0
call fcn.00c45749
mov eax, dword [ebp - 0x14]
jmp 0xce5b8b
mov ebx, dword [ebp + 0xc]
mov edi, dword [0xd08120]
test esi, esi
je 0xce5d64
mov esi, dword [ebp - 0x10]
add ebx, 0x24
cmp edi, 0xd08120
je 0xce5be5
test byte [edi + 0x1c], 4
je 0xce5be5
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push ebx
push dword [edi + 0x14]
push dword [edi + 0x10]
push 0x5e
pop ecx
call fcn.00ce7631
mov edi, dword [0xd08120]
push ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x74]
call fcn.00ce72ba
mov eax, dword [ebp - 0x1c]
cmp eax, dword [esi + 0x74]
jne 0xce5c69
cmp edi, 0xd08120
je 0xce5c1c
test byte [edi + 0x1c], 4
je 0xce5c1c
push ebx
push dword [edi + 0x14]
mov edx, 0xb4a394
push dword [edi + 0x10]
push 0x5f
pop ecx
call fcn.00cd771a
push dword [ebx + 0x14]
mov ecx, esi
push dword [ebx + 0x10]
push ebx
call fcn.00ce4ac6
test eax, eax
jns 0xce5c5e
mov edi, dword [0xd08120]
cmp edi, 0xd08120
je 0xce5d57
test byte [edi + 0x1c], 1
je 0xce5d57
push ebx
push dword [edi + 0x14]
mov edx, 0xb4a394
push dword [edi + 0x10]
push 0x60
pop ecx
call fcn.00cd771a
mov edi, dword [0xd08120]
jmp 0xce5d57
mov edx, dword [eax + 0x3c]
test edx, edx
je 0xce5d96
mov ecx, dword [edx + 0x20]
cmp ecx, dword [ebx + 0x10]
jne 0xce5c88
mov ecx, dword [edx + 0x24]
cmp ecx, dword [ebx + 0x14]
je 0xce5d96
cmp edi, 0xd08120
je 0xce5caa
test byte [edi + 0x1c], 4
je 0xce5caa
push ebx
push dword [edi + 0x14]
mov edx, 0xb4a394
push dword [edi + 0x10]
push 0x61
pop ecx
call fcn.00cd771a
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
mov esi, dword [edi]
mov dword [ebp - 0x14], esi
cmp esi, edi
setne al
test al, al
je 0xce5cd8
lea ecx, [esi + 0x10]
mov edx, ebx
call fcn.00b56763
test eax, eax
jne 0xce5cd8
lea ecx, [ebp - 0x14]
call fcn.00c45749
mov esi, dword [ebp - 0x14]
jmp 0xce5cb4
cmp esi, edi
mov edi, dword [0xd08120]
setne al
test al, al
je 0xce5cf2
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00ce6117
jmp 0xce5d13
cmp edi, 0xd08120
je 0xce5d13
test byte [edi + 0x1c], 4
je 0xce5d13
push dword [edi + 0x14]
mov edx, 0xb4a394
push dword [edi + 0x10]
push 0x62
pop ecx
call fcn.00cd7601
push dword [ebx + 0x14]
mov ecx, dword [ebp - 0x10]
push dword [ebx + 0x10]
push ebx
call fcn.00ce4ac6
test eax, eax
jns 0xce5d8e
mov edi, dword [0xd08120]
cmp edi, 0xd08120
je 0xce5d54
test byte [edi + 0x1c], 1
je 0xce5d54
push ebx
push dword [edi + 0x14]
mov edx, 0xb4a394
push dword [edi + 0x10]
push 0x63
pop ecx
call fcn.00cd771a
mov edi, dword [0xd08120]
mov esi, dword [ebp - 0x10]
add ebx, 0x18
sub dword [ebp - 0x18], 1
jne 0xce5bbc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
setne al
test al, al
je 0xce5dd0
cmp byte [esi + 0x4a], 0
je 0xce5d9f
lea ecx, [ebp - 0x18]
call fcn.00c45749
mov esi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x74]
jmp 0xce5d6f
mov esi, dword [ebp - 0x10]
jmp 0xce5c5e
mov byte [eax + 0x4a], 1
jmp 0xce5c5e
cmp edi, 0xd08120
je 0xce5dc0
test byte [edi + 0x1c], 4
je 0xce5dc0
push dword [edi + 0x14]
mov edx, 0xb4a394
push dword [edi + 0x10]
push 0x64
pop ecx
call fcn.00cd7601
push esi
mov ecx, ebx
call fcn.00ce6117
mov edi, dword [0xd08120]
jmp 0xce5d67
push 0
push 0xb28b08
push 1
mov ecx, ebx
call fcn.00ce5f66
mov eax, dword [0xd08120]
cmp eax, 0xd08120
je 0xce5e05
test byte [eax + 0x1c], 4
je 0xce5e05
push dword [eax + 0x14]
mov edx, 0xb4a394
push dword [eax + 0x10]
push 0x65
pop ecx
call fcn.00cd7601
lea eax, [ebx + 0x5c]
test eax, eax
je 0xce5e13
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call fcn.00bc12c6
ret 8