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

Disassembly:
push 0xffffffffffffffff
push 0x4b1010
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca1d0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
add ecx, 0xd4
push ecx
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x20], 1
mov ebx, dword [esp + 0x7c]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x74], 0
call fcn.00414180
mov edi, dword [esp + 0x14]
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx]
test edi, edi
je 0x417e7b
cmp edi, eax
je 0x417e80
call fcn.00494198
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x4180bf
test edi, edi
jne 0x41806e
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x417ea5
call fcn.00494198
mov ebp, dword [esp + 0x78]
mov dword [esi + 0x20], ebp
test edi, edi
jne 0x418075
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x417ec5
call fcn.00494198
xor eax, eax
add dword [esi + 0x28], ebp
lea edx, [esp + 0x7c]
push edx
adc dword [esi + 0x2c], eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x4c]
call fcn.004045e0
mov byte [esp + 0x6c], 1
test edi, edi
jne 0x41807c
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x417f01
call fcn.00494198
lea ebp, [esi + 0x10]
push ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004165c0
test edi, edi
jne 0x418083
call fcn.00494198
cmp esi, dword [edi + 0x18]
jne 0x417f2a
call fcn.00494198
add ebp, 0xc
push ebp
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.00414180
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebx]
test edi, edi
je 0x417f4c
cmp edi, eax
je 0x417f51
call fcn.00494198
cmp esi, ebp
je 0x4180b1
test edi, edi
jne 0x41808a
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x417f72
call fcn.00494198
test edi, edi
jne 0x418091
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x417f8b
call fcn.00494198
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
je 0x4180b1
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x418098
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x417fbc
call fcn.00494198
lea edx, [esi + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.004140f0
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x417fdb
cmp eax, ebx
je 0x417fe0
call fcn.00494198
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 4], ecx
jne 0x4180b1
test edi, edi
jne 0x41809f
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x418006
call fcn.00494198
lea edx, [esi + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
call fcn.004165c0
test edi, edi
jne 0x4180a6
call fcn.00494198
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x418031
call fcn.00494198
mov ecx, dword [esp + 0x78]
add dword [esi + 0x28], ecx
mov eax, 0
adc dword [esi + 0x2c], eax
test edi, edi
jne 0x4180ad
call fcn.00494198
cmp esi, dword [edi + 0x18]
jne 0x418053
call fcn.00494198
mov ecx, dword [esp + 0x7c]
add esi, 0x1c
push esi
lea edx, [esp + 0x30]
push edx
call fcn.00414180
mov ebx, dword [esp + 0x7c]
jmp 0x417f3a
mov eax, dword [edi]
jmp 0x417e9b
mov eax, dword [edi]
jmp 0x417ebb
mov eax, dword [edi]
jmp 0x417ef7
mov edi, dword [edi]
jmp 0x417f20
mov eax, dword [edi]
jmp 0x417f68
mov eax, dword [edi]
jmp 0x417f81
mov eax, dword [edi]
jmp 0x417fb2
mov eax, dword [edi]
jmp 0x417ffc
mov eax, dword [edi]
jmp 0x418027
mov edi, dword [edi]
jmp 0x418049
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0
call fcn.00404aa0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc