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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x588860
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x61c948]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
lea ecx, [edi - 0xc]
test ecx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
je 0x41cd53
lea eax, [edi + 8]
mov dword [esp + 0x14], eax
jmp 0x41cd5f
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov dword [esp + 0x7c], 0
call fcn.0055ec00
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x40], ebx
je 0x41cd8d
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
call eax
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov byte [esp + 0x80], 1
call fcn.0055ee20
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call fcn.0055ec00
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x18], esi
je 0x41cdd6
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
test esi, esi
mov byte [esp + 0x78], 2
je 0x41ce5d
cmp esi, ebx
je 0x41cf04
lea eax, [esp + 0x44]
push esi
push eax
call fcn.0055ee20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x60]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x48], edx
call fcn.00409f40
add esp, 0x10
test eax, eax
jne 0x41cf38
push eax
push esi
call fcn.0055e3b0
mov edi, eax
add esp, 8
cmp esi, edi
je 0x41ce55
test edi, edi
je 0x41ce43
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
test esi, esi
je 0x41ce4f
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, edi
mov dword [esp + 0x18], esi
test esi, esi
jne 0x41cddf
mov edi, dword [esp + 0x24]
test esi, esi
mov byte [esp + 0x78], 1
je 0x41ce6e
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov ecx, dword [edi + 0x20]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x41ce90
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x5ed120
push ecx
call eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x80], 3
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41cec6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, ebx
mov byte [esp + 0x78], 0
je 0x41ced7
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004721e8
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
mov byte [esp + 0x78], 1
je 0x41cf15
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
test ebx, ebx
mov byte [esp + 0x78], 0
je 0x41cf26
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80040231
jmp 0x41cee4
test esi, esi
mov byte [esp + 0x78], 1
je 0x41cf49
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
test ebx, ebx
mov byte [esp + 0x78], 0
je 0x41cf5a
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80040217
jmp 0x41cee4